top of page
Search
cedarcantab

Danmaku using Phaser 3: How to shoot lots of bullets

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.





12 views0 comments

Recent Posts

See All

p2 naive broadphase

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

sopiro motor constranit

import { Matrix2, Vector2 } from "./math.js"; import { RigidBody } from "./rigidbody.js"; import { Settings } from "./settings.js";...

Comments


記事: Blog2_Post
bottom of page