top of page

Danmaku using Phaser 3: How to shoot lots of bullets

  • cedarcantab
  • Aug 24, 2021
  • 1 min read

Updated: Feb 4, 2022

Since deciding on danmaku as the subject matter to get myself back into the world of programming, I had to start somewhere. The best way of course, is to start by looking at work by someone else and figuring out how it works; I came across the perfect material to get me started, here, titled "Creating a Shoot-em-up Tutorial", by none other than Richard Davey, the creator of Phaser framework!



What was great about it was that it was written in Phaser 2. I set about converting the code to Phaser 3 which forced me to understand the logic and the basics of not only the key bits of the Phaser framework which allows you to move bullets and the player ship around the screen but also basics of Javascript.


I am posting my CodePen, in case anybody is interested. However, as stated above, this is in no way my original work. All credit for the creativity and so on goes to the original author.





 
 
 

Recent Posts

See All
p2 naive broadphase

var Broadphase = require('../collision/Broadphase'); module.exports = NaiveBroadphase; /** * Naive broadphase implementation. Does N^2...

 
 
 
p2 contact material

module.exports = Material; /** * Defines a physics material. To be used with {{#crossLink "ContactMaterial"}}{{/crossLink}}. * @class...

 
 
 

Comments


記事: Blog2_Post

Subscribe Form

Thanks for submitting!

  • Facebook
  • Twitter
  • LinkedIn

©2021 by Cozy Cozy World。Wix.com で作成されました。

bottom of page