lots changes:

- renamed scene files
- fixed options back using scene.Prev
- fixed initial zooming (finally)
- fixed reset zoom (key r)
- fixed initial size, now works with state loading as well
This commit is contained in:
2024-06-03 17:44:17 +02:00
parent 6527dba219
commit 03e1101248
9 changed files with 94 additions and 48 deletions

View File

@@ -53,6 +53,7 @@ func (game *Game) Update() error {
next := scene.GetNext()
if next != game.CurrentScene {
game.Scenes[next].SetPrevious(game.CurrentScene)
scene.ResetNext()
game.CurrentScene = next
}