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

Just started using Construct 2? Post your questions here

Post » Fri Jan 02, 2015 11:52 pm

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,
Posts: 27
Reputation: 571

Post » Sat Jan 24, 2015 10:00 pm

- 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
Posts: 12
Reputation: 249

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests