Touch AngleAt ?

Get help using Construct 2

Post » Fri Sep 07, 2012 3:08 pm

Is there a simple example on how to use this variable. I'm just not sure on what AngleAt(0) means or AngleAt(1) means.
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Sat Sep 08, 2012 8:40 pm

Is there any reference to the new expressions for the touch plugin. I would love to use them, but since i don't think anybody knows, I'm forced to reinvent the wheel.
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Sat Sep 08, 2012 8:57 pm

The new expressions will be added to the manual once a stable release is out (in about one or two weeks).

I can't tell for sure, but apparently the number between parenthesis could be referring to the touch "number" in a multitouch. (you could have 3 simultaneous touches with different angle, the index allows you to refer to the touch you want. 0 is the first/default one)

I guess if you test on desktop with the mouse input set to yes, you would only refer to AngleAt(0).

A quick meaningless example
Apparently AngleAt() automatically detects the current angle of the touch depending on the position where the touch started.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793


Return to How do I....?

Who is online

Users browsing this forum: djcrazypants, marekmk and 6 guests