spawn more actors each time and increase speed gradually over time

jerlant360jerlant360 Member Posts: 82
edited August 2012 in Working with GS (Mac)
so guys im working in an project and i need this to finish it , all i want is spawn random actors falling from the top of the screen and it gradually spawn more and falls faster each time.

Thanks guys

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    You will need a self integer in the spawner actor and set it to choose a random number then spawn the actors based on the number.

    You could also have a game.speed integer that increases every time an actor is spawned and set the actors to move at the game.speed.

    Darren.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited August 2012

    @jerlant360

    Hi, as Darren says....

    Also, I made a game file a while back after another member asked for something similar, which can be amended for what you're after; I'm sure it'll help.

    What needs to be amended: random x min and max values; make y value fixed; put into the prototype actor your chosen method for falling (accelerate downwards, for instance); and adjust max. amount of spawns over max. time as you want.

    https://dl.dropbox.com/u/14060718/spawn faster and faster.gameproj.zip

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • jerlant360jerlant360 Member Posts: 82
    hey thanks guys darren and gyroscope!

    gyroscope thanks a lot man!!
  • youdvdkyoudvdk Member, PRO Posts: 21

    Hello gyroscope, would you be able to make that dropbox file available again?

Sign In or Register to comment.