image

From the ToyBrain Studio blog: "Today I decided to make the publication dedicated to the development of HTML5 and Flash games. Today I’d like to show an example JSFL script that I wrote to parse levels of Flash IDE in JS array to use it in the game engine Phaser. To begin, consider the file “level.fla”.

Quite simply, we can see two layers: “back” – for the background, on the “levels” are placed objects to parse note that the layer to parse must be the top."

Read the Tutorial