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 / Basic squad control system

Author
Message
Lord Vetinari
19
Years of Service
User Offline
Joined: 4th Mar 2005
Location:
Posted: 5th Mar 2005 22:50
This is a very basic squad control system that could be used in a game, it was made in DBC and I have yet to test it in DBPro so I am not sure if it will compile well. Sorry its so basic but 20 lines is not much to work with, as I'm sure you know, if anyone has any suggestions or criticisms, I hope you like it!!!

Attachments

Login to view attachments
Ollivier
19
Years of Service
User Offline
Joined: 27th Feb 2005
Location:
Posted: 5th Mar 2005 23:59
In DBC, the longest program line contains 240 characters.

I had the same problem: I believed many instructions couldn't accept ':'. Now I know its wrong!

So your program can be less long.

It's a simple exemple to move over a matrix. Continue!
Lord Vetinari
19
Years of Service
User Offline
Joined: 4th Mar 2005
Location:
Posted: 7th Mar 2005 00:26
Thamks, I will improve the program and submit a better one very soon
JARS
20
Years of Service
User Offline
Joined: 15th Jul 2004
Location:
Posted: 22nd Mar 2005 03:24
just because it states 20 lines of code here doesn't mean you cannot have another version where you actually put this small piece of code into action in a larger code... in fact, if everyone submitted 20 lines of code as functions and some were taken to make a game, it would look stupid but would be nice... I'm gonna check out this code soon...

J.A.R.S.

Login to post a reply

Server time is: 2024-11-24 02:59:28
Your offset time is: 2024-11-24 02:59:28