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 / quick dbSprite question

Author
Message
Tdawg
16
Years of Service
User Offline
Joined: 24th Nov 2007
Location:
Posted: 11th Dec 2007 00:01
ok so ive jus started using Dark GDK with VS2008 C++ and I was having a small issue with dbSprite. I clear the screen to black using dbCLS(RGB(0,0,0)) and that clears the screen to blank fine but when I add a sprite, the background goes to blue for some reason, does anyone kno why this is?
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 11th Dec 2007 00:58
youre on approval, your posts arent immediately visible in the forums, stop double posting, thanks

My DBP plugins page is now hosted [href]here[/href]
aersixb9
16
Years of Service
User Offline
Joined: 29th Nov 2007
Location:
Posted: 11th Dec 2007 02:32
I know this one too! dbCls is the wrong function to use, use dbColorBackdrop(dbRGB(0,0,0)); for black. dbCls clears one frame, while dbColorBackdrop colors the background forever!

Login to post a reply

Server time is: 2024-11-19 20:42:11
Your offset time is: 2024-11-19 20:42:11