Driving Game Car Animations

0 favourites
  • 3 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • I am making a driving game:

    When the car turns Right in reality, In this project, the car goes Down on the screen.

    When it turns Left in Reality, the car goes Up on the screen.

    I want Three Problems fixed:


    Fixed, thanks to Justifun.


    I want to Size scale-Up the Player, when the car goes Down.

    And I want to scale it Down when the Car goes Up. :

    -On the Bottom of the layout, the size scale should be 100%.

    -On the Top of the layout, it should be 75%


    I want the car to start with the "Standing animation" when the game starts. For some reason it playes another animation at start.

    meman2012-11-06 16:42:48

  • 1) all you have to do is check for specific conditions and then apply whatever animations etc you want under each condition.

    eg: Add an event that has Keyboard left arrow is pressed, and add a second condition (right click-> add condition) and pick keyboard up arrow is pressed.

    Now those actions will only occur when both keys are pressed. Rotate the wheel's or play a different animation direction or whatever. Do the same for the other possible key combonations you want.

    2)I can't see the capx right now at work, but it sounds like you just want the car to scale depending on what area of the screen its on. Simply add a "system every tick" event, that scales the car based on its Y postion on the layout. You might need to get fancy with the math to make it scale nicely at any height. I suck at math so perhaps someone else can help with that.

    3) use "on layout start" -> set animation to "standing animation"

    ideally put that event at the beginning of all of your other events.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for helping me fix Problem 1. It's working now.

    regarding problem3. I have already set it up that way. You will have to take a look at it when you get home please.

    Problem2. remains unsolved. I still need help with Problem2. Maybe if someone could make an example capx ?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)