Old Tam in the trailer: three short lines, timed to the dawn flyover, the wolves and the Cove (same clip size)

This commit is contained in:
Paul Bailey
2026-11-08 23:58:43 +00:00
parent a629ddba49
commit 73599401bf
7 changed files with 74 additions and 1 deletions

View File

@@ -19,7 +19,11 @@ var hut_c := Vector3.ZERO
var fire_p := Vector3.ZERO
var yaw := 0.0
var _shots := 0
var _frame0 := 0
func _initialize() -> void:
_frame0 = Engine.get_process_frames()
_run.call_deferred()
func _h(x: float, z: float) -> float:
@@ -167,6 +171,9 @@ static func _env(t: float, a: float, b: float, fin: float = 0.6, fout: float = 0
## from and to black at its ends.
func _shot(secs: float, f: Callable, caption: String = "", fade: float = 0.5) -> void:
var n := int(secs * FPS)
# (When each shot starts, in the film: make_trailer.sh times Old Tam's lines by it.)
print("[shot] %d %.3f" % [_shots, (Engine.get_process_frames() - _frame0) / FPS])
_shots += 1
cap.text = caption
for i in range(n):
var t := i / FPS