combo system

digitalzerodigitalzero Member, BASIC Posts: 639
edited October 2012 in Working with GS (Mac)
is there a video or anything like that that will teach me how to make a combo system? the game that im making allows you to jump on the enemies head and it would bounce up and if you get on another enemy it would trigger the combo system... is there anyway to do that? im pretty sure there is because gamesalad has been freaking awesome to me but im not quite sure how to do that

Comments

  • carlblanchetcarlblanchet Member Posts: 755
    Make a ComboCount integer attribute. Every time the character jumps on a head add +1 to that attribute, and when the character touches the ground if attribute is greater than 0 change it to 0.

    Now when att. is = 2, boom 2 combo.
    when att. is = 3, boom 3 combo, etc.

    To detect the head bounce, perhaps with an overlap or collide behaviour of the character with the head, and same thing with the floor to detect when the character touches the ground.
  • digitalzerodigitalzero Member, BASIC Posts: 639
    wow. thats really some sound advice and i appreciate it... my game is a tad bit more complicated then that you see lol basically if you press the jump button it will go in and out of the background and the foreground... i also have the attribute where the character can jump through the platform but sometimes the character would jump through the platform and the attribute i have thats set as grounded becomes true for a split second... so thats kinda my problem
Sign In or Register to comment.