scaletoclipped takes a width and a height so use SCREEN_{WIDTH,HEIGHT} in place of SCREEN_{RIGHT,BOTTOM}.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
local children = {
|
local children = {
|
||||||
LoadActor(GetSongBackground()) .. {
|
LoadActor(GetSongBackground()) .. {
|
||||||
InitCommand=cmd(scaletoclipped,SCREEN_RIGHT,SCREEN_BOTTOM;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y);
|
InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y);
|
||||||
OnCommand=cmd(diffusealpha,0;sleep,0.5;linear,0.5;diffusealpha,1);
|
OnCommand=cmd(diffusealpha,0;sleep,0.5;linear,0.5;diffusealpha,1);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user