touch recording

peakprodpeakprod Member Posts: 18
edited November -1 in Working with GS (Mac)
Hi Guys, I have been tearing my hair out with the following logic.
Actor moving straight across screen.
Touch actor then drag finger(mouse) to one of the four corners.
then release. ( to show actor which of four tracks to follow)
After touching I go through a timer recording X and Y positions.
I can show that this works ok by showing numbers in actor.
When I then release I go to four rules that says;
If X position >600 and Y position > 400
Move Stop.
If X position <600 and Y position > 400
Move Stop.
.If X position >600 and Y position < 400
Move Stop.
If X position <600 and Y position < 400
Move Stop.

I get no stops, nothing,

Any ideas on what I am doing wrong would be appreciated.
Thanks peak

Comments

  • VoidedSkyVoidedSky Member Posts: 1,095
    here is an idea, you could put 4 different actors in the corners!
    when release and when overlapping one of the actors, then move stop
    hope this helps
  • peakprodpeakprod Member Posts: 18
    Thanks for the suggestion CowTechMan but it seems that the actions only go with the original actor, and I cannot make them collide.
  • peakprodpeakprod Member Posts: 18
    I cracked it uisng touch outyside instead of release to get the X & Y positions. Thanks for assistance. peak
  • VoidedSkyVoidedSky Member Posts: 1,095
    your welcome
Sign In or Register to comment.