How to use phone's accelerometer controls to move my char

0 favourites
  • 2 posts
From the Asset Store
Ninja char for your game! Make your own Shinobi game with this art.
  • I just started using construct 2 yesterday, and I am very confused on the controls for my game.

    First of all, my game will have two characters, (switchable by tapping), and the two will keep going on parallel to each other. One will be a ghost, and the other will be the real character, the real character could get damaged, but the ghost character cant, the player only gets one life, and its a test to see how far the person can get. A few of my major concerns about this project:

    -How do I use my phone's accelerometer to control both of my characters movements (up/down)

    -How would I make it a side-scrolling type game?

    -How do I randomize cloud placement (on the top part)

    -How would I place the obstacles, and where to place the bad guys

    -And finally, how to make it so the game gets faster as time goes on

    Thanks in advance,


  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
    • I don't know about this one
    • Use the Scroll To behavior to scroll to an object
    • System | Create object at X: random(min,max), Y: random(min,max) (Random coordinates)
    • Place objects with the System | Create object action
    • Simplest way is System | Set time scale. Another way to do it, is to have a variable that keeps track of an objects speed
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)