![]() |
cropping zoomed images
Hmm, I'm having a problem, I hope I can explain it well... Ok, here goes.
If I have an image of, for example, 16*16 pixels, then I want to do a setzoomeffect of... 3... Ok, So i've done that, and now I should have an image of 48*48 pixels. (Unless my math is just THAT horrible). Ok. Now, what if I do a NPC Code: Well... Nothing... I've tried this useing showimgs as well, NPC Code: Will this not work? Or am I just really horrible at scripting? :( |
your script syntax is way off.
edit: your a level maker so here ya go: NPC Code: |
Quote:
And put setimgpart in the filename for showimg... Wtf 0.o; Eh, I guess I just made foolish mistakes while rushing to test this... Sorry to take up your time ;P |
i am used to working with level makers who can't script there way out of a paper bag.
|
This still isnt working the way I wanted... I want it to perform the zoom command then set the image part with the zoomed image... @_@;
|
just decide what pixels you want enlarged before enlarging them.
|
Perhaps you should try showing the image, cropping it from it's 16x16 size, then zoom it... The changeimgpart command might not even take into consideration zoom factor, and thus you would have to crop from the 16x16 size rather than the zoomed size, even if it is already zoomed... that's just a guess btw, so don't hold me to it
|
I just wish that zooming wouldn't change the image's position, it makes it rather cumbersome to show a dynamically zoomed image at the correct position...
|
Well, that was just an example, what I really wanted to do was have a one pixel image of a certian colour so I could use it to make it look like a room was being filled with water.... I suppose I could use polygons... But only V3+ supports alpha blending for those, and I wanted the water to be translucent. :(
|
| All times are GMT +2. The time now is 07:53 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.