Grid Movement with TileMap

Get help using Construct 2

Post » Thu Feb 27, 2014 5:30 am

Hello all. I am playing around with grid movement using Tilemap as solids. Currently, I spawn a sprite to see if it overlaps a direction I want to go, then move to that tile if it is not overlapping my tilemap (actually, move to tile is not working... so I just move 32 pixels in that direction... Help on this would be appreciated too.). However, it moves on top of the tilemap anyways... Any way you can tell me what I am doing wrong? It randomly picks a direction. Just watch it for a few and it will wander onto a wall and get stuck.

https://app.box.com/s/35bn07kzibimi2q93quf
B
193
S
6
G
7
Posts: 213
Reputation: 10,203

Post » Thu Feb 27, 2014 7:01 am

THere is a good post somewhere with great example - wait let me see if I can find it....

Edit:
Advanced Wars Grid Movement Look on page 2 for great tilemap example with tile co-ordinates.

Damn, new forum mest with my bookmark system and can't find the one I was thinking of. But it's a father and son who making a game and they gave a little capx on movement and tilemap. Search grid / tilemap and go through all the results - its got to be in there somewhere

Still can't find it - here is an opens source project I was following but got shelved... it was implementing AI Cohack
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests