灵符lingfu

soul-symphony-ling

↓ 0 downloads

Soul 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-ling
AuthorsLing Lin <taellinglin@gmail.com>
READMECode / FilesVersionsDependency GraphDependentsSecurityBuildsSettings

Code / Files (1947)

chapter6_preview.ling
# ─────────────────────────────────────────────────────────────────────────────
# chapter6_preview.ling — เล่นคัตซีนบทหกเดี่ยว ๆ (the room between worlds)
#   รัน:  ling run --interp chapter6_preview.ling
#   [enter/space] ข้าม · [esc] ออก · จบเอง ~53 วิ (ฉากพักช้า + เดมอนใจดี)
# ─────────────────────────────────────────────────────────────────────────────
ใช้ "music/songs"
ใช้ "instruments/gong"
ใช้ "instruments/yinyang"
ใช้ "instruments/chime"
ใช้ "instruments/gamelan"
ใช้ "instruments/fanfare"
ใช้ "game/title"
ใช้ "game/scenes/chapter6"

bind เล่นพรีวิว = do {
    เปิดหน้าต่างเต็มจอ("Chapter 6 — The Room Between Worlds (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 w0 = mesh_load("game/palace_p0.lmesh")
    bind w1 = mesh_load("game/palace_p1.lmesh")
    bind w2 = mesh_load("game/palace_p2.lmesh")
    bind w3 = mesh_load("game/palace_p3.lmesh")
    bind w4 = mesh_load("game/palace_p4.lmesh")
    bind เพลง = โหลดเพลง("music/HealthyHell.wav")
    bind ยาวเพลง = ความยาวเพลง(เพลง)
    เล่นเพลง(เพลง);  ระดับเพลง(0.55)

    bind เริ่มเวลา = เวลาปัจจุบัน()
    bind สถานะฉาก = 0.0 - 1.0
    bind จบ = 0.0
    ขณะที่ จบ < 0.5 {
        ถ้า หน้าต่างเปิดอยู่() {
            bind ผล = เล่นฉากบทหก(เวลาปัจจุบัน() - เริ่มเวลา, 0.0, สถานะฉาก, 1, 0.55, 0.8, เพลง, ยาวเพลง, km, qm, w0, w1, w2, w3, w4, liq)
            bind สถานะฉาก = list_get(ผล, 0)
            ถ้า list_get(ผล, 1) > 0.5 { bind จบ = 1.0 }
        }
        มิฉะนั้น { bind จบ = 1.0 }
    }
    หยุดเพลง()
    print_color(2, "chapter 6 preview finished")
}

← Back to index