Make Actors spawn faster and increase Time an Actor gets destroyed

Hello,

I'm very new to Gamesalad and started to make my first own Game which is nearly finished.

The Game: You basically see a Screen with 2 Squares, on one Square is a Monster Image, the other one has a Treasure Image. Random Monsters and Treasures will spawn around the whole Screen at random times and you have to drag them to the appropriate Square as fast as possible. There's a Countdown of 30 Seconds, as soon as it runs out its Game over.

Now my Questions:

I want the spawn of the actors to increase the longer the game is going on. One Actor spawns at a random Time between 5-10 Seconds now, if you play longer than 30 Seconds I would like the Timer for one Actor to become 2-5 seconds (for example). How do i do this?

Secondly, everytime the Actor hits the right Square you get a Score Point, everytime the Score increases I would like to increase the Time of the Countdown by 5seconds. For example: The Countdown says 25 seconds and you just dragged the Monster into the Monster Square, then the Countdown goes up to 30 Seconds. How do i do this?

Thank you very much!

Comments

  • TitchTitch Member Posts: 8

    I forgot to add: As soon as there are 20 Actors on the Screen to the same time I want the game to be over again. Any advice on this problem?

  • I_AM_BENJII_AM_BENJI USAMember Posts: 40
    edited January 2015

    the timer should be an atribute
    Call it countdown

    Timer:Every 1 seconds
    change attribute countdown to countdown-1

    For the Spawner
    make an another attribute
    call it time between spawn

    Rule:
    if countdown is (certain number)
    TImer-Every .5 change time between spawn to random(5, 10)

    rule:
    if countdown is (certain number)
    TImer-Every .5 change time between spawn to random(2, 5)

    rule
    if countdown is certain number
    timer-Every time between spawn secondes
    Spawn actor

Sign In or Register to comment.