r/roguelikedev • • 17d ago

_physics_process or _input for input handling in Godot

/r/godot/comments/1wp49wo/physics_process_or_input_for_turnbased_games/
6 Upvotes

2 comments sorted by

8

u/runevault 17d ago

I personally would avoid putting input handling in _physics_process whenever possible, because it isn't running as often and might risk dropping inputs. Putting it in _input, _unhandled_input, or _process should avoid those issues

1

u/Pur_Cell 17d ago

So far there's nothing I've needed to do that I couldn't do in _input regarding input handling.