I'm a Construct noob, trying desperately to piece together my first game ever, a fairly simple platformer. I keep running into issues and problems every step of the way, and was trying not to post too many simple problems on this forum for fear of looking like an idiot. Well, that time has passed -- I'm totally stuck, and if I don't get some outside assistance I'm afraid my project is going to die entirely. I've gone through the forum archives, I've followed every tutorial, and still can't seem to get anything to work quite right. So I'm collecting all my questions and issues in this thread, and if there's anybody out there who can help me that'd be awesome.
1. I can't seem to get my transitional animations to work right. Basic animations, like running and jumping, are working fine. But I'm trying to do things like a small "screech to a halt" animation (ala Super Mario World) when the player changes running direction while going top speed.
My idea was to create an event that checked to see if the player's X velocity was positive or negative, and triggered when they pressed the button to run in the opposite direction. But I couldn't figure out how to check velocity, and some searching in the forums leads me to believe that you can only check velocity on an object with the Physics behavior. Is this correct? Can I add the Physics behavior to an object that already has the Platform behavior without it messing things up? Or is there an easier way to do this that's eluding me?
2. Even if I solved the Velocity issue, I still can't figure out how to make animations act properly. My main character has a 2-frame jump animation, and it's supposed to play the 2 frames and then hold on frame 2 until the character's state changes to "falling". But it acts weird -- sometimes it plays the 2 frames very quickly (which is what it's supposed to do) and other times it holds on frame 1 as long as you hold down the jump button.
3. I tried making an idle animation by having the basic "standing still" pose be the first frame, which lasts 3 seconds, and then having the idle animation play after that. It worked fine, except for the fact that it would start the animation at random intervals, like you'd land from a jump and it would start halfway through the idle animation. How do I get it to start with the 3-second frame 1 every time?
I created events that set a variable to "1" whenever a non-idle animation played, and then an event that ran whenever Idle animation played. If that variable was 1, it would set frame # to 1 and set the variable back to 0. It seemed like that should do the trick but it doesn't make anything act any differently.
Is there an easier way to achieve this? I thought the Wait command might be the key, but couldn't figure out how to get it to work.
4. I wanted a "landing" animation to play whenever the player landed a jump, where the character crouched for a frame or two before standing back up. How do you get something like this to work? My event that was supposed to trigger that animation on contact between the player and the ground didn't do anything.
Thanks to anybody who took the time to read and/or reply to this. I don't know how to post a .cap, or I would. If somebody can tell me how to do it I'll gladly post mine. Any and all help anyone could offer would be much appreciated.