Day 1 - phentos/rl-tutorial-godot GitHub Wiki

Progress

Completed up to integrating the event handler in Part 1.

Issues

I jacked up my late git setup, which led to (begin theory) conflicting project name resolution (end theory) which resulted in losing the scene tree. I'll need to start Day 2 by reconnecting the scripts/rebuilding the nodes.

Thoughts

Input.is_action_just_pressed

Examining how to avoid if clustering: afaict, Godot doesn't support just telling you what the action was (need to verify this). It's necessary to iterate through the actions you care about and check each. That prevents efficient use of match, so I used a Dictionary instead.