choose and move?S.O.S

Hi,everyone.I get stuck in a problem of choose and move.
as the picture./Users/jin-force/Desktop/695497FB-98C0-40F5-8B0D-75577782DD5C.png I want to tap the big Actor on the right of the scene to control the movement of the small actor.if i tap the Big Blue, and then tap on the screen,the Small Blue will move to the position of touch.So do the REDs. here is what I ve done./Users/jin-force/Desktop/two actor.zip.
BUT IT DOESNT COME TRUE!!! S.O.S!!!

Answers

  • chungchunyinchungchunyin Member Posts: 1
    ..............okay.I set up an attribute 'ID',when touch is inside of the BIG BLUE actor,change attributed 'ID'=1.when touch is inside of the BIG RED actor,change attribute ID'=2.And I set up serval rules to the Small Blue:when all conditions are valid:1.Actor receives event Touch is Outside; 2.Attribute game.ID=1. The actor will move to position:game.touches.touch 1.x , game.touches.touch 1.y, Relative to scene,run to completion. The Small red one1.Actor receives event Touch is Outside; 2.Attribute game.ID=2. The actor will move to position:game.touches.touch 1.x , game.touches.touch 1.y, Relative to scene,run to completion.

    Now the question is if I tap on the BIG BLUE,the Small blue can be moved.But and then I tap on the BIG RED,the SMALL BLUE will move to the BIG RED first!
  • fadamionfadamion Member, PRO Posts: 309
    We are unable to see the screen shots.
  • LumpAppsLumpApps Member Posts: 2,881
    Use the attach a file button. You have pointed to an image on your desktop ;)
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited March 2013
    Embed an image by uploading it to a file-sharing site and then using <$img src="URL"> without the $

    I also recommend that you read the FAQs before posting: http://forums.gamesalad.com/discussion/54689/forum-faqs#latest.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited March 2013
    /

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.