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 / Wierd animated sptrite problems.

Author
Message
xrabohrok
16
Years of Service
User Offline
Joined: 23rd Feb 2008
Location:
Posted: 23rd Feb 2008 23:27
This is such a frustrating problem that I don't know where to begin. I am new to DGDK, but I pretty fluent in C++. I made a simple program that made a really simple click and drag interface (nothing more than dragging the picture and dropping it where you let go). Then I tried animating one of the sprites with dbCreateAnimatedSprite(), and wasn't as successful. The sprite, when I hit it with dbPlaySprite(), would do a number of things, like shred the picture into pixels, show only one pixel of the picture, or simply animate it in a spazzed out way. With some tinkering around, I found that only sprites with a picture size of 512 x 512 work. Interestingly enough, when I compiled DarkInvaders to see if I was just crazy, only the UFO showed up!

Keep in mind that these screen shots don't show the sprites flickering well.

I cannot begin to describe how important the semicolons are.
They are just too freaking important.

Attachments

Login to view attachments
xrabohrok
16
Years of Service
User Offline
Joined: 23rd Feb 2008
Location:
Posted: 24th Feb 2008 22:05
I tried the same program on a different computer, and it works. This suggests a problem with my computer. I will investigater further.

I cannot begin to describe how important the semicolons are.
They are just too freaking important.

Login to post a reply

Server time is: 2024-09-29 13:35:23
Your offset time is: 2024-09-29 13:35:23