Added custom win text on mobile
This commit is contained in:
parent
c13b878b45
commit
f7efcb57d5
BIN
assets/text/winmobile/blue.png
Normal file
BIN
assets/text/winmobile/blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/text/winmobile/pink.png
Normal file
BIN
assets/text/winmobile/pink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
@ -3,7 +3,9 @@ local gen= {}
|
|||||||
function gen:new(game,winner)
|
function gen:new(game,winner)
|
||||||
|
|
||||||
local End = game.objects.base:new(game,0,0,0,0)
|
local End = game.objects.base:new(game,0,0,0,0)
|
||||||
End.sprite = game:newImage("text/win/"..winner..".png")
|
local folder = "win"
|
||||||
|
if game.OSTYPE=="Mobile" then folder = "winmobile" end
|
||||||
|
End.sprite = game:newImage("text/"..folder.."/"..winner..".png")
|
||||||
End:register("End")
|
End:register("End")
|
||||||
|
|
||||||
function End:step(dt) end
|
function End:step(dt) end
|
||||||
|
Loading…
Reference in New Issue
Block a user