Custom movement Acceleration by set speed?

Just started using Construct 2? Post your questions here

Post » Wed Aug 26, 2015 2:37 am

can someone explain to me why I can't seem to use
custom movement set speed to accelerate?

the logic behind it would to use a code like
Set Player Speed to PlayerCustomMovementSpeed-40

I'm trying to do it this way so I can do something like
Set Player Speed to clamp(PlayerCustomMovementSpeed,-200,0)-40
and set my max speed through my movement instead of My overall speed

however it seems to just barely move the player upwards with no acceleration whatsoever

is this a bug? if so I can report it. if not how can I fix it?
B
13
S
6
G
1
Posts: 149
Reputation: 1,960

Post » Wed Aug 26, 2015 4:59 pm

Speed is a magnitude, so negative values probably won't work. You can see this with other behaviors such as the bullet behavior, as well.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,116

Post » Wed Aug 26, 2015 6:32 pm

hmm is there a way to do something like this with set speed to achieve a max acceleration?
preferably with the movement and not the overall max speed
B
13
S
6
G
1
Posts: 149
Reputation: 1,960

Post » Thu Sep 10, 2015 5:03 am

bump I still need to know this
B
13
S
6
G
1
Posts: 149
Reputation: 1,960


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest