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 / Why doesnt this code work( animation)

Author
Message
Klas Wullt
14
Years of Service
User Offline
Joined: 7th Dec 2009
Location: sweden
Posted: 11th Apr 2010 23:47
My goal 1 is to have animation show without the box.
My goal 2 is to have a background image.


Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 12th Apr 2010 03:41
Here is how you would get what you want.



You don't need to load an image with "dbLoadImage()" that your going to use for a sprite. You should also remember to delete sprites once you're done with them, and when you use "dbCreateAnimatedSprite()" you should also use "dbDeleteImage()" since it also creates an image along with that sprite.

http://www.darkgdk.us/ <- You can now submit pages, upload images, yet were lacking content. We need your help!
Klas Wullt
14
Years of Service
User Offline
Joined: 7th Dec 2009
Location: sweden
Posted: 12th Apr 2010 15:03
Look at attatched picture.
Code is 50/% functioning.
Your code does not work.
I tried to alter it to fix it.
But now returned to your orginal
code.

Goal 1. The frame still shows.
Goal 2. The background is successfully shown.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-10-02 03:30:08
Your offset time is: 2024-10-02 03:30:08