Code Perfectionist
. . . code till it hurts
Menu
  • Articles
  • Games
  • Dev notes

Phaser.js tutorial: Building a polished space shooter game (Part 1)

December 29, 2014
Articles
Phaserfire game screenshot

This is a tutorial following from a presentation I gave on building a HTML5 game using the phaser.js game framework. We will be building a classic vertical scrolling space shooter game, and will focus on polish and production value. In this part we set up the player’s ship and movement.

Read Article →

Phaser.js tutorial: Building a polished space shooter game (Part 2)

December 29, 2014
Articles
phaser.js tutorial screenshot

In this part we will build on what we started in part 1, adding some special effects to the player’s ship, and the ability to shoot. We’ll tweak the firing logic to get the right look and feel. While we’re at it, we add the ability to control the ship by the mouse as well as the arrow keys.

Read Article →

Phaser.js tutorial: Building a polished space shooter game (Part 3)

December 29, 2014
Articles
phaser.js game demo

In part 3 of the phaser.js game tutorial we add enemies to shoot at! We look at adding “personalities” to our enemies by defining their movement style, and we’ll wire up the necessary collision detections.

Read Article →

Phaser.js tutorial: Building a polished space shooter game (Part 4)

December 29, 2014
Articles
phaser demo

At this point, the basic mechanics of the game have been figured out, and the attention shifts to adjusting the timing and mechanics as the player progresses in the game to keep it fun and challenging. That is what pacing is all about.

Read Article →

Phaser.js tutorial: Building a polished space shooter game (Part 5)

December 29, 2014
Articles
tutorial boss level

In this final part, we add a lot of code to create a powerful boss with its own movement behaviour, weapons and firing mechanism, and a simple yet effective AI to make it respond to the player’s movements.

Read Article →

Copyright © 2021

Powered by WordPress and Oxygen

  • Articles
  • Games
  • Dev notes
✖i

Click here to cancel reply.