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

Username:   Password: 
 RegisterRegister   
 My final project Escape-Ship Turing game
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
gokuasd




PostPosted: Thu Jun 12, 2008 1:14 pm   Post subject: My final project Escape-Ship Turing game

Hello, hopefully this game gives you an idea of making your own game..
It contains almost all the important things you need to know in grade 10.-Hopefully you can learn something....
Well, not going to annoy you guys... Have fun!

The music and background is erased however....
The Code is right here:

%Music is loaded.
process PlayBackgroundMusic (file : string)
loop
Music.PlayFile (file)
end loop


end PlayBackgroundMusic
fork PlayBackgroundMusic ("Your music.mp3")

The background:
var soundeffects : string (1)
put "Do you want sound and music Y/N? "
getch (soundeffects)
if soundeffects = "y" then

%Play the background music while loading the pictures.
fork PlayBackgroundMusic ("fire.mp3")
else
end if


Instruction is in the game....
By the way, call me Rachel.
Enjoy!



submit.t
 Description:

Download
 Filename:  submit.t
 Filesize:  19.08 KB
 Downloaded:  143 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Jun 12, 2008 4:54 pm   Post subject: RE:My final project Escape-Ship Turing game

Welcome to compsci, rachel!


Why couldn't you zip the file? All school computerw will allow this (except macs, don't know about them...) and then we don't have to be annoyed with having to do extra work.
Tony




PostPosted: Thu Jun 12, 2008 5:13 pm   Post subject: RE:My final project Escape-Ship Turing game

there could be a number of reasons for not including the music file. Either way, simply choosing not to play the file should make the rest of it work anyway.

@insectoid -- why would you even bring up macs if you don't know about them?

@Rachel -- this looks like an impressive project for grade 10. Though I have a pet peeve about fake loading screens.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Insectoid




PostPosted: Thu Jun 12, 2008 5:37 pm   Post subject: RE:My final project Escape-Ship Turing game

'All school computers' would include macs. If I did not mention them, and I was wrong, then I would be lying, wouldn't I?
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  [ 4 Posts ]
Jump to:   


Style:  
Search: