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 / 20 line 2 player 3d space shooter

Author
Message
UberTuba
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 1st Feb 2003 20:37
This is the code for my 20 line space shooter called astro-zoids.
the aim of the game is to be the last one standing
The controls for player one are arrowkeys to rotate and 0 ins for fire
The controls for player 2 are wasd and space for fire.
to shoot the other player you have to look directly at their ship(a circle crosshair should come up) aand press fire.
You can only fire when your weapon is charged.
If you hit an asteroid you die.
If you are shot you die.
If you die when you have no lives left, you lose
The controls system is a bit off because off the free flight bugs, so when patch 5 arrrives i will make a better one.
The game requires these two images saved in the same folder as the .dba




and here is the code:

rem ASTRO-ZOIDS
rem made-by Daniel Huggins (darkfluff)
Life is a terminal disease.
You never survive it.
UberTuba
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 1st Feb 2003 20:39
Hey it worked!

Life is a terminal disease.
You never survive it.
minkus
21
Years of Service
User Offline
Joined: 18th Jan 2003
Location: My House
Posted: 3rd Feb 2003 01:59
is this dbclassic or dbpro-when i tried it it said a,"exceeds 255 lines", so i shortened it, then it said "undeclared function parameter" or something?

The World has no meaning - but gaming does!
UberTuba
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 3rd Feb 2003 19:50
dbpro (3.1) as there are no multiple camera commands in db.
also db cannot handle more than 256 charachters in a line,
but pro can

Life is a terminal disease.
You never survive it.

Login to post a reply

Server time is: 2024-04-20 08:38:26
Your offset time is: 2024-04-20 08:38:26