Code Introduction

UPDATE IN PROGRESS: This new code guidebook will be a revision of the tutorials and references in the previous project guidebook. Updates to this new code guidebook will be occurring during summer 2019.

This Video Game Code Guidebook is a supplement to the Video Game Project Guidebook.

What's in this Guidebook?

This guidebook contains a series of video game code tutorials to help you get familiar with programming games using the Phaser CE game framework.

In addition, this guidebook contains coding references to explain how to use Phaser CE code to create a game world and add various features to the gameplay.

Finally, this guidebook also contains links to external resources, such as the Phaser CE API code reference, Phaser CE code examples, and online tools for creating game assets, such as animated sprites and sound effects.

HOW TO COPY CODE: In this guidebook, you can click the copy icon displayed in the upper right of a code block to copy all the code to the clipboard for pasting.

// example code block
var game = new Phaser.Game(800, 600, Phaser.AUTO, 'my-game',
{ preload: preload, create: create, update: update });

Copyright and License

Copyright © 2016-2019 Michael Frontz and Jim Lyst, Indiana University School of Informatics and Computing at IUPUI

This material is part of the Computing by Design high school computer science curriculum developed for the Informatics Diversity-Enhanced Workforce (iDEW) program, an award-winning community partnership in central Indiana that is broadening student participation in computing and helping students develop the skills essential for success in the 21st century workplace. The iDEW program is managed by the Indiana University School of Informatics and Computing at IUPUI.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. You are free to use, share, or adapt this material for noncommercial purposes as long as you provide proper attribution and distribute any copies or adaptations under this same license.

Creative Commons License