I just copied all required scripts into my projects and the hud is displayed correctly.
But my hero is changed to the default tunic1 hero sprite, so I just wanted to change the sprite id.
Only the call of the function game:on_started() let the HUD disappear and I cannot figure out why.
Here's my game_manager.lua:
local game_manager = {}
local initial_game = require("scripts/initial_game")
-- Starts the game from the given savegame file,
-- initializing it if necessary.
function game_manager:start_game(file_name)
local exists = sol.game.exists(file_name)
local game = sol.game.load(file_name)
if not exists then
-- Initialize a new savegame.
initial_game:initialize_new_savegame(game)
end
function game:on_started()
end
game:start()
end
return game_manager
Only the call of the function "game:on_started()" is enough to let the hud disappear,
I do not change or call anything in this function...
There's no error message in the console.

Can anyone help me?