soul-symphony-ling
↓ 0 downloadsSoul Symphony — Ling Edition. A spiritual 3D adventure in the soul realm: collect the letters of the world-song, clear the monster lattice, and duel in the arcade arena. Wind Waker-style toon renderer with volumetric light pools, SSAO, bloom and oil-slick tilt-shift — all ling-lang vectors.
Keywords game, 3d, toon, music, soul-symphony
lingfu install soul-symphony-lingCode / Files (1947)
chapter2_preview.ling
# ─────────────────────────────────────────────────────────────────────────────
# chapter2_preview.ling — เล่นคัตซีนบทสองเดี่ยว ๆ (the terrible eye)
# รัน: ling run --interp chapter2_preview.ling
# (JIT อาจล่มด้วย cranelift TryFromIntError บนกราฟโมดูลใหญ่ — ใช้ --interp)
# [enter/space] ข้าม · [esc] ออก · จบเองที่ ~28 วิ
# ─────────────────────────────────────────────────────────────────────────────
ใช้ "instruments/gong"
ใช้ "instruments/yinyang"
ใช้ "instruments/chime"
ใช้ "instruments/gamelan"
ใช้ "instruments/fanfare"
ใช้ "game/title"
ใช้ "game/scenes/chapter2"
bind เล่นพรีวิว = do {
เปิดหน้าต่างเต็มจอ("Chapter 2 — The Terrible Eye (preview)")
tone_smooth(0); tone_bezier_off(); โทนขอบนุ่ม(0.32, 0.65)
ตั้งบลูม(0.5, 0.74)
ลบรอยหยัก(1)
bind liq = liquid_new(16.0, 16.0)
liquid_rainbow(liq, 1.0)
bind km = mesh_load("game/king.lmesh")
bind qm = mesh_load("game/queen.lmesh")
bind pm = mesh_load("game/palace_temple.lmesh")
bind pd = mesh_load("game/palace_deco.lmesh")
bind เพลง = โหลดเพลง("music/MoonTime.wav")
bind ยาวเพลง = ความยาวเพลง(เพลง)
เล่นเพลง(เพลง); ระดับเพลง(0.6)
bind เริ่มเวลา = เวลาปัจจุบัน()
bind บรรทัดก่อน = 0.0 - 1.0
bind จบ = 0.0
ขณะที่ จบ < 0.5 {
ถ้า หน้าต่างเปิดอยู่() {
bind ผล = เล่นฉากบทสอง(เวลาปัจจุบัน() - เริ่มเวลา, 0.0, บรรทัดก่อน, 1, 0.6, 0.8, เพลง, ยาวเพลง, km, qm, pm, pd, liq)
bind บรรทัดก่อน = list_get(ผล, 0)
ถ้า list_get(ผล, 1) > 0.5 { bind จบ = 1.0 }
}
มิฉะนั้น { bind จบ = 1.0 }
}
หยุดเพลง()
print_color(2, "chapter 2 preview finished")
}