Book description
HTML5 Game Programming with enchant.js gives first-time programmers of all ages the tools to turn their video game ideas into reality. A step-by-step guide to the free, open-source HTML5 and JavaScript engine enchant.js, it is ideally suited for game fans who have always wanted to make their own game but didn't know how. It begins with the foundations of game programming and goes on to introduce advanced topics like 3D.
We live in an age where smartphones and tablets have made games more ubiquitous than ever. Based around HTML5, enchant.js is ideally suited for aspiring game programmers who have always been intimidated by code. Games written using enchant.js take only a few hours to write, and can be played in a browser, iOS, and Android devices, removing the stress of programming to focus on the fun. Discover the joy of game development with enchant.js.
Provides a comprehensive, easy guide to game programming through enchant.js
Gives aspiring game developers a tool to realize their ideas
Introduces readers to the basics of HTML5 and JavaScript programming
What you'll learn
Master the basics of HTML5 and JavaScript programming
Create a game that can be played on a desktop, iOS, or Android
Upload your game to 9leap.net, where you can share it easily
Program your own 3D games
Grasp the essential concepts of making a compelling and popular game
Who this book is for
HTML5 Game Programming with enchant.js is for aspiring game developers of all ages who have wanted to make their own games but didn't know how. It's for programmers interested in learning the potential of HTML5 through designing games.
Table of contents
- Title Page
- Dedication
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- CHAPTER 1: Beginning enchant.js Development
-
CHAPTER 2: JavaScript Basics
- Summary List
- Declare a Variable
- Assign a Value to a Variable
- Add Variables
- Check the Value of a Variable
- Manipulate a Variable Using Itself
- Manipulate a Variable Using Incrementation
- Compare a Variable
- See How Similar Two Values Can Be
- Manipulate a Comparison
- Implement Logic with the If Statement
- Create an Object
- Work Smarter with the While and For Loop Statements
- Interrupt a Loop with Break
- Skip a Loop Iteration with Continue
- Generate Random Numbers
- Define Scenarios with Switch
- Store Numbered Data in an Array
- Store Non-Numbered Data in an Associative Array
- Save Time with Functions
- See Where Variables Live
- Make Object Blueprints with Prototypes
- Conclusion
- CHAPTER 3: Basic Features of enchant.js
- CHAPTER 4: Advanced Features of enchant.js
- CHAPTER 5: Game Design
- CHAPTER 6: Creating an Arcade Shooter
- CHAPTER 7: Creating a Stand-Alone 3-D Game
- APPENDIX A: Class Appendix
- Index
Product information
- Title: HTML5 Game Programming with enchant.js
- Author(s):
- Release date: May 2013
- Publisher(s): Apress
- ISBN: 9781430247432
You might also like
book
Build an HTML5 Game
A hands-on guide to web game development for programmers interested in building games using HTML5, CSS3, …
book
Core HTML5 2D Game Programming
Game programming offers a wealth of creative and business opportunities, and it’s never been more accessible. …
book
Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL
Get Started Fast with HTML5 Online Game Programming! HTML5 will transform web and mobile gaming. As …
book
HTML5 Games Most Wanted: Build the Best HTML5 Games
HTML5 Games Most Wanted gathers the top HTML5 games developers and reveals the passion they all …