
-----------------------------------
solarsparten
Wed Feb 15, 2012 9:59 am

Conveyor Survival!
-----------------------------------
Conveyor survival is the first Turing game I have ever created, and the goal is basically to survive as long as you can on a conveyor belt, Up is to jump, down is to wait on the conveyor belt, red kills you, black is fine to touch. The game is not complete yet, but entirely playable. Feedback would be nice. The file is below

-----------------------------------
solarsparten
Fri Feb 17, 2012 11:07 am

RE:Conveyor Survival!
-----------------------------------
Please give feedback......... D:

-----------------------------------
Sur_real
Fri Feb 17, 2012 11:58 am

RE:Conveyor Survival!
-----------------------------------
It's very good. The black background caught me off guard at first lol (I guess that's like level 2 or something?)

Maybe you can add a retry button after losing (the only way atm is rerun the program?)


What else are you planning on adding since it's not complete yet?

-----------------------------------
evildaddy911
Mon Feb 20, 2012 3:33 pm

RE:Conveyor Survival!
-----------------------------------
that's awesome! one thing i would do though, is use arrays(if you've learned them); it would save a lot of lines
Using pictures as platforms would save several lines too.

Those are my only suggestions as far as coding, but you could add more platform types too; maybe some art, like making the black boxes into crates

-----------------------------------
solarsparten
Wed Feb 22, 2012 10:19 am

RE:Conveyor Survival!
-----------------------------------
I am planning on adding more platform types yes, and making them something other than black boxes in the future, Also I have not yet learned arrays, but I will figure it out. At the moment im trying to figure out how to make a retry button :"S

-----------------------------------
Raknarg
Wed Feb 22, 2012 10:41 am

RE:Conveyor Survival!
-----------------------------------
I can help you with that, if you like.

-----------------------------------
evildaddy911
Wed Feb 22, 2012 4:41 pm

RE:Conveyor Survival!
-----------------------------------
Since you already have input via keyboard, just put loop right before the part where you set the variable's initial values
 then,    if lose = 0 then
        colourback (white)
        exit
    end if


end loop


put "You have lost the game! You score was ", score, "!"
%% add this part:
put"Press space to retry"
loop
    Input.KeyDown(key)
    exit when key(' ')
    end loop
end loop    % completes the loop mentioned above

-----------------------------------
Raknarg
Thu Feb 23, 2012 2:11 pm

RE:Conveyor Survival!
-----------------------------------
Not qiute. You do that, but instead, you would use a nested loop:

loop 
   loop
      if lose = 0 then 
        colourback (white) 
        exit 
      end if 
   end loop 

   loop
      put "You have lost the game! You score was ", score, "!" 
      %% add this part: 
      put"Press space to retry" 
      Input.KeyDown(key) 
      exit when key(' ') 
   end loop 
end loop    % completes the loop mentioned above

