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.

DarkBASIC Discussion / Hydroxen 9 Engine

Author
Message
ScottyB
17
Years of Service
User Offline
Joined: 26th Jul 2007
Location:
Posted: 3rd Sep 2007 23:44
Please take it easy on me
This is my first darkbasic(lite) program.
I've been working on the engine for about a month and
this is what I got.

You are flying through space.
Use left mouse button to shoot rockets at asteroids.
(The are guided missles so one two at a time.)
Use right mouse buttom to shoot out space mines
as many as you would like at the asteroids.
Damage is indicated by red meter going up every time your ship is
hit without sheilds on.
Press spacebar to bring up sheilds which is indicated by blue bar
the comes on and shows blue semi-trans screen shields will quickly run out and you must power it again unless you wanna chance it or take damage.
Your ship rocks back and forth as you are hit.

Now, I know the sturcture is wacked as I'm trying to hack out my first game.

So if anyone know how I can increase the speed of this program it would be greatly appreciated also any suggestions or ideas would be nice too.

So have alittle fun and destroy those asteroids!!!

Sab
Scott B.

Attachments

Login to view attachments
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 4th Sep 2007 02:17
Quote: "Please take it easy on me. This is my first darkbasic(lite) program."

Don't worry, the DB board is a safe haven for hobbits I mean noobs. But steer clear of the WIP board, no noob has ever returned from there .

How do I open a rar file?
Can you post the code please

In programming, nothing exists
luke810
18
Years of Service
User Offline
Joined: 4th Sep 2006
Location: United States
Posted: 4th Sep 2007 02:42 Edited at: 4th Sep 2007 02:42
Obese: You need winrar to decompress rar files

I tried the program and it looks good for your first. The only problem was the mouse movement didn't seem to work correctly. It looks promising but it would be alot nicer if:

- you could move your ship slightly to avoid asteroids coming your way

- The guided missiles blew up before they went so far. If you missed an asteroid you had no way to fire a second missile before you got hit.

You should also load the meshes for your asteroids and then the asteroid texture and make the asteroid objects using those instead of loading the same model 20 times. You are also reloading the same image every loop in the for - next loop for creating the asteroids.
Not_Maindric
17
Years of Service
User Offline
Joined: 10th Jul 2007
Location: Omaha, NE
Posted: 4th Sep 2007 03:13 Edited at: 4th Sep 2007 03:19
I am not sure if you are interested or not, but I reduced how many poly's you had in each model by average of over half of the poly's, like with the wings on the missile, made them from over 100 each to 14 each. I hope you like it, the quality looks the same, just loads/plays faster. (File attached.)

Also, instead of making DB make the plane at the beginning of the program, make a plane on a 3D program to use, as a single plane on DB is triangulated, and double sided. (Meaning 4 pollys, if you make it on a 3-D program on your own, then it will be 1 Polly.) Speeding up the game a little bit more.

Also, when I played it, if it went a little faster, I would like it more, but I can barely see what is happening due to the lag...

Attachments

Login to view attachments
ScottyB
17
Years of Service
User Offline
Joined: 26th Jul 2007
Location:
Posted: 4th Sep 2007 05:32
Thanks for the upgraded/updated version.
I will work on useing planes from a modeller considering I use lots of planes for the explosions.
That should cut the ploy rate down some more.

Any ideas on moveing around a bit
steering the ship away from asteroids?
I know darkbasic has some free-flight commands would any of those do it?
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 4th Sep 2007 23:09
yeah those should

you've got move camera, turn camera, roll camera, pitch camera and all the same for objects as well... just look in the help files. I'm doing a similar sort of thing. Having trouble with the bullets with the roll camera command on though

I can't download your file at the moment, but your game sounds more impressive than mine anyway and I been using this on and off for years...

http://jamesmason01.googlepages.com/index.htm
ScottyB
17
Years of Service
User Offline
Joined: 26th Jul 2007
Location:
Posted: 6th Sep 2007 05:28
Thanks I'll check that out.

Login to post a reply

Server time is: 2025-06-02 07:11:54
Your offset time is: 2025-06-02 07:11:54