Can anyone please help me out with a small test game I'm creating. I'm basically creating this game to learn a few things about HTML5 and so far it's all been good. I've been able to create a canvas with a air balloon that can fly and drops to the bottom when it's not. Now I want the air balloon to be able to stop on another image, which I've called "level1". If someone could perhaps have a look at it, view the source and suggest how I would do this, I would appreciate it.
Or perhaps using images isn't the most efficient way to create a level. If it isn't then please say. Thanks again. :)
<img />). Then use<body onload="startgame()">. Thestartgamefunction would then start the game as soon as the page is fully loaded. \$\endgroup\$