Hello =)
If you use infinity while loop, your game will be stuck at the same frame.
Use instead:
func _process(delta):
if not camera_trigger: return
offset.y += camera_velocity
Edit:
And I think is better to use…
camera.position += camera_velocity * delta
… to move your camera