How do I make a sprite stick to solid objects (i.e. a wall)?

Get help using Construct 2

Post » Wed Apr 30, 2014 10:03 pm

Message: SNN135 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Specifically, I'm wondering how I could go about making a sprite stick to solid objects and circle around them (or follow them if it's a wall). As an example, something like https://www.youtube.com/watch?v=glrd3HCKwP4 the fire enemies at 2:22 is what I'd like to code in.

Any advice on what the best behaviors/whatever to use would be fantastic - thank you in advance!
Ruby Winds: a top-down adventure game inspired by the Oracle series of Zelda games.
Twitter - Devlog/Site
B
14
S
6
G
13
Posts: 54
Reputation: 7,503

Post » Thu May 01, 2014 2:41 am

considering that the shape of the objects is not always square, i would just set a bunch of triggers to change the direction of the object that's is moving.

of course, you can set the triggers invisible so they don't show up in game.
You do not have the required permissions to view the files attached to this post.
B
43
S
12
G
6
Posts: 446
Reputation: 6,802


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, dand, tinhofiel and 30 guests