Trouble with the Touch object (orientation)

0 favourites
  • 1 posts
From the Asset Store
This is a single chapter from the "Construct Starter Kit Collection". It is the Student Workbook for its Workshop.
  • I hope this hasn't been answered already somewhere - I couldn't find it.

    I'm fiddling around with Construct 2 check out its features.

    Trying to make a small phone game. I have a simple vertical layout with a character falling down. I want it so if you tilt the phone left, he goes left etc.

    From what I can tell I need the gamma value of the touch object for this, however if I put the value of gamma in a text field it stays at 0. The documentation says if it's 0 it's because the feature is not supported.

    My phone is an LG Optimus 3D (P920) which uses this feature in other games so I know the phone is able to do it. Is it just Construct that has trouble with this then, or am I just doing it wrong?

    Here's my code:

    <img src="https://dl.dropbox.com/u/2776515/C2%20-%20orientation.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)