|
Post by tenson on Apr 2, 2008 14:06:11 GMT -5
Is it possible to support Cycircled textures? Or can we have similar button/menu/sphere textures for LS?
Is it possible to shape similar to what others have done to the minimap?
Thanks.
|
|
|
Post by Chaos on Apr 2, 2008 16:05:17 GMT -5
You can simply move the textures from Cycircled and import them as usual. I've tested this and works fine, but the square buttons look a bit funny cause LS isn't set up for square buttons yet. Also, you may wish to skip any textures that have "Highlight" as they don't appear correctly.
BTW, I wasn't aware that LS supported .tga files. That changes some stuff..... =D
|
|
|
Post by Moongaze on Apr 2, 2008 17:43:32 GMT -5
Honestly, DrDamage is the ONLY exception I made to not using other addons with LunarSphere. The problem with joining-up with other addons to do stuff is that if that addon changes something really essential to how LS interfaces with it, that feature will be broken and cause errors and it "technically" isn't LunarSphere's fault, but the communication between the two addons. I added DrDamage support mainly because I didn't want to bother doing the calculations for the spell damage or spell healing and showing them in LunarSphere. If I did the spell damage/healing number on the buttons with my own code, I could probably do it better than DrDamage in the memory department and not take up 1.4 megs of addon memory... but I could be wrong =) DrDamage uses a lot of pre-assembled data for the spell data instead of building it on-the-fly, which is what I like to do. In regards to CyCircled, it's the same thing. If that addon changes something essential, LS will break and I would have to disable the feature OR fix it so they play happily again. Although I like to think that I will be around for a while and keep maintaining this addon, if something happens and I can't anymore, I would like to think that LunarSphere, in its current design, will withstand all of the patches. Things typically don't break in LS when a patch arrives *crosses fingers* However, like chaosinc suggested, you can just drag the textures into the LunarSphereImports folder and manually import them into LunarSphere (it does support .blp AND .tga files) and you'll be good to go. I do plan to add square button support in the future and there will be an option while importing the art that will let you set the button as a circle or a square. If it's square, LS won't do the auto-shaping of the inner icons for you. As for shaping of the buttons, I'm basically restricted to square and circle buttons. This is because that is the only thing I can do with the ICON inside of the button. The button border can be any shape you want. The problem is the border size, which is something I want to address at a later time. For example: Let's say an button is 64x64 in size. The icon is about 54x54 in size, allowing for the button to have a border that is 5 pixels wide or tall on all sizes. This means that in the button artwork that is created for LunarSphere, 84% of the CENTER of the button art needs to be empty/blank/transparent so that the icon can be seen. That's not a lot of room to work with. If you wanted the button to have a really long bottom or side (like blood dripping down, for example), you can do it, but since the art is resized to fit the 64x64 area, your image will be smaller, your icon "hole" will be smaller, and you will notice what I'm talking about. Kinda hard to describe =( I will make other shapes for the buttons eventually. It's been over 6 months since I released the original batch of buttons and I have a bunch of other designs I want to try but haven't had the chance
|
|
|
Post by tenson on Apr 3, 2008 0:20:46 GMT -5
Doh. I didn't realize the way to support it is to hook into them.
I was hoping LS can accomplish similar things to Cycircled which re-shapes the buttons (and maybe use ShareMedia to import textures?).
I understand now that the trouble would be too great to make the implementation feasible.
Thanks for your help.
=)
|
|