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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user