Hi everyone!
Now that the HTML5 kickstarter is funded, €50+ backers will soon receive access to alpha/wip version of the HTML5 version of Gideros. This thread has two purposes:
1°) Allow people to show off what they did with Gideros/HTML5
2°) Discuss issues with the current version so that it become perfect in the end!
I'll start with two nice additions from
@SinisterSoft:
Space invaders:
http://apps.giderosmobile.com/invaders/GUI WIP:
http://apps.giderosmobile.com/gui/The web is starting to look very nice!
Comments
Likes: hgy29, SinisterSoft, Ninjadoodle
Likes: MikeHart
https://deluxepixel.com
Awesome, really exited about this
PS. I'm having trouble running the game in Safari on Mac desktop and iPhone.
The games seem to go to the game screen (shows the invaders), but seem to freeze / not respond after that. This is the error I get from the console ...
invaders:113[post-exception status] Exception thrown, see JavaScript console
gideros.js:1:176578TypeError: null is not an object (evaluating 'entry.buffer.duration')
Also, the game seems to load sideways on desktop - even tho its a portrait game (not sure if this is intended).
Likes: SinisterSoft
1) the crash: That is because I didn't know that audio on Safari has to be 22khz or above. I know Nico is on the case. If he can't make a solution then I'll make another version with the samples fixed.
For now, reload in chrome or something.
2) properties.bin isn't being loaded, yet... so it doesn't know it's a sideways game. I can either add a line of code to change the orientation or you can make the actual window narrower.
For now, make the window so the width is less than the height then you will see it makes it vertical. Then reload the page (as there is a slight bug with resizing at present).
https://deluxepixel.com
is there a list of known bugs/missing features to compare before bothering you?
Both apps run fine in player and other devices.
Is it possible to read some debug information from the GApp in browser?
[edit: Ok I found that firebug on firefox is able to display some output with script console, it just slows down everything a lot. Do you know any faster alternative?]
Thank you
https://deluxepixel.com
XMLHttpRequest cannot load file:///C:/test/html5/gideros.html.mem.
Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.Browser.xhrLoad @ gideros.js:1
gideros.js:24 Uncaught could not load memory initializer gideros.html.mem
hope this helps thank you
http://stackoverflow.com/a/18587027
I think it is possible with IE too, changing settings in Internet Options.
But all in all suggested way is to use a webserver (even if it is simply for serving files)
Also if something fishy is happening, like froze on some screen, etc. This usually means there was an error (usually lua error, and sometimes it makes some parts still work, while others don't)
In this case check console output (I think every browser has it now, some where in developer options), you should be able to see an error there
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I just tried with your suggestion, and it seems that Arturs' chrome trick works! however, just to be sure I tried the app loading files on an online server: same errors came out from both "versions".
The apps start, but I still have them hanging at a certain point with these errors in chrome console:
Do I have to enable some specific service on my server?
Thank you
If you uploaded to online service, you can provide link here, or if you don't want to disclose it publicly, you can pm to @hgy29 to get more info
thank you
on safari the game invaders just show a screen and it seems frozen.
on Mac works fine.
For invaders/safri: look at SinisterSoft comment above.
I think that trying to get html5 games working on mobiles phones is extremely important.
Many sponsors will expect this, if you are selling licenses + more and more people are replacing their desktops to surf the web on Tablets. Of course the performance won't be up to par (yet), and there will be some bugs / inconsistencies - mainly because of the browser fragmentation, but games should work across the board nonetheless.
I've developed a couple of html5 games recently and made sure that things were working on as many devices as possible. The frame work I've used was Panda Engine, but there are others such as the extremely popular Phaser and Construct 2.
I've tested them all, and html5 games made using these tools run at a pretty decent fps, even on an obsolete iPhone 4s. As new devices come in over the next couple of years, the speed on mobiles will get even better.
I'm very happy to help bug-test, as I'm sure are all the people here, in order to make this thing work the best it can
Likes: keszegh, MikeHart
Simple games, eg the Invaders and Save the Martians examples I submitted seem to work fine on my HTC M8 though.
If you have them on your own website (not a licencee's site) then you should run the game in a iframe or something and on the outside have links to the play, apple and microsoft stores.
Maybe someone could make a html template for this so it's easier for those who don't know html that well?
Don't forget too that mobile phones are getting 2x faster every 6 months...
https://deluxepixel.com
The other issue we could have is the lack of support for some required API in browsers, and this is also true for desktop.
For example, we need WebGL support, but not all browsers actually support it: http://caniuse.com/#feat=webgl
The aim was to support major browsers: FF, Chrome, Safari and Edge. Even IE11 miss some features Gideros need!
I shall compile a list of supported browsers/version at some time. And of course any help is much appreciated making it work on the broadest range of device/browser possible.
Likes: Ninjadoodle
Thank you for the reply!
I was pretty sure that's what you meant, but just wanted to mention how expected it is these days, to have to things working across the board.
Sometimes sponsors can be unrealistic, and don't realise that some of the bugs / issues are out of our control.
Also, you're right about the speed, as of this will be much less of an issue in a few years, when the support gets even better, and new devices are released.
Im super exited about Gideros and Html5 and happy to help in any way I can!
Than you for the awesome work!
I got this error in chrome console:
http://giderosmobile.com/forum/discussion/5463/render-special-characters-e-e-i-o-u-from-jsondatasaver-solved/p1
Thank you
Likes: hgy29, pie
Thank you for the great job.
here is my notes from my first trial,
I could see at least the start screen of my application,
https://www.dropbox.com/s/iyfaa18ett180wm/Screenshot 2015-10-30 00.42.12.png?dl=0
I got an error when trying to load url
XMLHttpRequest cannot load [url] Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Google tells me: To be able to load urls from a client code ,I need to modify the server side code with HTTP CORS access control,
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
I have found one issue, I had to disable the input and alert dialogs:
InputDialog and AlertDialog cause exception,
exception thrown: TypeError: Cannot read property 'apply' of undefined,TypeError: Cannot read property 'apply' of undefined
at Array._gui_createTextInputDialog (http://192.168.2.213:8080/gideros.js:1:179993)
at Object.ftCall_iiiiiiiii [as dynCall_iiiiiiiii] (http://192.168.2.213:8080/gideros.js:1:717852)
at invoke_iiiiiiiii (http://192.168.2.213:8080/gideros.js:1:717101)
at Array.Cja (http://192.168.2.213:8080/gideros.js:6:452437)
at ftCall_ii (http://192.168.2.213:8080/gideros.js:1:678601)
at ACa (http://192.168.2.213:8080/gideros.js:10:492034)
at eBa (http://192.168.2.213:8080/gideros.js:10:436491)
at dBa (http://192.168.2.213:8080/gideros.js:10:435639)
at Array.Ava (http://192.168.2.213:8080/gideros.js:10:211882)
at ftCall_ii (http://192.168.2.213:8080/gideros.js:1:678601)
the relevant code at gideros.js
...{return Module["_gui_createTextInputDialog"].apply(null,arguments)}...
https://itunes.apple.com/en/developer/unal-zubari/id953453674
and I think dialogs are not yet implemented
Likes: uzubari
Likes: Dafb
https://deluxepixel.com
Likes: uzubari, SinisterSoft
Likes: uzubari, SinisterSoft