update:
finally got the pathfinding the way I like it . I studied some sample codes but most of them had a bloated syntax style I didn´t like so it was kind of hard for me converting it to my style.Anyway:
http://www.renderhjs.net/bbs/flashki...eenshot_02.jpg
just click on the map to move tank1 (no animation yet :p)
- red border cells = z-height +1 (no movement)
- blue border cells = -1 = water (no movement)
http://www.renderhjs.net/bbs/flashki...eenshot_03.jpg
if you hit the "d"- key (1st set focus on flash if you use IE or Opera) it will switch to the debug mode. Holding within the debug mode the mouse will draw on the tiles. Hold down the "space" key to show the tile palette- clicking on 1 of them will let you draw further on with that tile. Release space to continue drawing.
demo:
http://www.renderhjs.net/bbs/flashkit/tank_move/demo5/
I couldn´t reproduce that error- if it happens again mind you sending me a screenshot?, thx anyway. I got some depth issues however sometimes- now I think they are gone.Quote:
Originally Posted by ImprisonedPride
@Xploder: thx :D
