I Run AGK2 on Steam. I Have made an HTML5 app by Creating a new App ie. File->New Project
// Project: aaa
// Created: 2017-07-14
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "aaa" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1024, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
do
Print( ScreenFPS() )
Sync()
loop
When I export the app the HTML5 o get the following Error on Firefox OR any browser when I upload it to my local testing server or hosting server:
uncaught exception: abort() at jsStackTrace@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:1:22759 stackTrace@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:1:22942 abort@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:3:10797 _abort@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:1:266621 YFa@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:6:290768 xQa@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:16:133113 mRa@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:16:141532 Pl@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:4:204302 Bya@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:11:207318 sca@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:14:172617 nda@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:14:202302 bca@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:14:148626 In@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:10:65751 Qn@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:10:68884 eo@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:10:72342 $C@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:8:384608 li@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:13:240977 pi@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:13:404788 fi@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:13:70141 URa@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:16:147905 invoke_ii@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:1:298699 Mh@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:13:26632 fh@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:13:1840 DSa@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.asm.js:16:151236 dynCall@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:1:11254 Browser_mainLoop_runner/<@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:1:105844 runIter@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:1:107382 Browser_mainLoop_runner@file:///E:/Desktop/AppGameKit%20Files/Font%20Example/HTML5/AGKPlayer.js:1:105740 If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
--
Rudolph Thomas