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! / Need help for the image of my button... please someone help!

Author
Message
webadpro
21
Years of Service
User Offline
Joined: 14th Mar 2004
Location:
Posted: 21st Jul 2004 02:29
Hi..

I need help cuz I don't know why it's doing this.

I'm loading an image the the load image command every is alright but in the game the image is bigger than the original size..

BTW I'm loading a bmp file.

Could anyone help me!

Thanks,

Cheers!
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 21st Jul 2004 02:42
If you don't want the unwanted aliasing which is the blurry bit around your button, use the optional flag on load image command

load image "xyz.bmp",1,1

That keeps the image pixel perfect


Boo!
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 21st Jul 2004 03:22
maybe you haven't used..........

set display mode Screenwidth,Screenheight,32

You should set this to the same res as your graphics.

webadpro
21
Years of Service
User Offline
Joined: 14th Mar 2004
Location:
Posted: 24th Jul 2004 02:27
Thanks,

But I don't know why it's still bigger in the game than the original!

Anyone had the same problem?
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 24th Jul 2004 03:06
Like I said, the res will make it bigger.

webadpro
21
Years of Service
User Offline
Joined: 14th Mar 2004
Location:
Posted: 28th Jul 2004 09:17
so... if i make it with photopaint... ur telling me that if i put it too 32 and the same in my game it should be alright?
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 28th Jul 2004 22:08
No, if you make a screen 800*600 and then draw the sprite on that, then cut the sprite out, and save it, you can then use an 800*600 screen to view it at the correct scale. Do the same with any other screen res that you want to use.

webadpro
21
Years of Service
User Offline
Joined: 14th Mar 2004
Location:
Posted: 29th Jul 2004 05:09 Edited at: 29th Jul 2004 05:25
It's not even working...

Here's the image if u want to try it ur self!
http://webadpro.no-ip.org/night_racerz/b_start5.bmp

BTW the screen resolution is 800 * 600.

Cheers

Login to post a reply

Server time is: 2025-05-15 22:16:54
Your offset time is: 2025-05-15 22:16:54