+ versionnumber to title screen
This commit is contained in:
parent
ae7b9d8824
commit
06dd404285
|
@ -1,4 +1,6 @@
|
||||||
|
|
||||||
|
local version = require('common.version');
|
||||||
|
|
||||||
local splash1Image = gfx.CreateSkinImage('titlescreen/title/background.png', 0);
|
local splash1Image = gfx.CreateSkinImage('titlescreen/title/background.png', 0);
|
||||||
|
|
||||||
local triggerModeSelect = false;
|
local triggerModeSelect = false;
|
||||||
|
@ -10,6 +12,13 @@ local render = function (deltaTime)
|
||||||
gfx.BeginPath();
|
gfx.BeginPath();
|
||||||
gfx.ImageRect(0, 0, 1080, 1920, splash1Image, 1, 0);
|
gfx.ImageRect(0, 0, 1080, 1920, splash1Image, 1, 0);
|
||||||
|
|
||||||
|
gfx.LoadSkinFont("segoeui.ttf")
|
||||||
|
gfx.FillColor(255, 255, 255, 255);
|
||||||
|
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_TOP)
|
||||||
|
gfx.FontSize(28);
|
||||||
|
|
||||||
|
gfx.Text("USC:E:G:S:" .. version.MAJOR .. '.' .. version.MINOR .. '.' .. version.PATCH, 10, 10);
|
||||||
|
|
||||||
-- if (not splash1SfxPlayed) then
|
-- if (not splash1SfxPlayed) then
|
||||||
-- splash1SfxPlayed = true;
|
-- splash1SfxPlayed = true;
|
||||||
-- game.PlaySample('titlescreen/splash/splash1.wav');
|
-- game.PlaySample('titlescreen/splash/splash1.wav');
|
||||||
|
|
Loading…
Reference in New Issue