An 2D Interface Prototype for my game project

Advanced game related topics
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

An 2D Interface Prototype for my game project

Post by Guimauve »

Hello everyone !!

Yes ...
It can be done ...
Wtih PureBasic...

This is a prototype of the 2D interface for my 3D game project.
If you have play with TIE Fighter or X-Wing Alliance from Lucas
Arts, it's very similar interface.

Limitations :

Resolution fixed to 1024X768X32
DirectX7 or later is needed.
WideScreen is not supported yet.
The Main interface only.
Low to medium quality Graphics. (It's just for testing)
Be patient, it's long to load. (This will be solved very soon)

I will show it to you because it's time to test this part of my program.

File:1->OpenSpace.zip About 1.1Mo
Image

@Fred : I have asked for the CanvasGadget() because I need it to
built an editor to create graphics like these one. I will probably create
a temporary Gadget for my need until your is ready.

Have fun !

Regards
Guimauve
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Looks like it will be very nice.

I did pick this up from the error log

Text0 = OpenSpace - Erreur
Text1 = Impossible d'initiliser DirectX !
Text2 = Impossible d'ouvrir l'écran !
Text3 = Package - Erreur
Text4 = Le répertoire %PACK% n'existe pas !
Text5 = Le sous-répertoire %FOLDER% n'existe pas !
Text6 = Sprite - Erreur
Text7 = Impossible de charger les Sprites !
Text8 = Pack - Erreur
Text9 = Impossible d'ouvrir le Pack !

cheers
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Post by Guimauve »

Oh don't worry it's not an error log. This is error message text need by the program in case of trouble. They are in french for the moment but in the future the game will be fitted multi-language so a file with text message, one for each language, is needed.

I will change how these files will be generated later.

BTW, thanks for your reply.

Regards
Guimauve
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Post by Guimauve »

An updated version ready to test. If you use the launcher to start OpenSpace.exe you can choose between two screen resolution 800X600X32 or 1024X768X32.

The interface loading is way way much faster than the first release.

See the first post to download.

Regards
Guimauve
ZeHa
User
User
Posts: 38
Joined: Sun Apr 24, 2005 11:39 pm

Post by ZeHa »

Is it correct that there is no visible mouse cursor? If yes, I would consider changing this ;) otherwise it's too wacky to control
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

ZeHa wrote:Is it correct that there is no visible mouse cursor? If yes, I would consider changing this ;) otherwise it's too wacky to control
In my case, it loads a special 'pointer' cursor, although I'm not sure where it obtains it.

cheers
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

I see a pink cursor.

Request: titles above the doors; its annoying to look in the corner all the time when on a large monitor.
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Post by Guimauve »

thefool wrote:I see a pink cursor.

Request: titles above the doors; its annoying to look in the corner all the time when on a large monitor.
Just like a Gadget ToolTips ?

The cursor is a Sprite3D, you just need to display the sprite this way :

Code: Select all

DisplaySprite3D(#Cursor, MouseX(), MouseY())
or with an ordinary sprite

Code: Select all

DisplayTransparentSprite(#Cursor, MouseX(), MouseY())
ZeHa, your graphic card probably not support sprite size like 48X48. I will correct this problem on the next release.

Thanks for your test report.

Regards
Guimauve
Post Reply