Custom movement and solid object

Get help using Construct 2

Post » Wed Jun 12, 2013 10:30 pm

Pls how to stop custom movement object with solid object? Solid does not work if another object has got custom movement...
B
25
S
4
G
2
Posts: 318
Reputation: 2,481

Post » Thu Jun 13, 2013 2:21 am

With custom movement, you have to code it to consider something solid.

To do that, you need to set the stepping mode to what you want:
On PLAYER [STEP/HORIZONTAL STEP/VERTICAL STEP]Step is for Linear, Horiz/Vert Step is for the other 2
> Is overlapping OBJECT OR FAMILY
>>PLAYER Stop Stepping (Go Back a Step/Stay at current position)



I use custom movement because I have to have things pass over things other things consider solid, but still react with some of the solid objects as well.

Because of that, I was messing with it and found a few bugs that have been fixed and makes things work great. I recommend you to play around with it to, as the other movement plugins use the same basic functions that this provides.Thndr2013-06-13 02:23:16
B
21
S
8
G
6
Posts: 346
Reputation: 4,891


Return to How do I....?

Who is online

Users browsing this forum: mercuryus, Moordhuis, RetroSpock, TRMG and 11 guests