Extension for Code Completion in Phaser.js

Smruti Ranjan Badatya
2 min readNov 25, 2023

--

Recently, I have been onto phaser.js while I was working on one of my projects. I had to make a 2D board game using phaser.js. For those of you who don’t know what phaser is, let me throw some light on it.

Phaser is a 2D game framework used for making HTML5 games for desktop and mobile. It is free software developed by Photon Storm. Phaser uses both a Canvas and WebGL renderer internally and can automatically swap between them based on browser support.

One thing that annoyed me a lot while working with Phaser was the lack of a code completion extension in VS Code which is intuitive for the shortcuts. As I will be working on this project for quite some time. I decided to make one myself. So here it is - Phaser Snips

The main idea behind this project is to have a collection of snippets which saves time when we have to write the same thing hundreds of times. The people who ever stumbled upon phaser or have used it, know how tedious it can be to do repetitive things.

Although the number of code snippets is very low as of now, I believe I will be adding a lot more along the way while I work with Phaser.

If you want to add some missing snippets. You can email me at — smrutiranjanbadatya2@gmail.com

Thanks for your time.
Cheers 🍺

--

--

Smruti Ranjan Badatya
Smruti Ranjan Badatya

No responses yet