How to include quiz between waves on tower defence template?

ben.n@me.comben.n@me.com Member Posts: 2
edited February 2015 in Working with GS (Mac)

Hi all,

I am very new to GameSalad but next month I want to use a game made in GS to help me teach a lesson in a school to do with the immune system. I thought a tower defence type of game might be really cool and lend itself to the topic very well. Basically the enemies are invading pathogens and you control the turrets which fire antibodies at the pathogens in order to kill the enemies. However I had no idea where to start so decided to download Deep Blue Apps template for a tower defence game and it is awesome, however I want to change a few things but do not know how to do so. I have successfully changed some art to make it look more like how I want it and thats fine however I would like it so when an enemy reaches the end, instead of immediately going to game over I would like it if the player could have a set number of lives before it is game over. Also just to make it more educational when an enemy reaches the end instead of it automatically taking off a life I would like to have a question pop up and if the player gets it right they do not lose a life and the wave starts again.

Sorry if this is too long winded but I am coming close to the project deadline and really need some help.

Thanks

Answers

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408

    I'm not sure how it is structured in the template, but if you could create an attribute called lives.

    and when the enemy reaches the end have it trigger a rule that displays your quiz. You could do this using the pause method, which I think would be pretty minor.

    if enemy hits end
    pause (quiz screen)

    and in the pause menu display your quiz. when they touch the right answer unpause without any changes. if they touch the wrong answer have a rule that says

    if lives > 0
    lives = lives -1
    unpause
    otherwise
    change scene to end game

    something like that will work

  • ben.n@me.comben.n@me.com Member Posts: 2

    You could do this using the pause method, which I think would be pretty minor.

    This sounds exactly like the type of thing I want thank you!

    However like I said I am very new to GameSalad so how would go about producing a pause screen like this?

    Sorry if this seems very simple!

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @ben.n@me.com said:
    I am very new to GameSalad but... I thought a tower defence type of game might be really cool and lend itself to the topic very well.
    I am coming close to the project deadline and really need some help.

    Don't mean to burst your bubble but that would require a significant number of hours for someone very experienced with GameSalad. If you're up for it, more power to you but it might make sense -- since you have a deadline -- to try something a bit easier for now.

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

Sign In or Register to comment.