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 / 2D Within 3D

Author
Message
TIGGER
20
Years of Service
User Offline
Joined: 9th Jul 2004
Location: Somerset, England
Posted: 9th Jul 2004 23:15
I have a game coded which displays 2d bitmaps for games options at the beginning of the game. The 3D game begins, ends a level and I now wish to display a 2D bitmap (full screen) to show level details (scores points etc), before continuing to the next level.
Can this be done?
My details appear briefly (1 second) in the 3D world and the game continues to the next level.
I would like to "cover the 3D world" for these details to appear at the front.
Ideas, help, comments all gratfully received...
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 9th Jul 2004 23:24
Use the command "draw to front", and all the 2D should overlap the 3D

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
TIGGER
20
Years of Service
User Offline
Joined: 9th Jul 2004
Location: Somerset, England
Posted: 9th Jul 2004 23:31
Thanks Kentree - Done That Still the Same - 1 second and Gone even though I have a wait key in the logic
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 9th Jul 2004 23:40
try and put something like

for i=1 to 100
sleep 100
sync
next i

in there.

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
TIGGER
20
Years of Service
User Offline
Joined: 9th Jul 2004
Location: Somerset, England
Posted: 11th Jul 2004 02:09
SORTED........


The answer was Background off !!!!

The Game worked as required NOW .....

Login to post a reply

Server time is: 2025-05-25 01:32:12
Your offset time is: 2025-05-25 01:32:12