Forum > Texturing and 2D Art
Cinematic to 2D art
<< < (4/4)
Lawes:
god.
Steff:
Here our script Mordred did for Maruum.
All credits to him :) Just add on right place in InterfaceGlueXMLAccountLogin.xml and change your pathes:
--- Code: ---<Frame name="BGAccountLoginFrame" setAllPoints="true" toplevel="true" frameStrata="LOW" frameLevel="3"> <Layers> <Layer level="BACKGROUND"> <Texture name="BGTexture" file="ModcraftLoginScreenAnimMaruumLogin_0000.blp"> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-130"/> </Offset> </Anchor> <Anchor point="TOPRIGHT"> <Offset> <AbsDimension x="0" y="130"/> </Offset> </Anchor> </Anchors> </Texture> </Layer> </Layers> <Scripts> <OnLoad> BG_pic = 0; BG_maxpics = 72; BG_fps = 24; BG_time = GetTime(); BG_elapsed = 0; </OnLoad> <OnUpdate> if (GetTime()+BG_elapsed>BG_time+(1/BG_fps)) then BGTexture:SetTexture("Modcraft\LoginScreenAnim\MaruumLogin_000"..BG_pic..".blp"); BGTexture:Show(); BG_pic = BG_pic + 1; if BG_pic>BG_maxpics then BG_pic = 0; end BG_elapsed = 0; BG_time = GetTime(); else BG_elapsed = BG_elapsed + 0,01666; end </OnUpdate> </Scripts> </Frame> <Frame name="AccountLoginUI" setAllPoints="true"> --- End code ---
Lawes:
Thx ^.^
Navigation
[0] Message Index
[*] Previous page
|