diff --git a/scripts/titlescreen/title.lua b/scripts/titlescreen/title.lua index e002118..4be7adf 100644 --- a/scripts/titlescreen/title.lua +++ b/scripts/titlescreen/title.lua @@ -1,4 +1,6 @@ +local version = require('common.version'); + local splash1Image = gfx.CreateSkinImage('titlescreen/title/background.png', 0); local triggerModeSelect = false; @@ -10,6 +12,13 @@ local render = function (deltaTime) gfx.BeginPath(); 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 -- splash1SfxPlayed = true; -- game.PlaySample('titlescreen/splash/splash1.wav');