A Question About "Bumps" - utopiangames

aalzankiaalzanki Member Posts: 283
edited November -1 in Working with GS (Mac)
Hi,

I'm trying to make a level editor in my game. But, that's what happen.

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

The actors get above each other.

I saw that it's done in bumps. When you have two bumps and a bump is above the other bump, the bumps wont get above each other.

Please help

Regards,
aalzanki

Comments

  • cbtcbt Member Posts: 644
    You need to make bottom left "things" image, not actors. I mean not "blue" "gray" and "red". Make them different actors just to spawn the real ones.

    And;

    *Add to "gray";
    -collide with "blue"
    -collide with "red"

    *Add to "blue";
    -collide with "gray"
    -collide with "red"

    *Add to "red";
    -collide with "gray"
    -collide with "blue"

    That should work.
  • UtopianGamesUtopianGames Member Posts: 5,692
    You need a Boolean for each actor...if touch is pressed "movingBlue=True" touch released "movingBlue=false"

    Then a rule to check if all other Bumps are set to False before it lets you move Blue.

    Hope this is what your after.

    Darren.
  • aalzankiaalzanki Member Posts: 283
    Thanks for the reply guys.
    utopiangames said:
    You need a Boolean for each actor...if touch is pressed "movingBlue=True" touch released "movingBlue=false"

    Then a rule to check if all other Bumps are set to False before it lets you move Blue.

    Hope this is what your after.

    Darren.

    How do I check on the rest of the actors?

    Regards,
    Aalzanki
  • UtopianGamesUtopianGames Member Posts: 5,692
    In the Blue Bump you have a rule to check if movingGreen, red, etc etc is false.

    Darren.
  • aalzankiaalzanki Member Posts: 283
    Aha thank you so much
  • chicopchicop Member Posts: 263
    ive been trying to add these commands to your level editor aalzanki but i think i am not following the proper steps.

    so under the actor create a boolean and name it movingBlue..

    my problem is how to check if the others are false?

    also do you still need the collide rules?
  • chicopchicop Member Posts: 263
    chicop said:
    ive been trying to add these commands to your level editor aalzanki but i think i am not following the proper steps.

    so under the actor create a boolean and name it movingBlue..

    my problem is how to check if the others are false? what sort of rule do you set up for that?

    also do you still need the collide rules?

  • VoidedSkyVoidedSky Member Posts: 1,095
    Trying to do the same thing, I don't really understand what I'm supposed do to get this to work. Anyone have a demo, or willing to explain a little more?

    Thanks!
  • gazjmgazjm Member Posts: 578
    To check if the others are false, you will need to edit the instance of the actor, not the prototype, ie, the one on the scene board. When you create the rule you can check the attribute of any other actor within that scene, browse to current scene / layers / choose which layer the actor is in! I think this is how it would be done.
Sign In or Register to comment.