Shooting bullets in Phaser 3 using Arcade Physics Groups

I created a simple video tutorial on how to create a space ship that shoots lasers (using Arcade Physics Groups), and I’d love to have your feedback on it:

https://www.codecaptain.io/blog/game-development/shooting-bullets-phaser-3-using-arcade-physics-groups/696

You’ll learn about:

  • How to set up a Phaser 3 Arcade Physics Group
  • Create an Arcade physics group for pooling objects
  • Use the mouse to make the space ship move
  • Detect when lasers are out of bound and reset them
  • Object Pooling using Phaser Groups for improving performance
  • Phaser mouse and keyboard input events

How is the format? Would you prefer written tutorials, videos or both?

2 Likes

Did you see this example?
Pool Example
Speaking from a beginners point of view, it seems simpler.

I’m curious to know what makes you think that the example seems simpler? :slight_smile:
Is it because of the way I worked with classes in my example?

Bullets Group is the similar example, as it uses Arcade Physics.

@samme, that is correct! A couple of years ago I made an example for Phaser 2:
https://www.codecaptain.io/blog/game-development/shooting-bullets-using-phaser-groups/518

And last week I decided to (finally) upgrade it to Phaser 3, and write a tutorial / screencast on it :slight_smile:

I read your tutorial and watched it too.

I liked both of them.

Thanks for sharing.