Crawling under spaces

Get help using Construct 2

Post » Thu Feb 05, 2015 10:28 am

In MMF i recently put together a platform engine with a crawl feature. You'd hold down on ↓ key and it would change the character animation, as well as the playerobject size (seperate animation frame that corresponded to the height of the character animation). Then, if you released the ↓ key whilst udner a crawl space, there would be a detector pinned to the top of the playerobject that would go up to the height of the sanding player and if it overlapped the ceiling of the crawlspace, the character animation and the playerobject would remain crouched. You could the crawl under spaces without holding the down key.

I'd like to do this in C2, but I want to hopefully accomplish it without using fussy detectors. What would be the best way of accomplishing this particular function in C2? If detectors are a must, does C2 do things beter than MMF could do in this regard?
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,248

Post » Thu Feb 05, 2015 11:13 am

@Zebbi
Have you try Overlapping offset condition yet?
btw, what is MMF.
B
11
S
1
Posts: 84
Reputation: 1,462

Post » Thu Feb 05, 2015 1:04 pm

Sorry, the new Fusion 2.5. No I haven't tried that yet, I'm still getting to grips with the power of Construct, which is why I want to figure the best way of starting things with C2's way of working. Could overlapping offsets be used to get this crawling function done in very few event lines? I'd like to keep things as simple as possible.
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,248

Post » Thu Feb 05, 2015 4:46 pm

yeah i had the same problem i link it here; you can see it uses collision polygons and animation changes, quite easy really
Edit" oooh kay apparently it won't let me post links so i'll post the file he gave me I'm sure he won't mind--I hope :?
You do not have the required permissions to view the files attached to this post.
B
5
S
1
Posts: 60
Reputation: 495

Post » Thu Feb 05, 2015 5:52 pm

Thanks for the example, I'll take a look! I managed to do it with collision boxes really quickly and easily, thanks to all for the help!
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,248


Return to How do I....?

Who is online

Users browsing this forum: ismael123 and 6 guests