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 / Bad graphics

Author
Message
HB Productions
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location:
Posted: 8th Apr 2003 21:14
When I make a very simple title sprite and display it on screen with the 'sprite' command, it has chunks missing from it. Is it something to do with my coding, or is it how I made the sprite.
Xoid
21
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 8th Apr 2003 21:18
do you have a picture?

Do not anticipate the outcome of the engagement, let nature take it's course, and your tools will strike at the right moment - from "Tao of Jeet Kune Do" by Bruce Lee
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 8th Apr 2003 21:48
Try adding ,1 to the end of the load image command.

Engulfed by Darkness
21
Years of Service
User Offline
Joined: 31st Mar 2003
Location: Canada
Posted: 8th Apr 2003 21:55
Are the missing chunck of your sprite black perhaps???

If so you need to turn off the transparency to that sprite.
Like this:

SET SPRITE Sprite Number,BackSave State,Transparency

The BackSave State and Transparency must be 1 or 0.
If the BackSave State is set to 0 then the sprite will leave a trail of itself if it moves. Setting to 1 will stop this.
If Transparency is set to 0 then black will no longer be transparent.
Transparency set to 1 turns on the black transparency.


Hope that solves the problem.

Login to post a reply

Server time is: 2024-09-20 03:48:32
Your offset time is: 2024-09-20 03:48:32