Is this possible for a platformer?

SteelCloverGamesSteelCloverGames Member Posts: 18
edited November -1 in Working with GS (Mac)
If so how can I do this in GameSalad?

I have an actor in a pipe level I want to have jump to higher platforms as fast as he can to avoid the water filling up the pipe.

Is it possible to have the water keep moving up as the player jumps and if he does not move fast enough the water causes him to drown and die?

Please can someone tell me how to do this or point me in the right direction.

Thanks!

~R

Comments

  • nulonulo Member Posts: 315
    you would have a separate actor for the water.
    have the water actor move up in a determined speed
    have a rule set that if the player actor collides with the water actor, trigger a attribute that would destroy the player actor and run an animation of the player drowning or something.
  • SteelCloverGamesSteelCloverGames Member Posts: 18
    Thanks Nulo!

    This leads me to another question. So after the death/drown animation... Lets say I want a your dead message to pop up with the option to play again.

    Do I need to have it go to a different screen? Or is there away to bring up a menu over the current scene after the death animation plays.

    Also is there away to delay that screen by a few seconds so the animation and soundfx I would add is not cut off by the playagain menu or screen?

    Sorry for all the questions but I am still new to all this.

    Thanks so much for your help!

    ~R
  • nulonulo Member Posts: 315
    yes you can have it on the same scene.

    you would have to make an attribute for when the player dies.
    this way, the menu would only be spawned/appear when this attribute is activated.
    and if you want have a delay, all you have to do is use a timer.

    for example.
    when attribute death = true

    timer
    after 2 seconds
    spawn menu "play again"
  • SteelCloverGamesSteelCloverGames Member Posts: 18
    Thanks Nulo! You rock!

    I am still new to learning GameSalad. I hope I don't have too much trouble trying to implement this.

    Wish there was a way to see screenshots on how to do this cause I am having trouble implementing similar rules which I have in another thread on the score counter activating when my character hits a jump and then having that counter stop when my character lands.

    Is there a tutorial around to get better familiar with the interface and tools itself? Screens would definitely help.

    Thanks again for everything I just hope I can execute on your tips.

    ~R
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Tshirtbooth and weswog have both made excellent beginning video tutorials.

    I have started making a series of Platformer tutorials for beginners, complete with pictures:
    http://gamesalad.com/wiki/how_tos:platformer_tutorials

    Also, check out all the tutorials and articles in the Support section above.

    Those should all help you get up to speed using GameSalad.
Sign In or Register to comment.