Grid movement

Get help using Construct 2

Post » Tue Dec 11, 2012 4:06 am

First I want to say that yes, I did look at the FAQ and Searched for an answer, however the only answers couldn't help with my problem.

I have this little set up here where the character can move around the grid. However I need the character to be prevented from moving if an obstacle is in the way. As you can see in the capx I tried using arrays and am using them horribly wrong. Could someone please help me fix this?
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Wed Dec 12, 2012 2:20 pm

Bump.
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Wed Dec 12, 2012 3:14 pm

you checked this - http://www.scirra.com/forum/topic45416.html ?

There's several examples of grid movement and I'm sure there's one where objects are essentially in the way :).
B
11
S
2
Posts: 43
Reputation: 1,411

Post » Wed Dec 12, 2012 3:35 pm

@Toby12

Tried this - http://www.scirra.com/forum/tile-movement_topic45308_page1.html

And this - http://www.scirra.com/forum/rpg-problem_topic48528_post305024.html#305024

Neither could really help me with the obstacles that I could tell.
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Wed Dec 12, 2012 6:17 pm

B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Wed Dec 12, 2012 10:55 pm

Thanks, that one helped me!
B
40
S
12
G
7
Posts: 603
Reputation: 7,656


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 16 guests