HTML 5 Shoot 'em Up in an Afternoon

HTML 5 Shoot 'em Up in an Afternoon

Bryan Bibat
Buy on Leanpub

Table of Contents

HTML 5 Shoot 'em Up in an Afternoon

  • Preface
    • License
  • Introduction
    • Who is this book for?
  • Morning: Preparing for the Afternoon
    • Introduce them to Shoot ‘em Ups
    • Technical Requirements: JavaScript and Math
    • Development Environment Setup
    • Other Suggested Prior Reading
    • Video Walkthrough
  • Afternoon 0: Overview of the Starting Code
  • Afternoon 1: Sprites, the Game Loop, and Basic Physics
    • Sprite Basics
    • The Game Loop
    • Apply Physics
  • Afternoon 2: Player Actions
    • Keyboard Movement
    • Mouse/Touch Movement
    • Firing Bullets
  • Afternoon 3: Object Groups
    • Convert Bullets to Sprite Group
    • Enemy Sprite Group
    • Player Death
    • Convert Explosions to Sprite Group
  • Intermission: Refactoring
    • Refactoring Functions
    • Reducing Hard-coded Values
  • Afternoon 4: Health, Score, and Win/Lose Conditions
    • Enemy Health
    • Player Score
    • Player Lives
    • Win/Lose Conditions, Go back to Menu
  • Afternoon 5: Expanding the Game
    • Harder Enemy
    • Power-up
    • Boss Battle
    • Sound Effects
  • Afternoon 6: Wrapping Up
    • Restore original game flow
    • Sharing your game
  • Evening: What Next?
    • Challenges
    • What we didn’t cover
  • Appendix A: Environment Setup Tutorials
    • Basic Setup
    • Advanced Setup
    • Cloud IDE Setup
  • Appendix B: Expected Code Per Chapter
HTML 5 Shoot 'em Up in an Afternoon/overview

HTML 5 Shoot 'em Up in an Afternoon

course_overview

Learn (or teach) the basics of Game Programming with this free Phaser tutorial

count_chapters
begin_reading
download
p_implied_book_part_name

HTML 5 Shoot 'em Up in an Afternoon14 chapters

Begin ›
  1. Preface

  2. Introduction

  3. Morning: Preparing for the Afternoon

  4. Afternoon 0: Overview of the Starting Code

  5. Afternoon 1: Sprites, the Game Loop, and Basic Physics

  6. Afternoon 2: Player Actions

  7. Afternoon 3: Object Groups

  8. Intermission: Refactoring

  9. Afternoon 4: Health, Score, and Win/Lose Conditions

  10. Afternoon 5: Expanding the Game

  11. Afternoon 6: Wrapping Up

  12. Evening: What Next?

  13. Appendix A: Environment Setup Tutorials

  14. Appendix B: Expected Code Per Chapter