Crazy's Mod still in development
0 Members and 89 Guests are viewing this topic.
Also, there are other options like dissolving one element into another or adding movement from left to right.
Trait icon + status (resting/active/learning (we color the tiny round))
frame: align (.0, .0) xysize (330, 126) background Frame(Transform("content/gfx/frame/base_frame.png", alpha=0.98), 330, 126) hbox: ysize 110 $ trait = char.personality $ img = ProportionalScale("".join(["content/gfx/interface/images/personality/", trait.id.lower(), ".png"]), 120, 120) imagebutton: align (.0, .0) at pers_effect() xcenter 54 ycenter 59 idle img hover img hovered tt.Action("{=library_book_header_main}{color=}{size=17}%s{/=}{/color}{/size}"%trait.id + "\n" + trait.desc) action NullAction()
Can any element of interface have a tooltip? Or it's limited to buttons?
Omg, that pesky MPTraits animation. I made it likeAnd when MPTrait icon expands, it also expands the background frame background (tautology ), ruining the interface. Even though there should be plenty of space for it anyway. How to force background to not expand?
frame: background Frame(Transform("content/gfx/frame/p_frame5.png", alpha=0.98), 10, 10) xysize (330, 780) xanchor 0.01 ypos 30
I tried to add maximum (330, 126) to the frame, nothing changed, while it's supposed to limit its size.
This code draws the whole big left panel background at the character screen. I don't understand what 10,10 do there. Nothing changes when I change them.
Just did my first push today, if you want to take a look.
Also it would prolly look a lot cooler if the circle was transparent and we drew the animation behind it, but we can always to that later.