Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Conveyor Survival!
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
solarsparten




PostPosted: Wed Feb 15, 2012 9:59 am   Post subject: 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


Conveyor Survival.t
 Description:
Please leave feed back and tell me how good the game is for a first try.

Download
 Filename:  Conveyor Survival.t
 Filesize:  10.18 KB
 Downloaded:  208 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
solarsparten




PostPosted: Fri Feb 17, 2012 11:07 am   Post subject: RE:Conveyor Survival!

Please give feedback......... D:
Sur_real




PostPosted: Fri Feb 17, 2012 11:58 am   Post subject: 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




PostPosted: Mon Feb 20, 2012 3:33 pm   Post subject: 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




PostPosted: Wed Feb 22, 2012 10:19 am   Post subject: 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




PostPosted: Wed Feb 22, 2012 10:41 am   Post subject: RE:Conveyor Survival!

I can help you with that, if you like.
evildaddy911




PostPosted: Wed Feb 22, 2012 4:41 pm   Post subject: 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,
Turing:
    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




PostPosted: Thu Feb 23, 2012 2:11 pm   Post subject: RE:Conveyor Survival!

Not qiute. You do that, but instead, you would use a nested loop:
Turing:

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
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: