Can you try this out ?

beaudoin_nbeaudoin_n Member Posts: 184
edited November -1 in Working with GS (Mac)
Here is my game (well not my game but my bug !)

http://gamesalad.com/game/play/40534

It works well on the web and on the viewer, but on the IPhone it bugs :(
first one square dissapears.. and if you play with it a while others start dissapearing or just not behaving correctly.
Behavior is simple, if dragged on the pink when released will go left out of the pink.
When dragged on the bottom they snap to a grid (invisible)
If you want to put an object on top of the other it should move back to its original place (instead of being on top of it)

Any ideas? oh Gamesalad wizards !

Comments

  • rebumprebump Member Posts: 1,058
    If you overlap one piece with another, let go, then select them again before the top one has time to slide back to "home", you can sometimes get the touch/mouse grab of the top piece to grab both at the same time. When this happens, the bottom one aligns under the top one sort of disappearing. Is this the "disappearing" that you mean?

    I'm assuming you are using touch for this based on the behavior. Maybe you need a boolean attribute "ItemCurrentlyGrabbed" that gets set when an item is grabbed thusly maybe the second one being grabbed will not be grabbed since each one will test to make sure "ItemCurrentlyGrabbed" is false before allowing it to be grabbed (selected) and follow the touch/mouse...

    Or your touch code is messed up. I have only used touch inside thus far. Maybe some others have more to share.
  • beaudoin_nbeaudoin_n Member Posts: 184
    Others ??

    Any one ?

    Bueller ;)
  • TheBigWo0pTheBigWo0p Member Posts: 22
    I'm not sure what the problem is but I thought I'd say it is buggy for me to(Web). This is kinda just a bump. :)
  • rebumprebump Member Posts: 1,058
    I never had a square actually disappear...just had one get caught up on a touch "grab" behind another square that I was actually grabbing (as I explained above). I played with it for about two minutes.
  • beaudoin_nbeaudoin_n Member Posts: 184
    Ok so I tried to set a global variable to indicate that one object is selected, i changed touch pressed to touch inside...
    Not better

    Also when initially everything is setting up one of my squares dissapears :(

    Any one has ideas ?

    Or another way to get to what i want to do (ie set up objects on the grid)

    Thanks
  • beaudoin_nbeaudoin_n Member Posts: 184
    Codemonkey ??

    Heeeeelllpp !
Sign In or Register to comment.