User Tag List

Results 1 to 3 of 3

Thread: Detect Sideways Tilt Only

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    England
    Posts
    820
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Detect Sideways Tilt Only

    Hey All,

    How would I do this? I have a rocket ship (using built in Spaceship movement) and want the object to rotate left or right when the device is tilted but not detect any forward or backwards tilting. I want to use a button for the acceleration.

    Any ideas?

    Thanks,

    Steve

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Detect Sideways Tilt Only

    Hi Steven, you have separate values for the X, Y and Z tilt. Just use the axis value for the direction of your tilt. (I have the same going on in my game btw - really easy to do)
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    England
    Posts
    820
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Detect Sideways Tilt Only

    Thanks Andy. For some reason I couldn't see that earlier o_O

    Steve

Similar Threads

  1. How do you get your game on your phone sideways?
    By MitchellMonhemius in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 20th September 2013, 08:10 PM
  2. Tilt example left to right using accelerometer
    By mikec in forum iOS Specific Example Files
    Replies: 3
    Last Post: 17th October 2011, 04:14 PM
  3. Tilt movement example help.
    By Evilized79 in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 15th October 2011, 08:06 AM
  4. Sideways scoller / tilemap?
    By RR7 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th March 2007, 12:20 PM
  5. A way to tilt the screen?
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th September 2006, 02:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •