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 issue

Author
Message
ArKhaine
15
Years of Service
User Offline
Joined: 25th Aug 2009
Location:
Posted: 2nd Sep 2009 06:18
Can someone tell me why this code only displays the dbSprite() line, and not the dbPasteSprite call?



The call to dbSetSpriteFrame works, but the call to paste does not, leaving me with the original dbSprite at 0,0.

James

---ArKhaine
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 2nd Sep 2009 20:17
Can you actually paste an animated sprite?

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
Todd Riggins
20
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 3rd Sep 2009 02:05
Stabbing at a guess... Do you have dbPasteSprite inside your main loop before the dbSync function?

ArKhaine
15
Years of Service
User Offline
Joined: 25th Aug 2009
Location:
Posted: 3rd Sep 2009 12:15
Yes I do? Can you possibly give me some sample code. I would like to use dbPasteSprite() in my initialization code before the game loop to draw a tile map of the world.

Thanks,

james

---ArKhaine

Login to post a reply

Server time is: 2024-11-20 15:28:29
Your offset time is: 2024-11-20 15:28:29