mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-17 20:41:03 +01:00
added d key to toggle debugging
This commit is contained in:
@@ -203,6 +203,10 @@ func (scene *ScenePlay) CheckInput() {
|
||||
scene.Reset()
|
||||
}
|
||||
|
||||
if inpututil.IsKeyJustPressed(ebiten.KeyD) {
|
||||
scene.Config.Debug = !scene.Config.Debug
|
||||
}
|
||||
|
||||
if scene.Paused {
|
||||
if inpututil.IsKeyJustPressed(ebiten.KeyN) {
|
||||
scene.Config.RunOneStep = true
|
||||
|
||||
Reference in New Issue
Block a user