Added debug menu option for resetting key mappings to default. Added sanity checking requirement to ScreenMapControllers.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
return Def.ActorFrame{
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y),
|
||||
Def.Quad{
|
||||
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,Color.Black;diffusealpha,0),
|
||||
SetTextCommand=cmd(stoptweening;diffusealpha,1;linear,0.5;diffusealpha,0.8),
|
||||
TweenOffCommand=cmd(stoptweening;linear,0.5;diffusealpha,0),
|
||||
},
|
||||
Def.ActorFrame{
|
||||
Def.BitmapText{
|
||||
Font="Common Normal",
|
||||
InitCommand=cmd(y,10;wrapwidthpixels,SCREEN_WIDTH-48;diffusealpha,0),
|
||||
SetTextCommand= function(self, param)
|
||||
self:settext(param.Text)
|
||||
self:playcommand("TweenOn")
|
||||
end,
|
||||
TweenOnCommand=cmd(stoptweening;diffusealpha,0;sleep,0.5125;linear,0.125;diffusealpha,1),
|
||||
TweenOffCommand=cmd(stoptweening;linear,0.5;diffusealpha,0),
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user