Edit product


Create procedural endless runner in Phaser with TypeScript

 Book will guide you through complete process of creating procedural endless runner from setting up project to finishing polished game.

 Game is named "Goblin Run" and you can see and play final result at http://sbc.littlecolor.com/goblinrun. It is using popular HTML5 engine Phaser and code is written in TypeScript. TypeScript is superset of JavaScript and if you are JavaScript programmer you should have no problems to follow.

 In first part of the book you will create very flexible procedural generator you can later use in other games. You will learn how to play skeletal animations using free Spriter Player for Phaser library. Later, you will enhance generator as well as gameplay with new features like spikes, bonus jumps and gold. When it comes to polishing, you will add particles and shadow under main character. You will learn how to save and load preferences and how to play sounds and music. One chapter is focused on scaling to handle different screen sizes. Finally, you will complete game with menu screen and preloader bar.

 Book is accompanied with complete resource files as well as with folders with source project for every chapter.

Table of contents:

1. Introduction
2. Setting up the project
3. Adding states
4. Calculating jump tables
5. Generating platforms
6. Adding player
7. Enhancing generator
8. Adding tile graphics
9. Animating player
10. Background layers
11. Spikes
12. Bonus jump
13. Gold
14. Particles
15. Shadow
16. Record
17. Sounds and music
18. Scaling and orientation
19. Menu screen
20. Loading screen
21. Conclusion

1 rating

  • Size51.1 MB


Create procedural endless runner in Phaser with TypeScript

Enter your info to complete your purchase


···· ···· ···· 4242
Test card



Use a different card?


pp paypal

or pay with

We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

or pay with

You'll be charged US$5.

Your purchase was successful!

We charged your card and sent you a receipt


    Good news! Since you already have a Gumroad account, it's also been added to your library.

    Powered by Gumroad