diff --git a/assets/text/winmobile/blue.png b/assets/text/winmobile/blue.png new file mode 100644 index 0000000..941153f Binary files /dev/null and b/assets/text/winmobile/blue.png differ diff --git a/assets/text/winmobile/pink.png b/assets/text/winmobile/pink.png new file mode 100644 index 0000000..a198969 Binary files /dev/null and b/assets/text/winmobile/pink.png differ diff --git a/objects/end.lua b/objects/end.lua index e464362..74f3ca6 100644 --- a/objects/end.lua +++ b/objects/end.lua @@ -3,7 +3,9 @@ local gen= {} function gen:new(game,winner) 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") function End:step(dt) end