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 Professional Discussion / [Video Tutorial] Space Invaders 3D

Author
Message
Daniel TGC
Retired Moderator
19
Years of Service
User Offline
Joined: 19th Feb 2007
Location: TGC
Posted: 26th Dec 2010 02:12 Edited at: 26th Dec 2010 02:42
A new space invaders tutorial, in 3D. Just like the last time, it's all in one video. There's no parts you need to search for.



Fully 3D
Collision detection and reaction in multiple situations
* Player movement Limitation
* Alien bomb hit detection
* Player bullet hit detection
* Alien movement limitation
* Boundary detection (including shelters)
Lose game triggers
Movement limitation
Constructive Solid Geometry (CSG)
Media-less graphics
Demonstrates the following common DarkBASIC Pro elements.
* Functions
* Subroutines
* Data Types
* Arrays
* Variable types
* If Statements
* Mathematics
* Select and Case statements
* CSG Commands
* Object Commands
* 3D Space setup
* Lights
* Camera
* Action * kidding *
* Collision commands
* Text commands
* System commands

Game Source Code (mostly uncommented as I explain it all in the video)

Main.dba




Environment.dba




Functions.dba




DOWNLOAD PROJECT HERE
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 27th Dec 2010 21:12
Nice work!

Blobby 101
20
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 28th Dec 2010 00:04
Nice tutorial, who was Stephen Foreman BTW?

Daniel TGC
Retired Moderator
19
Years of Service
User Offline
Joined: 19th Feb 2007
Location: TGC
Posted: 28th Dec 2010 03:05
My father.
bond1
20
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 28th Dec 2010 04:23
This will be a great for me as I'm learning DBPro. Thank you!

"bond1 - You see this name, you think dirty."
SPECS: Windows7 x64, Intel Core i7 920, Geforce GTX 580, 6GB RAM
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 28th Dec 2010 09:15
Great bond1! Looking forward to seeing your work! If it's half as good as everything else you do it'll be worth waiting for!

Jimmy 9Toes
17
Years of Service
User Offline
Joined: 24th Nov 2008
Location:
Posted: 28th Dec 2010 16:06
Nicely done, and beautifully coded.

Yes THEE Jimmy9Toes
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 28th Dec 2010 16:10
Great work again, Daniel TGC! Sorry about your father. I'm sure he would appreciate this a lot.

Cheers

SLAYER RULES! YEAH, MAN!!
Jimmy 9Toes
17
Years of Service
User Offline
Joined: 24th Nov 2008
Location:
Posted: 28th Dec 2010 16:11
I seem to be getting an error on the "Perform" commands, am I missing a plug in?

Yes THEE Jimmy9Toes
Daniel TGC
Retired Moderator
19
Years of Service
User Offline
Joined: 19th Feb 2007
Location: TGC
Posted: 28th Dec 2010 19:20
It is part of the DarkBASIC Professional 7.5 update. You shouldn't need to do anything other then upgrade to this version.

Login to post a reply

Server time is: 2026-07-18 03:15:35
Your offset time is: 2026-07-18 03:15:35