Html5 export Game Maker Studio 2 Basics
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=95CiTScrY_E
This basics video tutorials shows you what the issues are with Html5 exports. • Browsers are a different beast. They were and are used to display text in a html text form. To support this you have CSS to for modern styles to apply. This only allows the browers to display our current websites. To have some injections, apply changes etc. you need additional tools like javascript/php etc. to make dynamic changes to these websites . • This is what GameMaker is doing when exporting your game to the Html5 standard. It outsources the instruction code in a javascript file and the resouces like sound and images are being put in that folder also to hotlink these back into the game being displayed in the browser. To even display correctly things on the screen WebGl is being injected (through javascript) to artifically use the graphics card. This comes with some drawbacks. • GameMaker Studio therefore applies a local (web) host on your browser if you want to test your htlm5 game/application. Manually opening the index.html is not working like shown in the video. XSS will block a lot to prevent harm being done to your system (even if you know this is not the case). • Tldr: Don't simply open the exported index.html file • use a webserver applications like xampp, wamp or check it out in a itch.io project • Sources: • https://help.yoyogames.com/hc/en-us/a... • https://help.yoyogames.com/hc/en-us/a... • https://help.yoyogames.com/hc/en-us/a... • WebGl: • https://en.wikipedia.org/wiki/WebGL • ▶ Gamemaker Studio: https://www.yoyogames.com/get • ♥ My free game Clunky souls: • https://1up-indie2.itch.io/clunky-souls • ♥ My assets: • Get some assets at itch.io https://1up-indie2.itch.io/ • • ♥ Support me and get fresh game art and game maker projects every month: • / 1upindie • • Follow me on: • Instangram: / 1upindie • Twitter: / 1upindie • Discord: / discord • • 0:00 What the deal is with html for GameMaker • 1:00 Subscribe • 1:16 How to test your game for Html in GameMaker Studio 2 • 2:40 How it looks under the hood, html explained • 3:55 Creating executables for html, the pitfall • 5:16 Yoyo blog that shows the issue in detail • 6:55 Testing your app in itch.io • 7:45 WebGl, what is it that • 8:42 Game shown: Mighty Goose
#############################
