I REALLY NEED HELP MAKING MY ACTOR MOVE BY TILT

ashapiro914ashapiro914 Member Posts: 88
edited November -1 in Working with GS (Mac)
Hi, I have watched videos and looked at posts but nothing worked for me cash anyone tell me the right way to do it? Thanks

Comments

  • old_kipperold_kipper Member Posts: 1,420
    I think most people here use the method explained in the cookbook accelerometer video, or some variation of it. If it is not working for you I would go back, watch and work through it again. Unless you are after something particularly unusual, I suspect any offers to sort things for you will be done with the cookbook method. It does work.
  • ashapiro914ashapiro914 Member Posts: 88
    I have already watched it like 5 times and redid it a lot too. For some reason it won't work. If anyone know's how to I can send them my app and you can help me fix it. I can pay if you want.
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    can you explain in detail what you are doing and what you are trying to do? Maybe we can help if we get more info.
  • ultimaultima Member, PRO Posts: 1,207
    ya there's a million ways actors can move, how are you correlating the tilt data to the movement?
  • ashapiro914ashapiro914 Member Posts: 88
    Ok so in my app you are a ball and have to go through obstacles and make it to the finish. On the computer you do this with keys and you click to go down. But for the iPhone I want to make it so when when you tilt to the left you go left and tilt to the right you go right. I have watched the accelerometer video but that didn't work for my app for some reason. If you can help please do.
    Thanks
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Is your game landscape or portrait ?
  • ashapiro914ashapiro914 Member Posts: 88
    Landscape
  • WeswogWeswog Member Posts: 1,171
    If you send me an email I can send you a project that has tilting already in it so you can just copy the code and put it in your proect

    My email Weswog@gmail.com

    Cheers, Weswog
  • ashapiro914ashapiro914 Member Posts: 88
    ok thanks
  • ashapiro914ashapiro914 Member Posts: 88
    I sent it to you.
  • ashapiro914ashapiro914 Member Posts: 88
    Did you get it?
  • WeswogWeswog Member Posts: 1,171
    Got your email responding right now

    Edit: Sent :)

    Cheers, Weswog
  • ashapiro914ashapiro914 Member Posts: 88
    cool
  • ashapiro914ashapiro914 Member Posts: 88
    thank you so much
  • ashapiro914ashapiro914 Member Posts: 88
    So do I copy that into the ball?
Sign In or Register to comment.