Iphone/Touch.alpha

0 favourites
  • 5 posts
From the Asset Store
Is a system for building scorecards and achievements online for use in games Using this system, you can create a scorebo
  • Hello everybody !,

    I do a project using Orientation devices and "Touch.alpha" to move a view on a 360? panorama, it works well but i want to improve it and add user real orientation (compass data) as "starting" project orientation.

    Actually my "starting" orientation is always "0" in Touch.Alpha -> "North" even if my current orientation is different ... is there way in Construct 2 to retrieve current user orientation ?.

  • Hey Naelian ,

    Could you give more information about your project ? It looks like something I try to implement too.

  • Hi Laurent, check in C2 forum "your creations" you will find my project Here

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks Naelian

  • Seems i need this to make it work =>

    webkitCompassHeading

    A direction that is measured in degrees relative to magnetic north.

    readonly attribute double webkitCompassHeading

    Direction values are measured in degrees starting at due north and continuing clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. A negative value indicates an invalid direction.

    Availability

    Available in iOS 5.0 and later.

    Unfortunatly i'm not (yet) on iOS 5 ... and i don't think this function will be integred in Construct 2.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)