Fruit Ninja/tower defence type waves

UtopianGamesUtopianGames Member Posts: 5,692
edited November -1 in Working with GS (Mac)
Hi Guys,

Started work on a new game (giving Bumps artist a chance to catch up so we can start on iPad) and i would like to do a fruit ninja type game but want to get the waves nailed down.

Any idea how to do something similar where you get wave 1...short rest..wave 2 (harder)...rest...wave 3 and so on?

image

Darren.

Comments

  • DevilsDevils Member Posts: 561
    I have no idea what your asking but the graphics on that look sweet as hell. Can't wait to it's release. I would beta test if needed.
  • thegwillthegwill Member Posts: 31
    Fish games seem to be popular right now huh.

    :o)
  • UtopianGamesUtopianGames Member Posts: 5,692
    It's a small project ...just giving my other artist time to catch up but i'd like to get the waves of bad & good fish sorted.

    Darren.
  • chuckychucky Member Posts: 13
    Hi Darren

    Is it the short rest that you were trying to work out?

    How about adding a behaviour to the background image that checks for a collision with any actors that have a particular tag (which you would add to all of your fish actors).

    If there is a collision, reset a game.attribute to 0 (you will use this attribute as a counter). In the "otherwise" condition constrain game.attribute=game.attribute+1. When it gets to a certain number (whatever you want the delay to be) activate your next wave.

    Hopefully that's not as clear as mud!

    Cheers
    Roberto
  • UtopianGamesUtopianGames Member Posts: 5,692
    Hi Roberto,

    Yeah i was thinking along same lines but was wondering if there's a better way as i will have a lot of rules if there's 200+waves.

    Also thinking of changing it from score based to level based because of the no online high score in GS and the people that will complain.

    Darren.
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    You could have a timer that repeats at an interval something like this:

    Assuming game.Level starts at 1

    Every: (201-game.Level)*(random(10,20)*.001)
    --Spawn Enemy

    If timers will work like that, that would give you an enemy every 2-4 seconds at level 1, and would get slightly faster with every new level. You can play with the random generator to get the timing exactly right.

    I'm pretty sure there is a tutorial somewhere around here for getting timers to accept variable input...I'll post it if I can find it.
  • UtopianGamesUtopianGames Member Posts: 5,692
    Cheers m8,

    Yeah im not great with the maths...there must be a way, would be great if you find it and it saves me doing 1000 rules lol.

    Wave 1 = 1 fish

    Wave 2 =2 fish

    Wave 3 = 2 fish + hazard

    Wave 4 = 3 fish

    Wave 5 + 4 fish 1 hazard

    You get the idea, i will try and work it out.

    Darren.
  • reddotincreddotinc Member Posts: 653
    From the sounds of want to have the number of fish spawned by an attr which has 1 added per "wave".

    Then you could use the mod() function to set your hazard waves, and set the number of fishes/hazards for that wave.

    Hope that helps a bit, I'm out at the moment but might see if I can knock you something up later if you want?

    //red.
  • UtopianGamesUtopianGames Member Posts: 5,692
    That would be great!

    One day i might be good at this GameSalad thingy stuff :P

    Darren.
  • StusAppsStusApps Member, PRO Posts: 1,352
    thegwill said:
    Fish games seem to be popular right now huh.

    :o)

    Yeah, am not doing another fish one. I'm sure it's not the fault of the fish but Dynamite Fish has been our worst selling title yet. Can't even shift more than 10 a day of the lite version. Which is bizarre as my crappy first game is free and gets over 2000 downloads a day.

    I guess either people don't like it (though hardly anyone has actually tried it) or people are not big on Dynamite and Fish. Thinking of changing it's name to 'Angry Doodle Dynamite Zombie Fish Ninja Jump.'
  • UtopianGamesUtopianGames Member Posts: 5,692
    Over 2000 a day wow that's good.

    Bumps Lite in total has not done that since release :P

    Darren.
  • StusAppsStusApps Member, PRO Posts: 1,352
    utopiangames said:
    Over 2000 a day wow that's good.

    Bumps Lite in total has not done that since release :P

    Darren.

    Yeah, it's all asia again. Between Singapore, Taiwan, Malaysia and Indonesia. US downloads are less than 100.
  • reddotincreddotinc Member Posts: 653
    GS is really starting to piss me off.. 3 times into panic mode in 24 hours..
  • UtopianGamesUtopianGames Member Posts: 5,692
    Crazy....closed my mac down with out warning 3 times so far, like having a power cut, bang black screen...the button at the back wont restart it when this happens so i have to unplug from mains and reboot.

    Darren.
  • chosenonestudioschosenonestudios Member Posts: 1,714
    StusApps said:
    'Angry Doodle Dynamite Zombie Fish Ninja Jump.'

    This, my friend, will be be big!
  • reddotincreddotinc Member Posts: 653
    utopiangames said:
    Crazy....closed my mac down with out warning 3 times so far, like having a power cut, bang black screen...the button at the back wont restart it when this happens so i have to unplug from mains and reboot.

    Darren.

    Mine is either black screen, or the kernel panic message..

    // red.
Sign In or Register to comment.