Is there anyway to stop DreamMaker from resizing your bitmaps? It keeps shrinking mine down to 32x32 and I don't know how to stop it.
~Ease~
ID:167190
Apr 17 2006, 6:26 am
|
|
Apr 17 2006, 6:28 am
|
|
Euh, place it with the 'Add' button, not fill when making a map.
|
In response to Mysame
|
|
I'm not using it on the map. Sorry I should have specified, I'm using it for an image.
~Ease~ |
In response to Ease
|
|
hmm. well, im not sure this is what you mean, but lets say you had a picyure of a house made on paint, and you wanted it to be put in a map.
obj |
In response to Xiphan
|
|
You put a .psd in there. It cannot be that. It's gotta be a PNG, BMP (Bitmap), or an icon.
|
In response to CaptFalcon33035
|
|
Evi of au has a library called 'DisplayImage' I think. It lets you take a .BMP, or a .PNG image and it expands it starting at the bottom left icon of the entire image.
|
In response to Koil
|
|
I cant see how it would be shrinking it down to a 32x32 image unless you are importing a bmp into DM as an icon.
|
In response to Dice1989
|
|
I don't know why either, but it is!
<code> var/I3 = image('Mob1.bmp',T2,FLY_LAYER+11) src<<I3</code> It's a large bitmap, not even square shaped, yet always appears as a 32x32 square tile. |
In response to Ease
|
|
Try var/image/I3.
|
In response to Mysame
|
|
I don't see how that could help at all, but I tried it anyway, and it didn't =P If I place the same .bmp on the map as a turf it doesn't shrink, but I really need the image, not the turf.
~Ease~ |
AFAIK, images and screen objects that are larger than 32x32 are shrunken down. You need to import the file into a .dmi so it will split it, then use the icon states it gives you accordingly.
|
In response to Airjoe
|
|
Heh, that bites! Maybe a procedure could be added into the next update to let you keep them full-size...
|
In response to Ease
|
|
Surpsingly enough, no one has stated this. Images are divided into coordinates relative to their location on an image. Because you didn't supply an icon_state, you got the default, blank one, which is a resized image 32x32.
|
For images larger than 32x32 if used as an icon will shrink to 32x32 on the empty icon state. However you can get parts of the image by using an icon state in the format x,y to get 32x32 chunks of the image. To figured out how many chunks there are just use the icons_states proc(In fact the example in the reference entry demonstrates this). Then just use seperate images, objects, turfs, overlays, or whatever to build the full image.
|
In response to CaptFalcon33035
|
|
Thanks man! That really helped! I owe you one! You too Theodis! =D
~Ease~ |