Animate it skins5/7/2023 Currently, the engine supports “elastic“, “bounce“, “circle“, “back“, “sine“, “cubic“, “quadratic“ and, the default, “linear“. Instead of a steady acceleration or deceleration, you can specify curves that the animation should follow. ) tween Tween is like an advanced acceleration attribute that can be applied to all animations. (Bounce back from start to end to start to end. (jump back to the start after it reaches the end) pulse If “true” will make your animation pulse. loop If “true” will make your animation loop. Setting reversible="false” prevents this behaviour (the Hidden animation will take its place). For instance a Visible animation will normally be reversed (instead of running the Hidden animation) if the control becomes hidden before the visible animation has finished. reversible If “false” the animation is not reversed if it is interrupted when it is finished. See here for a list of valid conditionals. Center shifts the rotational axis at the level, rotatex - center="y,z" coordinates, rotatey - center="x,z" coordinates, rotate - center="x,y" coordinates condition The conditions under which this animation should be performed. You can set center="auto" to have Kodi automatically zoom from the center of the control. eg center="30,50” will mean that all points will revolve around (or zoom from) the (30,50) pixel location. This is the coordinates about which the rotation or zoom will take place. (Also see the tween attribute) center Center of the rotation or zoom to perform with a “rotate” or “zoom” transistion. A value of -1 will cause the control to come to rest at its end coordinates. acceleration Amount to accelerate or decelerate during a “slide”, “zoom” or “rotate” transistion. Similar to the start state, except that the end state is always kept after the animation is finished, and until the control changes its state. end The end state of the control for this transistion. Note: With zooms you can also specify the coordinates and dimensions of the texture. (ie start="50,60" will start the control at 50% of it's horizontal size and 60% of it's vertical size). For zooms, this is the starting size as a percentage.(ie start="30" will start the control off on an angle of 30 degrees from the horizontal). For rotates, this is the starting degree offset from the horizontal.For slides, this is the relative coordinate offset to start the control at (ie start="50,60" will start the control off at 50 pixels to the right, and 60 pixels below it's normal viewing position).For diffuse fades, this is the color as a "AARRGGBB" (ie start="FFFF0000" is fully red opaque start="7F00FF00" is green, half transparent).For fades, this is the opaqueness as a percentage (ie start="100" is fully opaque, start="0" is fully transparent).start The start state of the control for this transistion. Specifies the length of time that the animation will run, in milliseconds.ĭelay The time to delay the transistion before starting it, in milliseconds. fade - influences the opaqueness fadediffuse - influences the opaqueness and color rotatex - rotates a control around the X-Axis (horizontal) rotatey - rotates a control around the Y-Axis (vertical) rotate - rotates a control around the Z-Axis slide - translates the control zoom - magnifies/minifies the control time Currently “fade”, fadediffuse, “slide”, “rotate”, "rotatex", "rotatey", and “zoom” are supported. Note that all attributes, like tags, are case sensitiveĮffect Specifies the effect to use. Just saves having to have both animations if the animation is the same in both directions (ie just reversed) Attributes VisibleChange The same as the Visible type, except the reverse animation is auto-created for the Hidden type. Conditional Performed when the control's condition attribute is filled. Unfocus Performed when the control loses focus. Focus Performed when the control gains focus. Hidden Performed when the control becomes hidden via its tag. Visible Performed when the control becomes visible via its tag. No animation is performed when switching to fullscreen video, however. WindowClose Performed once only when the window is closed. WindowOpen Performed once only when the window is opened. The animation tag is formatted as follows for a single animation: There is also a combination animation VisibleChange that constructs the Visible animation, then reverses it for the Hidden animation. There are 6 valid control animations: WindowOpen, WindowClose, Visible, Hidden, Focus, and Unfocus. You can, however, have more than one animation performed for the WindowOpen or WindowClose animation. They take the same format as the control animations. There are two valid window animations – the animation to perform when the window is opened, and the animation to perform when the window is closed.
0 Comments
Leave a Reply. |