You do not have permission to view this post
Also see this tutorial:
construct.net/en/tutorials/umber-units-for-exponential-games-955
you can also use lerp function: Set max speed to lerp(currentSpeed, targetSpeed, dt*4)
Develop games in your browser. Powerful, performant & highly capable.
Ok, multiplying by 1.05 is not a good idea - when the value drops too low, it takes a long time to increase it.
Try this:
Is touching GasPedal Set pathfinding max speed to min(Self.Pathfinding.MaxSpeed+4, 200) Else Set pathfinding max speed to max(Self.Pathfinding.MaxSpeed-4, 0)
min() expression will choose the smallest of two values, so yes, 200 is the highest possible speed.
max() will choose the biggest of two values, in this case it will not allow the speed to drop below zero.
I think the best solution would be temporary pinning the character sprite to the platform (when player is not pressing any keys).
You can change pathfinding max speed like this:
Is touching GasPedal Set pathfinding max speed to min(Self.Pathfinding.MaxSpeed*1.05, 200) Else Set pathfinding max speed to Self.Pathfinding.MaxSpeed*0.95
You can try setting global time scale to 0.5 and object time scale to 2. (System -> Set Time Scale action)
You can put sprites and text onto layout and make a snapshot, and then share this snapshot. See this post:
construct.net/en/forum/construct-2/how-do-i-18/share-screenshot-130409
It's much easier to share in Construct 3, as it has a native Share plugin now.
It's not recommended to move Physics objects with non-physics actions or behaviors. (In your case "Set position")
I would probably attach two objects together with a revolute joint and rotate the bigger object by applying force.
You don't need 8direction, see this demo:
dropbox.com/s/9vw1izsg97svbvo/WallClimbing.capx
Member since 26 May, 2016