I haven’t found anything that can convert GLSL code to fragment source used by Phaser so I’ve created my own tool.
Projects may vary on size. Here is gradation of Phaser projects and best practices to work with different type of games.
In this lesson we’re going to learn how to create states, extend them and also how to control them
In third lesson we gonna do some nice stuff with famous Amiga ball 🙂
Basically states are objects that consists one or more methods. Initially state has some methods and properties predefined. You can learn about them in this article.
States in other words are chunks of game program – think of them as chapters. States are not something you see, they are only containers with variables and renderable objects. For example preloader or main menu can have a state. Also levels of your game are states, even game over screen can be a state. […]