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.

Newcomers DBPro Corner / how do i put an object in front of a sprite?

Author
Message
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 8th Oct 2005 09:14
in dbpro, how do i make it to where my 3d object is infront of my background screen?

i searched and searched...there was nothing about this, inly about sprite priority stuff...can anyone help?

X_MEN
21
Years of Service
User Offline
Joined: 14th Sep 2003
Location:
Posted: 8th Oct 2005 12:18
make your sprite using a plain the use the plain as a sprite

You can do it if you try
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 8th Oct 2005 17:30
You mean Draw To Back?

TDK_Man

BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 8th Oct 2005 20:46
ok, i tried that x_men, but now the plain is small. im running 800x600 resolution, so i set the scale object to that...i also put screen width and screen height in there, but it didnt work...i just want this thing to be full screen like a background.

Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 8th Oct 2005 23:43
use the command draw sprites first. This will force all sprites drawn after this command to be draw behind all 3d rendering. However, be carefull that you dont cover up all the sprites. draw sprites last will get the sprites draw after that command to the front.

Formerly known as SFLM.
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 9th Oct 2005 07:16
when i use that command...all my sprites dissapear, and only my object is there

Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 9th Oct 2005 11:50
backdrop off


The word "Gullible" cannot be found in any English Dictionary.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Oct 2005 23:26 Edited at: 9th Oct 2005 23:28
Here's TDKs and Flashing Blades suggestions in a code example (not that anybody elses suggestions are bad).

This works in Pro.

Login to post a reply

Server time is: 2024-09-24 05:28:45
Your offset time is: 2024-09-24 05:28:45