How do I accelerate a spawner?

Basically, I am very new to GameSalad and I am creating a game similar to 2 dots 1 Brain. However I have hit a pitfall.

How would I be able to increase the amount of time it takes for the blue and red dot (from the spawner) to reach the circle below it? I would like it to increase every 10 points also. How do I complete this step by step?

Thank you in advance.

  • Dyson

PS. I have attached a link to my game so that it may be easier for you to help me.

http://arcade.gamesalad.com/games/126839

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited December 2014

    Please do not create multiple threads for the same issue.

    It sounds like you want to slow down the actor's speed rather than slow down the spawn interval. Is that correct? If so, just use an integer or real game attribute called game.speed. Then use Constrain Attribute game.speed to 100+(game.score/10)*1.2. The '1.2' in the expression can be any constant you want. And the '100' in the expression is just a base minimum for the speed.

    Edit: If you are instead wanting the spawning interval to decrease, use a custom-interval timer: http://forums.gamesalad.com/discussion/comment/464547/#Comment_464547

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

  • ALCreations ALCreations Member Posts: 3

    Sorry for creating multiple threads for the same issue.

    Thank you however and I will try this out straight away.

  • ALCreations ALCreations Member Posts: 3

    It's not working. All I would like the spawn to do is increase the rate in which the actors come down from so that the difficulty of the game gets harder.

    How may I come across completing this please?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    "It's not working" doesn't give me much information about why you're having trouble. What did you try?

    I realize that since you're using a PC you may not have been able to open the custom interval timer demo I posted. I've modified the rules for that demo to suit your description:

    When you divide game.score by (10*10), you get durations that look like this every ten points:

    0
    .1
    .2
    .3

    You can adjust the divisor to anything you like! I added the minimumDuration attribute (that as well as self.timeStamp and self.duration are real attributes) and set it to 1 so that spawn intervals are at least one second long.

    The Timer and Display Text are just there for testing purposes.

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

Sign In or Register to comment.