In this tutorial, we will create animated particles in phaser. The phaser official site has examples for most of the things that we can do. However it lacks an example on animated particles. So we are going to explore it. It is as simple as creating a custom class for the particle with animation. Continue reading
Godot engine is a 2d and 3d open source cross platform game engine. The beauty of it is not only can export to most of the platforms but also the editor can run on Windows, Mac and Linux. As of now, Godot engine is 2.0 beta and you can download it from the official website godotengine.org. Continue reading
In this tutorial, we are going to explore various features of the phaser library by creating an html5 game like concentration. One of the advantages of using the phaser library is its cross-platform compatibility. And it is very easy to prototype a game. You can learn so much things by going into the phaser website.
There are so many tutorials on internet about phaser or this games. But here, we are going to explore various aspects like loading texturepacker spritesheet, using phaser custom signals, phaser tweens etc. It is not what you create, but how you create the game.
Designing UI for games takes some effort. And doing the same on mobile devices is very difficult. The variety of screen resolutions and dpis make the job not easy. Luckily, the guys that made Unity came up with a solution and that is Unity UI components. It is available from Unity 4.6 version.
Once you design a user interface using Unity UI, you will praise them. If you have already done some things in it, then you know it. Once we design the interface correctly, it will scale and align to all of the screens and resolutions perfectly. You also won’t have the problem of font scaling too. Continue reading
When you build a wordpress blog, the first thing you’ll want to have is a theme. Then you realize that you want to change something on the theme. You can directly edit on the theme files to quickly modify the blog’s appearance to fit to your tastes but there is a recommended way – i.e., creating child themes. This way, even if you update your main theme, you can be sure that your modifications are there to stay. Continue reading
Earlier, I posted a tutorial on scaling the game and assets for multiple devices. But it does not work very well in latest phaser version 2.4.2(as if the time of writing). So I thought it will be good to post an updated version for the latest phaser.
The idea is simple, Create a group and add all of your game objects into that group. After that, scale and position the group correctly to display the game fully inside the browser/device. The scaling and positioning is done such a way that there will be no black bars around the game and it will be in the correct aspect ratio. Continue reading
While I was creating an openclipart plugin for the Godot Engine, I have created an HTTP class for downloading the data and images. Godot has built-in support for HTTP get/post data. An example on how to use the HTTPClient is already available on godot github wiki page.
The plugin loads multiple images simultaneously so I was in need of creating a class for that. Also there are multiple things are loaded, there is a chance of blocking the UI. Here comes multi-threading to the rescue. Godot wiki also has an example for background resource loading in another thread.