mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
back to otclient dev, with new background!
* show otclient version in background * disable about module (don't really need it) * new function for formating strings like sprintf, Fw::formatString * new nice background (taken from RPG maker XV) * update contact information in README * fix text rendering issues with opacity
This commit is contained in:
@@ -8,6 +8,11 @@ function Background.init()
|
||||
background = displayUI('background.otui')
|
||||
background:lower()
|
||||
|
||||
local clientVersionLabel = background:getChildById('clientVersionLabel')
|
||||
clientVersionLabel:setText('OTClient ' .. g_app.getVersion() .. '\n' ..
|
||||
'Built on ' .. g_app.getBuildDate())
|
||||
Effects.fadeIn(clientVersionLabel, 1500)
|
||||
|
||||
connect(g_game, { onGameStart = Background.hide })
|
||||
connect(g_game, { onGameEnd = Background.show })
|
||||
end
|
||||
|
Reference in New Issue
Block a user