Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / 50 liner: ** Formula 50 Grand Prix **

Author
Message
Ric
13
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 29th Mar 2007 17:59 Edited at: 29th Mar 2007 18:48
Formula 50 Grand Prix - my entry into the 50 line challenge. (No media)



You are the red car in pole position - first to 5 laps is the winner - enjoy!


Compressed format - 45 lines, maximum 25 commands per line:

+ Code Snippet

Uncompressed with comments:

+ Code Snippet

Tested successfully in DBPro 6.2.


Thanks to CPU for his advanced compressor snippet - http://forum.thegamecreators.com/?m=forum_view&t=61870&b=11 - which made light work of compressing this into 45 lines.

<note> Pressing space during the race gives access to 'secret 3d mode' - the game isn't really meant to be played like this, so a few things appear a little odd in this mode, it's just there for fun! </note>

Attachments

Login to view attachments
The Nerd
13
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 29th Mar 2007 18:25
hehe, that's a really awesome little game! Really impressive.

Well done Ric!

French gui
13
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 29th Mar 2007 19:08 Edited at: 29th Mar 2007 19:16
OMG! This is incredible! This is a master piece of code! I bet on you to win this compo Ric.

( My best lap: 10.31 )
IBOL
Moderator
13
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 30th Mar 2007 00:31
i just lost. looks great!

French gui
13
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 30th Mar 2007 00:53
Oh,Bob, you'll win the 2nd price...
Valle
11
Years of Service
User Offline
Joined: 10th Mar 2006
Location: in your girlfriends bed
Posted: 30th Mar 2007 19:49
absolutely awesome!!


Ric
13
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 30th Mar 2007 21:44
Thanks for the positive comments, guys.

FrenchGUI - 10.31 that's fast! I don't think I've managed under 12s yet - must need more practice!

filya
11
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 30th Mar 2007 23:46 Edited at: 31st Mar 2007 03:50
Ric, I am a DBPro beginner. Although if I try hard, I may be able to understand most of your code, could I request you to comment the code a bit more?
It would help me understand why you did something and how.

It may be pretty obvious to most around here, but it surely would help newcomers like me
If it's not too much trouble, you could comment the various 'paragraphs' you already have.

Thanks for the code! (even if you dont comment it )

-- game dev is fun...but taking up too much time --

Login to post a reply

Server time is: 2017-11-25 07:24:16
Your offset time is: 2017-11-25 07:24:16