#30: forced lighting, intro sounds, scarecrow chest glow
- DayNight.forced ("" / "morning" / "night") overrides target(); snap()
still works. DayNight.morning() is the MORNING phase's look.
lanterns_dark keeps every lantern at 0.
- synth_audio.gd: ufo_hum (4 s loop), ufo_whine, part_fall, life_flash,
ufo_zoom, car_door, each on its own seed (existing wavs unchanged).
FarmAudio cues for those plus door_creak (kenney creak1/2), all in
LOCAL_CUES.
- PlayerCharacter: a blue core glow on the chest bone (BoneAttachment3D):
an unshaded gem, an additive halo pulled toward the camera, and a weak
pulsing OmniLight3D. On for every scarecrow; set_core_glow(on) hides
it. set_tint skips it; the hit flash overlay and ToonLook leave it alone.
- test_look: forced/lanterns_dark, the intro cues, the glow on both
scarecrows, hit flash intact, set_core_glow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5dbad4c915
commit
4b86f655c4
17 changed files with 562 additions and 4 deletions
|
|
@ -15,6 +15,9 @@ extends Node3D
|
|||
## * phases: the dusk bell, stingers at dusk, nightfall, sunrise, and morning; game over;
|
||||
## the day and night ambience (crossfading through dusk and dawn)
|
||||
## * UI: hover, click, back, open, close, error (ui(), also from the menus)
|
||||
## * the opening intro (OpeningIntro, solo only, so never sent): the farmhouse door's creak, the
|
||||
## car doors, the big UFO's hum (a loop), spin-up whine, and zoom away, the part's falling
|
||||
## whistle, and the flash that brings the scarecrow to life
|
||||
## * Music (the Music bus), by phase: "On the Farm" on the title screen (the farm's morning
|
||||
## behind it), the morning, and by day, and when the farmers are back; "Purgatory" at night;
|
||||
## none at dusk, at dawn, or after a Game Over (only the ambience). Tracks crossfade.
|
||||
|
|
@ -101,11 +104,20 @@ const CUES := {
|
|||
"truck_engine": {"files": ["synth/truck_engine.wav"], "db": -6.0},
|
||||
"day_ambience": {"files": ["synth/day_ambience.wav"], "bus": "Ambience"},
|
||||
"night_ambience": {"files": ["synth/night_ambience.wav"], "bus": "Ambience"},
|
||||
# The opening intro ("ufo_hum" loops: play it on a player of its own, with stream_of)
|
||||
"door_creak": {"files": ["kenney/rpg/creak1.ogg", "kenney/rpg/creak2.ogg"], "db": -2.0, "pitch": 0.05},
|
||||
"car_door": {"files": ["synth/car_door.wav"], "db": -3.0, "pitch": 0.06},
|
||||
"ufo_hum": {"files": ["synth/ufo_hum.wav"], "db": -6.0},
|
||||
"ufo_whine": {"files": ["synth/ufo_whine.wav"], "db": -6.0},
|
||||
"part_fall": {"files": ["synth/part_fall.wav"], "db": -6.0},
|
||||
"life_flash": {"files": ["synth/life_flash.wav"], "db": -2.0},
|
||||
"ufo_zoom": {"files": ["synth/ufo_zoom.wav"], "db": -4.0},
|
||||
}
|
||||
## Cues each machine plays for itself in co-op (never sent, never skipped).
|
||||
const LOCAL_CUES: Array[String] = ["ui_hover", "ui_click", "ui_back", "ui_open", "ui_close", "error", "step", "chop",
|
||||
"rustle", "clank", "hammer", "patching", "bell", "dusk", "night", "dawn", "morning", "game_over", "victory",
|
||||
"assessment", "horn", "truck_engine", "day_ambience", "night_ambience", "upgrade", "fear_ready"]
|
||||
"assessment", "horn", "truck_engine", "day_ambience", "night_ambience", "upgrade", "fear_ready", "door_creak",
|
||||
"car_door", "ufo_hum", "ufo_whine", "part_fall", "life_flash", "ufo_zoom"]
|
||||
const VOICES_3D := 20
|
||||
const VOICES_UI := 10
|
||||
## Seconds of channel between repeats of the gather / repair / patch sounds, and meters per
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue