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 / dbPasteSprite() show black screen

Author
Message
FPyro
16
Years of Service
User Offline
Joined: 18th May 2008
Location:
Posted: 18th May 2008 14:14
I got this code:


Result is a black window?
But if I use dbPasteImage(), it work. :-|

What is the problem??
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 18th May 2008 18:22
You haven't made a sprite from the image yet. Use dbSprite for that.
FPyro
16
Years of Service
User Offline
Joined: 18th May 2008
Location:
Posted: 18th May 2008 18:46
Dont't think that's the problem, because when you create a new 2D projekt, it use that code for background of the window.

But thanks anyway
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 18th May 2008 21:06


Quoted from a fresh gen from the 2D template. There is no such line in your code.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office

Login to post a reply

Server time is: 2024-11-20 11:47:55
Your offset time is: 2024-11-20 11:47:55