Double Trouble with Touch

Get help using Construct 2

Post » Sat Jun 06, 2015 7:06 am

I have a capx here for my game
<<deleted link>>

So, I have 2 broblems:

1. Why does not arrows work to move orange object?

2. Why does not double-tapping resize zoom?

There are only 10 events and I think I am an average constructor but still this problem is still way too much for me. :cry:
Last edited by Jabutosama on Sat Jun 06, 2015 8:11 am, edited 1 time in total.
~~~~Jabutosama
B
14
S
3
Posts: 68
Reputation: 1,439

Post » Sat Jun 06, 2015 7:29 am

Well, to make the arrows work a replaced the "on tap gesture" condition with the "is touching", and it work just fine.
Now for the double tap scale rate, it's not working at first because every tick you set the scale of the object to the size set on the slide bar, so when the object is resized due the double tap it always go back to the slide bar size.

However when I disabled the every tick code line it still didn't work because for some reason the double tap is not changing the value of your variable.

Sorry for not being able to help any further
B
17
S
7
Posts: 280
Reputation: 2,522

Post » Sat Jun 06, 2015 7:37 am

Thank you :P
~~~~Jabutosama
B
14
S
3
Posts: 68
Reputation: 1,439

Post » Sat Jun 06, 2015 8:15 am

I'm not sure if this is what you want, but it works for what you had set up..
You are using both scale rate and set scale, so double tap will change the scale rate, rather than resetting the scale..

https://dl.dropboxusercontent.com/u/485 ... rrows.capx
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 37 guests