Miu3 wrote:This is a small example where I used a solid object with solid and platform behavior to make an imitation of a box being pulled by pressing Z button or pushed by the player.
I find this method good for setting different speed movement so you can basicaly more specify how fast the player shall move the object and can even push it down a cliff!
Note: The platform behavior in boxs settings got the default controls turned off
File: http://dl.dropbox.com/u/5214903/GM/push ... 20box.capx
Suro wrote:This is REALLY helpful.
However, with this method I encountered a problem:
If you have a push/pull animation that has multiple frames, it will be stuck on the first frame. From my point of view this is, because the function that calls the animation is executed the whole time, which causes the animation to start over again, always. This is also the case in your demo. Just add a few colored frames to the pull/push animation and you can see what I mean.
Is there a clever way around this?
JoshyRobot wrote:Awesome, but is there a way to implement the physics behavior? I'm brand new to Construct 2, so I just tried adding the physics and moving it around.
Users browsing this forum: No registered users and 0 guests