Can someone help me with my code?

crazyfishdevcrazyfishdev Member Posts: 283
edited November -1 in Working with GS (Mac)
Ok, So I am making a short game and am having problems with my spawner. can you all tell me what is wrong...
image

Comments

  • AsymptoteellAsymptoteell Member Posts: 1,362
    What problems are you having?
  • crazyfishdevcrazyfishdev Member Posts: 283
    no actor spawns at all
  • AsymptoteellAsymptoteell Member Posts: 1,362
    What numbers are in the randoms?
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    you're rules are messed up. it should be

    if game.score >= 0
    and
    if game.score < 200
    spawn every 3

    if game.score >= 200
    and
    game.score < 600
    spawn every 2

    ...

    if game.score >= 600
    and
    game.score < 800
    spawn every 1

    the rules you have say:
    if my score is less than or equal to zero AND over 200, spawn every 3
    if my score is less than 200 AND more than 600 spawn every 2
  • AsymptoteellAsymptoteell Member Posts: 1,362
    yeah. Jon's right.
  • crazyfishdevcrazyfishdev Member Posts: 283
    thanks jon, my bad... I have been up way to long...
Sign In or Register to comment.