[solved] Releasing the crouching button

For questions about using Classic.

Post » Tue Aug 16, 2011 6:07 pm

Hi everyone, I started to create a simple platformer inspired by the platform engine and the platform school, and run into a "logical" problem.

Basically, when I press down, I crouch, go under a platform, but when I release the down button being still under the platform, my character is ejected out, either on the side or the top of the platform.

You may find the cap here to illustrate (or may not, it's my first time with dropbox, let me know ^^)
http://dl.dropbox.com/u/38398861/simplecrouching.cap

I tried to create a "sensor" on top of my character to feel a platform on top and prevent the animation Default to run, without success... it still raise up and go through.sved2011-08-17 03:10:46
...but this is mostly psychological. Check my devlog
B
15
S
4
G
3
Posts: 258
Reputation: 2,850

Post » Tue Aug 16, 2011 7:00 pm

@sved
Dropbox: you need to select the public link - right mouse on file.

zen
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Wed Aug 17, 2011 1:59 am

Got it, thanks!

(I'll read the manual then...)
...but this is mostly psychological. Check my devlog
B
15
S
4
G
3
Posts: 258
Reputation: 2,850

Post » Wed Aug 17, 2011 2:56 am

There's very usefull event: "overlapping at offset", it works just like 'sensor' you've tried create
http://dl.dropbox.com/u/24325446/simplecrouching.cap
B
2
S
2
G
2
Posts: 158
Reputation: 1,366

Post » Wed Aug 17, 2011 3:09 am

It works like wonder, and is such a small thing to add!

Thank you so much!
...but this is mostly psychological. Check my devlog
B
15
S
4
G
3
Posts: 258
Reputation: 2,850


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests