Search results for ""Author Graeme Stuart""
APress Introducing JavaScript Game Development
Book SynopsisLearn to build a fully-functional 2D game inspired by the 1979 Atari classic, Asteroids, using just HTML5, CSS and JavaScript. Developing games has never been easier than it is now. New web technology allows even beginner developers to turn their hand to game development. Developed from an undergraduate course module, Introducing JavaScript Game Development teaches each new technology as it is introduced so can be followed by enthusiastic beginners as well as intermediate coders. You will learn how to work with HTML5 and the canvas element, how to understand paths, how to draw to a design and create your spaceship and asteroids. You''ll then move on to animating your game, and finally building. You will work step-by-step through the game design process, starting with only what is necessary to complete each step, and refactoring the code as necessary along the way, reflecting the natural progression that code follows in the real world. Each chapter is designed to take youTable of ContentsSection 1. Drawing1. HTML5 and the Canvas Element2. Understand Paths3. Drawing to a Design4. Drawing a Spaceship5. Drawing an AsteroidSection 2. Animation6. Basic Animation7. Animating Asteroids8. Practicing Objects9. InheritanceSection 3. Building the Game10. Simple Keyboard Interaction11. Controlling the Ship12. Collision Detection13. Death or Glory
£33.99