Grab Orientation [Solved]

Get help using Construct 2

Post » Tue Aug 20, 2013 6:28 pm

I was wondering if it's possible to actually grab the vales of alpha, beta and gamma and then display them say every tick? I tried it using X and Y (beta being along x and gamma being along way but no luck).
Any ideas?galacticfan2013-08-20 18:52:26
B
9
S
3
G
1
Posts: 53
Reputation: 1,296

Post » Tue Aug 20, 2013 6:30 pm

if beta is x and gamma is y, what is alpha?
B
47
S
18
G
84
Posts: 2,271
Reputation: 49,796

Post » Tue Aug 20, 2013 6:33 pm

[QUOTE=plinkie] if beta is x and gamma is y, what is alpha? [/QUOTE]

It was a real stab in the dark, I have no clue on how to grab these values. Maybe an angle?
B
9
S
3
G
1
Posts: 53
Reputation: 1,296

Post » Tue Aug 20, 2013 6:34 pm

You can create text objects to display values.
You can then create an event OnEveryTick and SetText on the text box to "X="&Object.X
I'm not entirely sure what you want here though. More info please..plinkie2013-08-20 18:36:00
B
47
S
18
G
84
Posts: 2,271
Reputation: 49,796

Post » Tue Aug 20, 2013 6:38 pm

I want to be bale to display the values of alpha, beta and gamma however, I don't know what to set the text to as when I type in Alpha, it won't allow it, am I making any sense?
B
9
S
3
G
1
Posts: 53
Reputation: 1,296

Post » Tue Aug 20, 2013 6:51 pm

EDIT: After playing around for a bit, I finally found out how to do it. This is what I was trying to do: https://www.dropbox.com/s/nh3gk848p9qxdsv/DeviceOrientation.capx
B
9
S
3
G
1
Posts: 53
Reputation: 1,296

Post » Tue Aug 20, 2013 7:03 pm

That's what I said to do...but well done lol.
B
47
S
18
G
84
Posts: 2,271
Reputation: 49,796


Return to How do I....?

Who is online

Users browsing this forum: draiza and 27 guests