After drawing few sprites for the roguelike game, I’m back drawing stuff to the shooter. This is what the new slime will look like:
This time, instead of drawing everything on the computer only (as I did with many older sprites), now I tried drawing by hand before and then passing it to pixels. It work out much better than my previous method, though I had one problem: animations. I wanted to be able to see an animation withouth creating a .gif or creating a state on flixel only for displaying it. Thinking back, it’s kinda stupid the solution I found… but, hey, I really liked the result so I don’t see any problems. xD
My solution was to create a flash application that would run a flixel instance, but still allowing you to add charset on run-time. After searching a little I found out that it could be done, and it was also simple! First I hastly made a prototype running on flixel, but now I’ve turned it into a application that uses flixel to display the animation.
Since I’m no good with UI, I used the MinimalComps for every component used. I even instantiate flixel on run-time over a MinimalComps Window. This was usefull for allowing the user to modify the dimensions the zoom of the Window. Also, I liked how it ended looking. It’s much better looking than anything I’ve done so far.
Click on “Continue reading” to try it.