Detectc IPad / Galaxy movement

Discussion and feedback on Construct 2

Post » Tue Dec 20, 2011 2:27 pm

Hi! I need to know how to detect when the user change the IPad angle. I want to move a ball based on this angle. Its possible with C2 ?
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
22
S
5
G
6
Posts: 167
Reputation: 4,944

Post » Tue Dec 20, 2011 2:42 pm

In the touch object you have expressions that give you the angles of your device.
You would have to use some maths to set the position of your ball according to those values.

But yes, it is possible in C2.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
258
S
90
G
48
Posts: 7,083
Reputation: 62,892

Post » Tue Dec 20, 2011 2:57 pm

Thanks Kyatric, I will try here.
Flws
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
22
S
5
G
6
Posts: 167
Reputation: 4,944


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest