Can't paste events here... (solved)

Just started using Construct 2? Post your questions here

Post » Tue Aug 26, 2014 10:08 pm

Hello

I want to copy this tutorial's wheel and event sheet, ( https://www.scirra.com/tutorials/816/to ... ring-wheel )but when i try to paste event to my project, system says "Parameter specifies event variable "ang" which does not appear to be a variable within its scope"

And when i paste first global variables, and then other events, wheel doesn't turn :( Can someone help?

Thanks in advance
Last edited by Xenovia on Fri Aug 29, 2014 12:01 pm, edited 1 time in total.
B
18
S
2
G
1
Posts: 67
Reputation: 1,339

Post » Tue Aug 26, 2014 10:19 pm

Post your capx
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Tue Aug 26, 2014 10:32 pm

Here it is
You do not have the required permissions to view the files attached to this post.
B
18
S
2
G
1
Posts: 67
Reputation: 1,339

Post » Tue Aug 26, 2014 10:41 pm

Oh right. I wanted the one that you tried and the wheel wouldn't turn for you, but I'll have a look.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Tue Aug 26, 2014 11:00 pm

One thing, it's looking for touch events on layer "wheel". Change Layer 3 to be Wheel
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Tue Aug 26, 2014 11:06 pm

Oh Thanks :D
B
18
S
2
G
1
Posts: 67
Reputation: 1,339

Post » Tue Aug 26, 2014 11:21 pm

Hey

I can turn the wheel now, but the car only simulates right, not left. Can you have a look at it?
You do not have the required permissions to view the files attached to this post.
B
18
S
2
G
1
Posts: 67
Reputation: 1,339

Post » Tue Aug 26, 2014 11:46 pm

Sorry man no time now. Add a Browser object and Log something at each event (e.g. angle value).. you will work it out.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Tue Aug 26, 2014 11:49 pm

Okay thanks anyway
B
18
S
2
G
1
Posts: 67
Reputation: 1,339

Post » Fri Aug 29, 2014 12:27 am

Try this
You do not have the required permissions to view the files attached to this post.
B
34
S
5
G
1
Posts: 164
Reputation: 2,725

Next

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests