ID:171575
Sep 3 2004, 11:19 pm
|
|
I some may have noticed I back to working on games which means you'll be seeing me here asking for help though I'll try to keep it to a minimum. Right now I am having a problem with my HUD. The Hud item I am having a proble with is a .bmp file and is 32pixels(height) by 96 pixels(width). When it comes on the screen it only taking up one box 32 x 32 pixels. It crushing the image to fit in 1 box. How would I make it so the image wouldn't be getting crushed so it would take up three boxes?
|
In response to DeathAwaitsU
|
|
so there's no way to get away with just 1 picture icon?
|
In response to Codesterz
|
|
You can do it I think.All you do is use .png files instead of .bmp .
|
In response to Dalga Productions
|
|
Nope.
|
In response to DeathAwaitsU
|
|
At one time I thought I achievied this with my title screen because when I put it down,It went in all the right spots and pieces.But that was a while back and maybe they changed it so,I am sorry for saying something does work when it doesnt.
|
In response to Dalga Productions
|
|
Welll that sucks. I wantedto get away with using picture files instad of making icon files. Cause its like the difference of 17 pictures or 123 icons in a dmi file...
|
In response to Dalga Productions
|
|
Unless your screen was a HUD, this is achievable using programmed turfs i guess. I dont know how people make fancy log in screens, but the way i see is this:
turf However displaying this as a HUD will not work. |
In response to Codesterz
|
|
I know, it sucks doesn' it?
Have a look at this: client And thats just the background of the thing. |
In response to DeathAwaitsU
|
|
lol... Yeah it does suck... Looks like I'm gonna have to take the time to make each little pice of the pisture into icons and then individually put the code in for each piece...
|
In response to Codesterz
|
|
Codesterz wrote:
lol... Yeah it does suck... Looks like I'm gonna have to take the time to make each little pice of the pisture into icons and then individually put the code in for each piece... There is an easier way. Make a new icon file, and then use the graphic->import (ctrl+I) menu (while viewing the blank icon file) and select the picture you want to import. If successful, it will break the picture into 32x32 squares, and also label each one with a location value. Eg 0,0 , 0,1 , etc. Also, the picture without a name is the base picture, fit into a 32x32 square. To actually place this, all i needed was a short nippet of code to make some new turfs and change the icon_state of each turf at the same time. turf |
And you're always better of using pngs instead of bmps.