User Tag List

Results 1 to 6 of 6

Thread: Someone can help me with the Accelerometer please!

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Koji_Kabuto's Avatar
    Join Date
    Jul 2006
    Location
    Venezuela
    Posts
    2,847
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Question Someone can help me with the Accelerometer please!

    First time I'm using to control a character and wanted to ask his assistance, I see this in the help of MMF:

    "Device orientation
    This expression returns the current orientation of the device. A new orientation can be detected by triggering the "Device orientation changed" condition.

    It returns values from 0 to 6 :

    Unknown (should not happen unless you shake the device)
    Portrait
    Portrait upside down
    Landscape left
    Landscape right
    Face up
    Face down"

    So if I evaluated the expression:

    Orientation ("Accelerometer object") = 3 then walk to the left

    It should work or not so easy?

    If someone could help me with an example in MMF, I really appreciate it!

  2. #2
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Use the ios joystick with acc. you can find it under frame properties!

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Koji_Kabuto's Avatar
    Join Date
    Jul 2006
    Location
    Venezuela
    Posts
    2,847
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks StingRay, I already had selected, I want to know is how to assess if the accelerometer is fine. Or is it otherwise?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Koji_Kabuto's Avatar
    Join Date
    Jul 2006
    Location
    Venezuela
    Posts
    2,847
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Again, if someone could help me with an example in MMF, I really appreciate it!

  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    What I did to learn it was build an file and have some counters and strings tell me things on an always.

    It wasn't that hard to figure out but I was just working on tilt to move and determine what side of the phone pointed up.

    There is at least 1 example file on the forum -- could be more
    http://community.clickteam.com/showthread.php?t=66991

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Koji_Kabuto's Avatar
    Join Date
    Jul 2006
    Location
    Venezuela
    Posts
    2,847
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks Jeff, you're always so timely!

Similar Threads

  1. [BUG 33] crahes with accelerometer
    By pit73 in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 5th October 2012, 09:47 PM
  2. Accelerometer joystick?
    By MattEsch in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 30th June 2012, 04:25 PM
  3. Accelerometer in beta 31?
    By kiko in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 14th June 2012, 02:22 PM
  4. Accelerometer & Animation
    By voyt3kduv in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th December 2011, 04:33 PM

Posting Permissions

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