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.

Newcomers DBPro Corner / Animating sprite problem

Author
Message
baps
21
Years of Service
User Offline
Joined: 29th Jul 2003
Location:
Posted: 30th Jul 2003 15:23
Greets again,

Having problems with displaying an animated sprite. The following code snippet is from a tutorial on DBHeaven. I have tried SHOW SPRITE along with other ways of getting the images on screen but with no effect, all I get is a black screen regardless of whether I press the right arrow or not.

Any ideas would be appreciated.

Baps.
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 30th Jul 2003 16:05
change sync rate to 0 or something much higher than 15

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't
baps
21
Years of Service
User Offline
Joined: 29th Jul 2003
Location:
Posted: 30th Jul 2003 17:30
I'm assuming the sync rate is low like that 'cause of the limited amount of images in the sprites animation. Anyway, that had no effect on the display. Thanks for trying though.

Any other ideas?

CloseToPerfect
21
Years of Service
User Offline
Joined: 20th Dec 2002
Location: United States
Posted: 31st Jul 2003 04:03
you need to change the current bitmap to 1 before you can grab images from it and then need to change it back to 0 to show the screen.

something like this. but I didn't check it, I didn't want to make a image to test it with.

p.s. DBpro does have animated sprite commands

Login to post a reply

Server time is: 2024-11-25 01:38:08
Your offset time is: 2024-11-25 01:38:08