vertical shooter enemies spawn and velocity increase over time help!!

jerlant360jerlant360 Member Posts: 82
edited July 2012 in Working with GS (Mac)
so im creating a vertical shooter and i want to make the enemies number increase over time and fall down faster each time! i need some help!

Thanks

Best Answers

  • HapiappsHapiapps Posts: 373
    Accepted Answer
    It depends on if you want it gradually over time of in stages. Answer that and I'll go in detail about them.
  • UtopianGamesUtopianGames Posts: 5,692
    edited July 2012 Accepted Answer
    Im going to London today to meet Chris and Ben but if anything in this template can help fire away and i will try and answer in the morning.



    Darren.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Posts: 9,922
    Accepted Answer
    Yes you an attribute to keep track of the count and you have to update it each 5 second cycle.

    Attribute speed = (speed you want to start with)

    Timer every 5 seconds

    Change attribute game.speed to game.speed +10

    In your accelerate behavior link the speed to game.speed

Answers

  • jerlant360jerlant360 Member Posts: 82
    edited July 2012
    hi guys

    hapiapps yes i want it gradually over time!

    utopian i want something like that but instead of waves i want it gradually speed up over time!

    Thanks you both , i'll be waiting for your answers
  • jerlant360jerlant360 Member Posts: 82
    It depends on if you want it gradually over time of in stages. Answer that and I'll go in detail about them.
    Hi , hapiapps yes i want it gradually over time!

    Thanks you both , i'll be waiting for your answers
  • MrSKYoneMrSKYone Member Posts: 26
    Hey, I have a question about speed increasing over time too.

    My scene display snowballs falling top to bottom in a random way. I want them to fall faster and faster over time so I created an attributes for speed with a default falling velocity, then I added a timer with a change in this speed attribute every 5 seconds.

    It works perfectly, except that it seems to work only once.
    My scene begins at the default speed, then after 5 second the velocity increases to the Speed+x that I asked, then nothing more, the velocity remains the same.

    Do I have to set up a loop or something? I think it loop from the default speed attributes and goes like this

    Time(0)=Speed / Time(5)=Speed+10 / Time(10)=Speed+10 / Time(15)=Speed+10
    It always increases the initial value of my speed attributes and doesn't take in account the previous changes. How to fix that?

    Thank for your help guys
  • DeadlySeriousMediaDeadlySeriousMedia ArizonaMember Posts: 838
    I'm working on a Vertical Shooter too! Haven't broached wave speed yet. Looking forward to an answer to this question. :)
Sign In or Register to comment.