Most of us know that the HTML5 Canvas element has much better support with these incredibly fast Javascript engines from Firefox, Safari, and Chrome.
I have been experimenting with developing games using Javascript and Canvas lately, and I wonder what would be a good approach to creating a start screen for the Javascript Game.
So far, the only idea that I have created will be to create a user interface before the game and Javascript stuff and use event listeners to track the mouse and click buttons. But I'm not sure that this is a reasonable thing.
What can be done in the start screen, etc. in a javascript game? Any help would be helpful, thanks!
UPDATE: Thanks for the prompt reply (s)! Many of you offer to place img before loading the game, etc. So I need to write an asset manager or some kind - check if all the images are loaded, etc.
source share