June 2015
Beginner
354 pages
8h 23m
English
First, we will draw a few paths in the Canvas as the background of the music playback.
index.html file in a text editor and add the following highlighted code that defines the game scene with two Canvases set up:<div id="game">
<div id="menu-scene" class="scene">
<a href="#game"><span>Play</span></a>
</div>
<div id="game-scene" class="scene">
<canvas id="game-canvas" width="320" height="440">
This is an interactive audio game with some music notes moving from top to bottom.
</canvas>
</div>
</div>Read now
Unlock full access