Godot Lightgun Project - Calibration Screen
Channel:
Subscribers:
364
Published on ● Video Link: https://www.youtube.com/watch?v=X2_GgMAVIuU
A nine-point calibration system for a lightgun game, made in Godot 4, with a rather arcadey look. You can't really see it just from this video, but the result is actually very accurate.
It's being tested with a Sinden gun in this recording, hence the white border, which is being rendered by the game itself and not the gun's accompanying software.
The calibration works by getting the mouse cursor's offset from the center of each cross at the time they were shot, and then interpolating between the nearest calibration points' offsets as you aim the gun around.