Getting started with HTML5

Sorry, perhaps I’m not being clear.  I understand that’s how the Corona app would read the preference, but how is it set before the app opens?  The app needs to know a username, which would need to be set in the HTML or Javascript before Corona is even started.

Hi,

Where should I post possible bugs/issues at for HTML5?

-dev

This is super exciting! We are also very interested in the potential application of this to the new instant game platform.

The only way to achieve this is JS plugin, attached sample of web app with JS native plugin.

attached sample of JS plugin for Corona

Perfect, thank you vitaly!

@develephant, please post questions and issues in this forum. Perhaps not to this thread :slight_smile:

Rob

Will HTML5 support socket?

PS: my little game:

http://www.sayhong.net/pinball/

socket.* is supported.

Thank you for the detailed explanation!

Hi,

A cookie plugin for HTML5 builds is available here: https://forums.coronalabs.com/topic/72105-corona-html5-cookie-plugin-release/

-dev

Congrats Rob for the great explanation!!! Now I get it… kkk

Just tested a couple of the more heavy games I did and the html5 builds worked very well.

The graphics, animation etc. looked much smoother than I expected it would.

Great! I am impressed. Well done Corona Labs.

Very, very cool. Also very impressed.

In the spirit of constructive criticism: are there any plans to reduce loading size (and consequently loading time)? I’m seeing a 2MB data file plus 7MB javaScript file, just for displaying a rectangle on screen.

Also, if the 7MB file is always the same, could this be cached somehow?

browsers caches web app files automatically

We are looking at it, but I don’t know that we can make it smaller without cutting features.

Rob

Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. not load script .html.mem and .data please :’( 

Amasing, made a Quick test with Spine animations and particles … rund Liksystem.DocumentsDirectorye a dream Look for your selfhttp://www.creasaur.com/lonelyknight/Cant wait to test out my multiplayer game! What does it do with data you store in system.DocumentsDirectory?

system.DocumentsDirectory is kept using IDBFS in browser’s permanent memory. It will be alive until browser cache is not cleaned

Also my game works very very fine!!!  :)  :)  :slight_smile:

https://www.kongregate.com/games/pentawire/lab-escape

Good works !!!  :smiley: