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

Username:   Password: 
 RegisterRegister   
 Matrix Car Chase Game
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ChrisV




PostPosted: Wed Nov 02, 2005 4:42 pm   Post subject: Matrix Car Chase Game

The intro of this game is from another member on this board and some of the code is useless(using it for a project), but still not bad. a slow computer will hinder the game.


Unnamed.t
 Description:

Download
 Filename:  Unnamed.t
 Filesize:  7.98 KB
 Downloaded:  714 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
jamonathin




PostPosted: Wed Nov 02, 2005 9:12 pm   Post subject: (No subject)

When using someone else's code, im shure they would rather be known as their username not 'member' Wink. And speaking of that code, way too long man. I mean the duration of it. Cut it down a bit and customize it.

Now for the actual gameplay. Whats so 'matrix' about it, lol. If i were to make a horse racing game, and have an outerspace intro, could ireally call the game 'Space Cowboy'? No, cuz there's isn't any space about it. Its a good start to game making though. What you should do, so that you can learn more commands is keep that idea of the game, only make it smaller and use images. So basically what you can do with that is find an image of a cool looking car or somehting and use it for the player. Then get some other images (such as a bus, tank, car, camel) you know w/e, and use them for oncoming traffic.
You could just randomize the vehicles.

After that, you could set it up so that there's multiple vehicles/animals coming at the user at once at different speeds. Make it original . . kinda lol.
do_pete




PostPosted: Thu Nov 03, 2005 11:22 am   Post subject: (No subject)

you can use
code:
var introText : string := "The Matrix Car Chase"

for x : 1 .. length (introText)
    locate (maxrow div 2, maxcol div 2 - length (introText) div 2 + x)
    put introText (x) ..
    delay (100)
end for

instead of
code:
    locatexy (200, 200)
    put "T" ..
    delay (100)
    put "h" ..
    delay (100)
    put "e " ..
    delay (100)
    put "M" ..
    delay (100)
    put "a" ..
    delay (100)
    put "t" ..
    delay (100)
    put "r" ..
    delay (100)
    put "i" ..
    delay (100)
    put "x " ..
    delay (100)
    put "C" ..
    delay (100)
    put "a" ..
    delay (100)
    put "r " ..
    delay (100)
    put "C" ..
    delay (100)
    put "h" ..
    delay (100)
    put "a" ..
    delay (100)
    put "s" ..
    delay (100)
    put "e"
Cervantes




PostPosted: Thu Nov 03, 2005 1:45 pm   Post subject: (No subject)

Good point, do_pete, but you don't have to locate inside the for loop.

Turing:

var introText : string := "The Matrix Car Chase"
locate (maxrow div 2, maxcol div 2 - length (introText) div 2)

for x : 1 .. length (introText)
    put introText (x) ..
    delay (100)
end for


The .. after your put will move the cursor directly after what you just put, rather than moving it down a line and to col = 1.
ChrisV




PostPosted: Mon Nov 07, 2005 11:25 pm   Post subject: (No subject)

Thanks for the suggestions. I am a little new to "game making" but I do appreciate the comments. Just to clarify for "jamonathin", the car chase title is based on the Matrix Revolutions car chase scene.
do_pete




PostPosted: Tue Nov 08, 2005 9:54 am   Post subject: (No subject)

don't you mean the matrix reloaded car chase scene?
ChrisV




PostPosted: Wed Nov 09, 2005 9:45 am   Post subject: (No subject)

Yeah... sorry about that.. it is the matrix Reloaded
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  [ 7 Posts ]
Jump to:   


Style:  
Search: