Skip to Main Content
Advanced Game Design with HTML5 and JavaScript
book

Advanced Game Design with HTML5 and JavaScript

by Rex van der Spuy
May 2015
Intermediate to advanced content levelIntermediate to advanced
552 pages
14h 38m
English
Apress
Content preview from Advanced Game Design with HTML5 and JavaScript
© Rex van der Spuy 2015
Rex van der SpuyAdvanced Game Design with HTML5 and JavaScript10.1007/978-1-4302-5801-8_11

11. Make Your Own Game Engine

Rex van der Spuy
(1)
Ontario, Canada
 
So far in this book you've learned how to make a collection of flexible, low-level tools and use them to help build games. But one thing you'll notice after you've made a few games with those tools is that you end up writing a lot of repetitive code. This includes all the code to load your assets, import modules, run the game loop, create sprites, loop through sprites to check for collisions, move sprites, and countless other little uninspiring, tedious, but necessary tasks. All this is the game engine code, and it can end up being up to half of all the code you write. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Responsive Web Design with HTML5 and CSS - Fourth Edition

Responsive Web Design with HTML5 and CSS - Fourth Edition

Ben Frain

Publisher Resources

ISBN: 9781430258018Supplemental Content