07-03-2014, 09:19 AM
(07-03-2014, 06:49 AM)Midi Wrote: You actually change the height to y+z? Why not just make your draw coordinates (x, y+z) so the y value can remain the same?
because the y coordinate is inherently used by the library to draw the sprites
and no, the draw function take no arguments, it just draws the sprite you want at the coordinates set by its own this.x and this.y variables
this library (haxeflixel) is a little bit restrictive on things like this but it has so much done right though