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.

Dark GDK / layers

Author
Message
zappy
16
Years of Service
User Offline
Joined: 26th Nov 2007
Location:
Posted: 3rd Dec 2007 15:40
i'm trying to put a 3d animation over some sprites but when the animation loads i connot see the sprites animore, just the 3d animation and its background, i tried using dbDrawSpritesFirst() but it doesn't work... the 3d animation is a *.x file.

pls help....
Pharoseer
17
Years of Service
User Offline
Joined: 21st Feb 2007
Location: Right behind you
Posted: 5th Dec 2007 00:59
Hey Zappy,

Drawing the sprites first ensures that they are drawn BEFORE the 3D animation is being drawn. That would mean that when the 3D is drawn it overwrites the sprites. The default behavior, according to the documentation, is drawing the sprites last (see the dbDrawSpritesLast() command). If you comment out the dbDrawSpritesFirst() and still can't see your sprites, then something else must be going on. Post the code in question and maybe we can be a bit more help. If nothing else, try specifically calling dbDrawSpritesLast().

-Frank

Login to post a reply

Server time is: 2024-11-19 18:37:58
Your offset time is: 2024-11-19 18:37:58