HTML and CSS Reference
In-Depth Information
Figure 10-18. Retro Blaster Touch played from the iOS Home screen icon
That's as far as we are going to go with creating scaled, mobile versions of your applications.
Bothofthesegamesandtheideaspresentedcanbefullyfleshedouttocreatemuchmoreelab-
orate applications. The goal was to demonstrate that HTML5 Canvas applications can easily
be turned into apps that work on both the desktop and mobile Safari browsers in a similar
manner and that it is very easy to turn them into apps that can be played right from the Home
screen of an iOS device, just like an application downloaded from the iTunes store.
NOTE
Sound does not work the same in all current browsers and platforms. For example, sounds in the
Mobile Safari browser need to be triggered on an event, such as a button click. We could have added
an HTML “fire” button to the screen, and this would have allowed us to play a shooting sound when
the player's missiles are fired.
Search WWH ::




Custom Search