| Both sides previous revisionPrevious revisionNext revision | Previous revision | 
| proton:html5_setup [2018/07/28 14:19]  –  seth | proton:html5_setup [2024/01/13 04:55] (current)  – Fixed web links seth | 
|---|
| ====Compiling the examples for HTML5 with Enscripten from Windows ==== | ====Compiling the examples for HTML5 with Enscripten from Windows ==== | 
|  |  | 
| ====About and situation==== |  | 
|  |  | 
| So Flash is dead and HTML5 is the way forward.  Fine.  There are a few gotchas but overall we've finally reached a place where most stuff renders and sounds ok across the popular browsers with only a few hiccups. | So Flash is dead and HTML5 is the way forward.  Fine.  There are a few gotchas but overall we've finally reached a place where most stuff renders and sounds ok across the popular browsers with only a few hiccups. | 
|  |  | 
| == See it in action == | == See it in action == | 
|  |  | 
| * [[http://www.rtsoft.com/RTConsole.html|See RTConsole as HTML5 with SET USE_HTML5_CUSTOM_MAIN=0]] | * [[https://www.rtsoft.com/web/rtconsole/RTConsole.html|See RTConsole as HTML5 with SET USE_HTML5_CUSTOM_MAIN=0]] | 
| * [[http://www.rtsoft.com/RTBareBones.html|See RTBareBones as HTML5 with custom template CustomMainFullTemplate.htm]] | * [[https://www.rtsoft.com/web/rtbarebones/RTBareBones.html|See RTBareBones as HTML5 with custom template CustomMainFullTemplate.htm]] | 
| * [[http://www.rtsoft.com/RTSimpleApp.html|See RTSimpleApp as HTML5 with custom template CustomMain3-2AspectRatioTemplate.html]] | * [[https://www.rtsoft.com/web/rtsimpleapp/RTSimpleApp.html|See RTSimpleApp as HTML5 with custom template CustomMain3-2AspectRatioTemplate.html]] | 
|  |  | 
| By changing a few values in **<Project name>/html5/build_release.bat** you can set a custom template to use instead of the default Emscripten one.  The custom templates have nice loading bars, let the app respond to changing screen sizes and other bonuses. | By changing a few values in **<Project name>/html5/build_release.bat** you can set a custom template to use instead of the default Emscripten one.  The custom templates have nice loading bars, let the app respond to changing screen sizes and other bonuses. | 
| RTBareBones using a custom Proton template but with the Chrome console open looks like this: | RTBareBones using a custom Proton template but with the Chrome console open looks like this: | 
| {{:proton:rtbarbones_chrome.jpg?400|}} | {{:proton:rtbarbones_chrome.jpg?400|}} | 
|  |  | 
|  |  | 
|  |  | 
| ====Installing Emscripten==== | ====Installing Emscripten==== |