Touch Problem

Get help using Construct 2

Post » Tue Mar 19, 2013 4:36 pm

I'm having some issues with touch and how to confine an object in touch to a certain area. This requires the use of touch commands as 2 touches at the same time need to be present when the problem occurs.

Dropbox Capx - https://dl.dropbox.com/u/74175978/Construct/Analog_Issues.capx

Dropbox CoccoonJS - https://dl.dropbox.com/u/74175978/Construct/newproject.zip

Above you'll find the capx and an extracted cocoonJS.

(Instructions on how the game currently works)
In my game I move an object labelled "Analog_Area" to where the users touches the screen and another object labelled "Analog_Stick" to the same place.
After the initial touch the user is unable to move the Analog_Area but is free to move the Analog_Stick, this allows the player to move the on screen sprite.
The button on the right side of the screen labelled "Analog_Jump" allows the player to jump.
The large green box is the only area the controller is allowed to appear.

(Problem and how I expect it to work)
My problem is when the user touches and holds the jump button and then tries moving, the movement analog positions itself on the right hand side of the screen, no longer on the green touch area.
I have tried to lock it to the touch area but I can't seem to figure out how.

Any help on this issue would be appreciated.
B
13
S
2
Posts: 87
Reputation: 1,244

Post » Wed Mar 20, 2013 9:44 am

Bumping as its been a few hours since this was posted. I still can't understand how to stop this problem from occuring
B
13
S
2
Posts: 87
Reputation: 1,244

Post » Thu Mar 21, 2013 10:10 am

Bump as I still can't work out a solution to this problem
B
13
S
2
Posts: 87
Reputation: 1,244

Post » Fri Mar 22, 2013 9:32 am

This is the last bump, after this I will just accept that the problem can't be solved.
As always any advice to why this is happening will be appreciated
B
13
S
2
Posts: 87
Reputation: 1,244


Return to How do I....?

Who is online

Users browsing this forum: GUN and 15 guests