how to move more objects with different fingers?

patapplepatapple Member Posts: 873
edited June 2012 in Working with GS (Mac)
hi,

i have a little problem with my game. i would like that 4 players can drag they own objects wherever they want. (like air hockey but with more fingers). what rules do i need?

thanks

Best Answer

  • jckmcgrawjckmcgraw Posts: 647
    Accepted Answer
    @patapple

    All I know is you will need to use the touches attributes.

    I'd be interested to see the solution as well since I'll be implementing multi-touch into my game soon.

    Regards,
    Jack McGraw

Answers

  • patapplepatapple Member Posts: 873
    @jckmgraw yeah, all i know is that i need to use the constrain attribute but the mouse.x.position is only one position and i need 4 different positions!
  • patapplepatapple Member Posts: 873
    ok. thanks all! i just created the similar rules as the ones on the tshirtbooth demo. but the platform interfere between them! see this:
  • patapplepatapple Member Posts: 873
    Just a little bump for anyone who's got an idea how to fix this...
  • patapplepatapple Member Posts: 873
    Any idea??? If there is anyone that is able to fix this please post here ro contact me: infobalestra@gmail.com . I will PAY you! :)
  • deretraumderetraum Member Posts: 7
    aint no biggy, just set up invisible squares that route the touch inside that zone to the paddle in question, often times I create invisible actors that directly connect to touch 1 2 3 etc then when one of those actors collides with the invisible interface zone of a paddle its coordinates are accepted by the paddle. plus you gotta make exclusivity rights so that the first touch to cling to the paddle reserves complete control of the paddle til the touch is over. but the whole "over" thing is complicate cause there are no booleans for the 11 touches on off states just touch count which don't tell you much at all about which touches are on.
    hmm,

    contact me if you need some demos or fixes, ive made a 2 player paddle ball that dynamically routes like this fo sho
Sign In or Register to comment.