feat: added new functionality with focus, added base background to screens, created Focus.close(), Focus.start(), Focus.driven() methods for different use-cases, added focus to screens
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Zoltan Timar
2026-02-26 14:53:22 +01:00
parent 226d75d905
commit 954a39aef1
12 changed files with 232 additions and 9 deletions

View File

@@ -1,5 +1,12 @@
Decision.register({
id = "play_rhythm",
label = "Play Rhythm Game",
handle = function() Meter.hide() MinigameRhythmWindow.start("game") end,
handle = function()
Meter.hide()
MinigameRhythmWindow.start("game", {
focus_center_x = Config.screen.width / 2,
focus_center_y = Config.screen.height / 2,
focus_initial_radius = 0,
})
end,
})