PDA

View Full Version : NDS 3D World Toolset - 3D Engine and Model/Map tool



Kung-Fu Fetus
September 7th, 2006, 17:39
NDS 3D World Toolset

http://www.coconnor.co.uk/nds3d/images/title.gif

After having a bash at creating a 2D game for the NDS (Finger Monkey and Inverto Goose) I decided to have a try at a 3D game.
I had a look at "NDS World Studio" which is a very good program, but as I like to program games in C++ and use OOP it didn’t meet my needs.

I decided to create my own model exporter. The exporter features:

- Exports each model as a c++ class for easy implementation into a game
- Supports multiple textures
- Bounding Box data for collisions


http://www.coconnor.co.uk/Images/Gallery/gallerySmall/ndsEd2.gif (http://www.coconnor.co.uk/Images/Gallery/gallerys/ndsEd2.jpg) http://www.coconnor.co.uk/Images/Gallery/gallerySmall/ndsEd1.gif (http://www.coconnor.co.uk/Images/Gallery/gallerys/ndsEd1.jpg)

After getting this initial exporter running and creating a 3D game engine to load them I found it was a pain to place objects to create a good looking 3D world.
I developed the exporter further into a Map Creation tool, which features:

- Load in X-Files
- Displays models in both free and top down views
- Create large worlds quickly and easily
- Setup collision costs and object types
- AABB data generated
- All code needed to create a 3d world is exported, just a bit of copy and pasting into the NDS 3d engine.
- creates bat files for use with Delfares texture exporter, which works really well

http://www.coconnor.co.uk/Images/Gallery/gallerySmall/nds3d9.gif (http://www.coconnor.co.uk/Images/Gallery/gallerys/nds3d9.jpg) http://www.coconnor.co.uk/Images/Gallery/gallerySmall/nds3d8.gif (http://www.coconnor.co.uk/Images/Gallery/gallerys/nds3d8.jpg)
The features of the 3D engine are:

- 3D Models created as C++ Classes for easy OOP implementation
- 3D object instancing – less NDS memory used
- AABB (axis aligned bounding box) collisions
- Collision costs – different cost result in different actions
- Simple Car Physics
- Billboards
- Follow and Overhead camera


Anyway after creating this toolset and 3D engine I started work on my game,
But recently I got a job programming computer games so no longer have the time to continue this.

I hadn't initially planned to release any of this apart from the final game, but then decided that someone else might find it useful,
So below you will find a user guide, game source code and 3D engine source code.
Read the User Guide for information on how to setup, run and use.

My Webpage (http://www.coconnor.co.uk/nds3d/index.html)

Download and Give Feedback Via Comments

ACID
September 7th, 2006, 17:41
Looks very nice im going to try it out.

Öhr
September 7th, 2006, 19:44
WOW! that looks really great!

wraggster
September 7th, 2006, 21:12
Looks awesome

Junixx
September 7th, 2006, 21:35
Wow this is very nice! well done

muppetman2000
September 7th, 2006, 21:36
Hi, i feel a bit of a fool asking but would some kind soul take pitty on me. I am a linux user and i can't extract the .rar file. Could some body send me the nds file to [email protected] pls, sorry if i am breaking some rule by asking for this.

CampaKaze
September 7th, 2006, 22:19
Someone should make an FPS with something like this, i mean with a level creator, that would be really really awesome, and somehow use an online server for WiFi-Multiplay

Junixx
September 7th, 2006, 23:08
Hi, i feel a bit of a fool asking but would some kind soul take pitty on me. I am a linux user and i can't extract the .rar file. Could some body send me the nds file to [email protected] pls, sorry if i am breaking some rule by asking for this.

I think there is a .rar extractor for linux...try WinRAR it ahs a command line extractor i think...

Mr_Biggs
September 7th, 2006, 23:14
great demo, anyone notice that the car, barrels and city look like half-life 2?

Kung-Fu Fetus
September 7th, 2006, 23:31
great demo, anyone notice that the car, barrels and city look like half-life 2?

Yes my initial idea was to create a game based in the HL2 universe, so I created low poly models and generated textures using HL2 textures. They look ok considering in HL2 they are 512x512 and in this demo they are 32x32

Mr_Biggs
September 8th, 2006, 01:04
ok? they look great! much more detailed than i would expect on a commercial game. too bad you forgot the jeep gun, some ant lions, and explosions... :D great work man, i plan on doing something with this.

The Hombrew Hunter
September 8th, 2006, 01:17
Neat. I'm going to get that C++ coding book from my uncle and try my hand at it...jeez...

Junixx
September 8th, 2006, 01:55
I'll prolly eventually try to learn C or C++ whenever i get my LUA game done and get a book from one of my friends...

linkenski
September 21st, 2006, 13:17
try serching for: "7-zip"

Flozem
October 3rd, 2006, 06:53
I think I'll go fiddle with it - building a 3d engine from scratch will just make my head ache, but this could be a nice jumpstart...

rigor
October 3rd, 2006, 17:51
I would like to see a Carmageddon game :)

tondopie
October 14th, 2006, 21:55
U R The Best!

jackdd4
June 15th, 2007, 20:24
go to www.media-convert.com to convert rar files into normal zip folders

s_rank90
November 11th, 2007, 04:06
Thanks.......
is your project open source? doesn't matter it looks very nice.

Hybeza
June 18th, 2008, 17:19
Sweet, ppl should make more of these. Awesome job.

Glacier Studios
March 11th, 2010, 04:22
i am getting a dll error...