Any example code or techniques to get the effect of zordering sprites, like in beatemups?
How would I code this to draw characters according to their positions?
My first idea was to use the y axis. I would store the y position in a field of a type and if the yposition was > or < the targets then do the relevent drawing.
Problem is it doesn't work or I'm doing something stupid. I'm definately leaning towards me doing something stupid.
Any help would be appreciated.
:)
How would I code this to draw characters according to their positions?
My first idea was to use the y axis. I would store the y position in a field of a type and if the yposition was > or < the targets then do the relevent drawing.
Problem is it doesn't work or I'm doing something stupid. I'm definately leaning towards me doing something stupid.
Any help would be appreciated.
:)