Help with a rule

carlosacj36carlosacj36 Member Posts: 54
edited November -1 in Working with GS (Mac)
Hi,

First, sorry my english

Im read every post, tutorial, etc... about acelerometer, shakes,etc..., but can't find the rule that solve my problem,

i have an actor, that is runing horizontal, an i want that this actor jumps up, or jumps up and ahead, if i move the phone(acelerator i supose) in that direction, and of course in the same proprtion of the shake,if its more strong then jumps more higth, i will apreciate any help.

Thanks in advance,
Carlos

Comments

  • InLikeFlynnInLikeFlynn Member Posts: 171
    For controls like that you might have to experiment a bit with the accelerometer. It can be helpful for testing to put three display text boxes on your screen showing each of the devices.accelerometer.x, y and z directional readings.

    Mark down what they read when you do the motion you want for your character to jump. Then go back into GS and make rules like when devices.accelerometer.y > .25 move character.
  • carlosacj36carlosacj36 Member Posts: 54
    Thank's very much
Sign In or Register to comment.