Skip to main content
GameDev.net gamedev.net
🔒 Locked

2d Isometric slopes fix

Started by sultanofswing.90 Jan 22, 2012 at 5:49 PM 2 replies 3k views
Original Post
sultanofswing.90
sultanofswing.90
Hi guys, i'm developing a full 2d iso engine with xna (here's a demo
), but now i need an algorithm to raise/fix automatically every tile around a previously moved up/down tile. i.e if i move up a tile at height 0, the 8 tiles around must be modified...etc... What i can do? In my video i modified every single tile...

here's a video showing what i need(from 00:26)


bye =)
sultanofswing.90
sultanofswing.90
implement it as a standard height map? Does this mean that i can store all the height in a (for example) integer matrix as big as the map? Ok but every time i have to check the tiles "transition" when i move up/down one...and in certain cases i've to modify a lot of tiles...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.