1
Pixel Art / Re: Critique my sprites for XBLIG : Player walk cycle
« on: May 06, 2011, 06:47:22 am »
This isnt really a critique on your sprite work, but I think you should probably render the sword last (so it appears ontop of the other sprites) it going under things looks wonky.
If you really wanted to get fancy with it, you could also sort the render order of sprites by the y axis (sprite_array.sort(heightsort); function heightsort(sprite1:whatever class you use, sprite2:ditto):number{if(sprite1.y < sprite2.y){return 1}else if(sprite1.y > sprite2.y){return -1} else {return 0}} or something...)
If you really wanted to get fancy with it, you could also sort the render order of sprites by the y axis (sprite_array.sort(heightsort); function heightsort(sprite1:whatever class you use, sprite2:ditto):number{if(sprite1.y < sprite2.y){return 1}else if(sprite1.y > sprite2.y){return -1} else {return 0}} or something...)