Hey everybody, I'm on a new game and this time i'd like to use the accelerometer.
I asked alexandrefredenucci who gave me the link to the accel.ged demo, and i tried it in my game.
For the ones who know this demo, i just copied the "draw actor" script from the ball, to a "draw actor" script in my player. And it works, but...
There are two problems: First, i'm making a doodle jump like game, so the phone needs to be hold normaly. But if i hold it that way, the player receives orders from the accelerometer to move on the right. I have to turn the phone 90° to the left if i want the player to stay calm. In fact it acts like if the game was meant to be played in 480x320 resolution. How can solve it?
Then, seeing this, i thought maybe i could try to tweak a little the script values, but the editor is not all right with it.
Every time i try to change a value, i receive an error " re-decleration of macro"
What should i do?
Thanks in advance, nikos