-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fallback/Scripts doc comments. Global assets
global assets are avatars, toasties and judgements (For now). TODO: Selector in theme docs use ldoc
- Loading branch information
1 parent
e49c92d
commit fa1ca5a
Showing
35 changed files
with
768 additions
and
723 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 11 additions & 5 deletions
16
Themes/Til Death/BGAnimations/ScreenGameplay toasty/default.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
local t = Def.ActorFrame{ | ||
LoadActor( "toasty.png" )..{ | ||
Def.Sprite { | ||
InitCommand=function(self) | ||
self:xy(SCREEN_WIDTH+100,SCREEN_CENTER_Y) | ||
self:Load(getAssetPath("toasty")..".png") | ||
end, | ||
StartTransitioningCommand=function(self) | ||
self:decelerate(0.25):x(SCREEN_WIDTH-100):sleep(1.75):accelerate(0.5):x(SCREEN_WIDTH+100) | ||
end | ||
}, | ||
LoadActor ( "toasty.ogg" )..{StartTransitioningCommand=function(self) | ||
self:play() | ||
end} | ||
}, | ||
Def.Sound { | ||
InitCommand=function(self) | ||
self:load(getAssetPath("toasty")..".ogg") | ||
end, | ||
StartTransitioningCommand=function(self) | ||
self:play() | ||
end | ||
} | ||
} | ||
return t |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.