Need help swapping 2 objects' locations

guillefaceguilleface Member Posts: 1,014
edited May 2012 in Working with GS (Mac)
hey guys i need help with swapping 2 objects location and i want to put here the file so if someone wants to download it and see what i am doing wrong.

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    You need to compress your file into a .zip file (right-click the GameSalad project file from the Desktop) and then upload it to a hosting service such as MediaFire or DropBox, and then post the link to the uploaded file here.

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

Answers

  • guillefaceguilleface Member Posts: 1,014
    ok thanks hopefully i did it right, ok on my swapping everything works good if you click slowly one by one, but if you do it to fast or if you press for longer on a square after you have selected other square, then you will see the problem. or if you have another method please let me know.

    http://dl.dropbox.com/u/46439975/swap.zip
  • MotherHooseMotherHoose Member Posts: 2,456
    @guilleface … got that down just perfect!

    what a beautiful job you do of programming! … notes and named Rules … easy to understand what you wanted to have happen … and see the problem

    rather than alter your work…
    I made you a demo: http://www.mediafire.com/?bzt6q6nxnsbxyl5

    and tried to simplify things … using 5 gameAttributes … no selfAttributes … no Timers
    I could get it running perfectly … hopefully it works for you!

    image MH
  • guillefaceguilleface Member Posts: 1,014
    thanks motherhoose, it works great except that if i click 4 times on the same actor then it moves to the left, now the question is if someone will click 4 times consecutive on the actor, if they do then i will have a big glitch. what iam trying to do is have like 20 squares that will form picture, so a player will need to swap tiles in order to reveal the image.
  • MotherHooseMotherHoose Member Posts: 2,456
    edited May 2012
    got it now! @guilleface … a slider puzzle! I just put one in my latest project

    in your Profile > Messages … PM from me

    @};- MH
  • CulturePlayCulturePlay Member, PRO Posts: 113
    @MotherHoose
    @guilleface

    I just completed tshirtbooth's video tutorial on this very topic and am running into the same glitch. Can you please send me the working file. Thank you!
Sign In or Register to comment.