IonicWind Software

Aurora Compiler => 3D Graphics => Topic started by: kryton9 on August 22, 2006, 06:00:34 PM

Title: Simple 3D Game
Post by: kryton9 on August 22, 2006, 06:00:34 PM
Latest Current Version : 3d space race v3.src

Commands:
Escape Key - Exit the Game
Left and Righ Arrows - Control Steering
Up Arrow - Speed Boost
Down Arrow - Slow Speed

Display:
Red Numbers - Distance Dot Racer is in the lead
Green Numbers - Distance you are in the lead

Enjoy!

Title: Re: Simple 3D Game
Post by: J B Wood (Zumwalt) on August 23, 2006, 07:05:15 PM
I think its cool :)
Title: Re: Simple 3D Game
Post by: kryton9 on August 23, 2006, 07:42:39 PM
Thanks zumwalt. Something to do till the next Aurora release comes out :) Going to play with sprites after I add a simple ai to race against.
Title: Re: Simple 3D Game
Post by: John S on August 23, 2006, 09:43:39 PM
very nice work!
Title: Re: Simple 3D Game
Post by: Protected on August 24, 2006, 04:13:12 AM
I can't run this, I get an error message in portuguese, most likely from directx itself, about it being impossible to find the "entrance point for the dxbegin2d function in dx3d9r.dll".
Title: Re: Simple 3D Game
Post by: kryton9 on August 24, 2006, 06:05:26 AM
Quote from: John S on August 23, 2006, 09:43:39 PM
very nice work!

Thanks John. I got a simple ai, but there is bug somewhere. It runs fine in debug mode, but crashes in regular run mode. Tough one to track down. As soon as I feel it is stable I will release the next version. It does make it fun to have someone to race against. Hope to have that out soon.
Title: Re: Simple 3D Game
Post by: kryton9 on August 24, 2006, 06:08:20 AM
Quote from: Protected on August 24, 2006, 04:13:12 AM
I can't run this, I get an error message in portuguese, most likely from directx itself, about it being impossible to find the "entrance point for the dxbegin2d function in dx3d9r.dll".

Protected, the version released as far as I know is stable. I didn't have any problems while testing it.  It does sound like something wrong with directx but I don't enough to say where.
Title: Re: Simple 3D Game
Post by: J B Wood (Zumwalt) on August 24, 2006, 06:46:26 AM
I suggest re-installing Aurora first, by completiy un-installing it then re-installing the latest build, A3R8
The error suggests you are using an older release.
That DLL is Paul's DLL to hook with DirectX, an entry point is like a door, and if the DLL is old it might not have the entry point, therefore no door.

Give this a try.
Title: Re: Simple 3D Game
Post by: Ionic Wind Support Team on August 24, 2006, 09:08:57 AM
Also make sure you don't have Aurora or any of the 3D examples running when you update to the newest version of the compiler.
Title: Re: Simple 3D Game
Post by: J B Wood (Zumwalt) on August 24, 2006, 01:29:55 PM
camPos = c.GetPosition();

should probably be

camPos = c.GetPosition(0);
Title: Re: Simple 3D Game
Post by: kryton9 on August 24, 2006, 04:10:37 PM
I tried the camPos(0), and it says wrong number of parameters. But what is funny is it is working now.
I placed the 0 in, got the wrong number of parameters message, took it out, and it compiled and ran with the execute button.