![]() |
setshape2
Quote:
23 transparent nonblocking. 24 transparent blocking. That part of the image will be transparent. C&C? |
This is useless...? Could you clarify why you want this?
Use seteffectmode 2; |
Quote:
NPC Code: That works too :) Or just use setshape on an NPC with no image. Its not that hard to do :) Its very useful for a multitude of things. |
Quote:
EDIT: Let's say I want to use this with block.png. What would i do if I wanted the top left corner transparent? |
Quote:
Besides, just make the PNG transparent... that's not hard? |
Say that it is a 128x128 image. Instead of making 64 diffrent images, this option would be great!
|
Then why not just use tiles to do it? That is if you're not using terrain. What exactly are you trying to do? Have you considered asking for help with what you're doing? Someone might have a good idea or method that does what you're looking for.
|
Quote:
Also, the tiles thing would be good, but what if the image was not of tiles? I just thought this would be a good idea, and I still think that. |
Quote:
Seriously, this isn't something that is needed when there are better ways to do it. For example, just make one image for all the different combinations, put them in a gani and use params to control the appearance, and use an NPC for the script that knows what kind of tile field to setup based upon the given param. Something that would be more useful, though as a special effect, are effects like water ripples or realtime shadow casting :) The shadow casting, however might be a tad more difficult since its all 2D sprites :x But there are ways around such barriers. |
I see the usefulness if you wanted to do this dynamically, e.g. hide a middle square if it the boat gets shot or something, but not if it was supposed to be like that all the time.
If you have a 128x128 image, and want to cut something out and have a transparency, why the hell would you need 64 different images? |
It can also be done with a gani
Every tile you wanted to be able to hide, use a parameter, but I think the limit on that is 30 :x Or make a series of ganis using the image parts or whatever. Really, I don't see a need for such a thing anyway :p |
| All times are GMT +2. The time now is 02:52 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.