If you have a need to convert multiple *.ogg files into *.m4a files, it is not easily possible. I have found a way to quickly convert all ogg files into m4a files. In fact, you can convert any audio file formats to any other format using a DOS bat file. Prerequisite You should have ffmpeg […]
Category Archives: Game Development
In Phaser 3, we can set gravity for an object to make it falling for floating. I am working on a project where I want to set the gravity but when I click on it, the object should stop moving. Here is a working example of a scene. As you would notice, body.stop(), and body.allowGravity […]
If you have a background image and want to stretch it so that entire canvas area is covered, here is a sample code written in Typescript.
You started working on creating a game with Phaser and added couple of scenes. So far your game is working as expected. Now you added one more scene using following code. But somehow you don’t see this scene in your game. You can only see a background. Even though you have copied the code, validated […]