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.

2D All the way! / Sprite Problem/image problems

Author
Message
NETMAN007
22
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Malta
Posted: 31st Jan 2005 17:56
My problem is the one, in the picture.
http://us.f1f.yahoofs.com/bc/70029358/bc/images/Image+Sprite+Problem.jpg?bfGRg_BBgP1qn_oj

All the pictures you see are all sprites. I am using this command for each picture.

E.g.
Load image "images/0.jpg",1,1
Sprite 1,50,50,1

What am I doing wrong. Y is the numbers showing like that. The bakground under the numbers is black.

Life is the biggest multiplayer game ever invented - Netman007

Attachments

Login to view attachments
AlexRiva
20
Years of Service
User Offline
Joined: 29th Jan 2005
Location: Monza, Italy
Posted: 2nd Feb 2005 00:18
The problem is that when you use jpg images, the background colour is not saved all as black, but there are many levels of dark gray around your shaped image. Try to remake and load the images in bmp format and you'll see the "pixelation" effect around the numbers will disappear.
Alex
NETMAN007
22
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Malta
Posted: 2nd Feb 2005 04:45
I have made them bmp, and they still shows that effect. The background under the numbers is pitch black, so the image surely is not the problem. And now they are .bmp.

Life is the biggest multiplayer game ever invented - Netman007
pizzaman
21
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Gateshead, UK
Posted: 2nd Feb 2005 10:10 Edited at: 2nd Feb 2005 10:11
Are sure you painted over all the black bits with pure black, rgb(0,0,0), because if you have just saved the .jpg picture to .bmp, then the pixels will not be pure black.

If your still having problems post the picture file thats giving you the problems.

NETMAN007
22
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Malta
Posted: 3rd Feb 2005 20:39
Ok 10x. All I did was save the jpg to bmp.
I will try blackening so to speak, the black parts of the bmp file, and see if it solves my problem. Thanks pizzaman and Alexriva

Life is the biggest multiplayer game ever invented - Netman007

Login to post a reply

Server time is: 2025-05-17 22:58:39
Your offset time is: 2025-05-17 22:58:39