A new version of my Isometric Engine. You control the red cube with the arrow keys, and you can push the blue blocks around.
Completely rewritten code and concept from last, much more efficient and flexible.
Level rotation is in progress.
The depth sorting works, although it only updates it when the cube's position in the array is changed. So using movement the way it is will cause the depth to be out in certain situations. I'm not sure how I could go about fixing this, unless I don't do the nice "walk animation".
Fun facts: Lines of code: 299 Functions: 9 For Loops: 8
Pretty cool. I will need to do one soon too Wanted to check for ways of sorting and grouping those tiles for more effective drawing... It just that maps in my case may be needed pretty large...
Something puzzly