灵符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)

chapter8_preview.ling
# ─────────────────────────────────────────────────────────────────────────────
# chapter8_preview.ling — เล่นคัตซีนบทแปดเดี่ยว ๆ (the night, at last, was kind)
#   รัน:  ling run --interp chapter8_preview.ling
#   [enter/space/esc/จอย A/Start] ข้ามได้หลัง 5 วิ · จบเอง ~42 วิ
#   ⚠ พื้นหลังป๊อปอาร์ตกะพริบถี่ตามที่ออกแบบ (สไตล์อนิเมะยุคเก่า)
# ─────────────────────────────────────────────────────────────────────────────
ใช้ "music/songs"
ใช้ "instruments/gong"
ใช้ "instruments/yinyang"
ใช้ "instruments/chime"
ใช้ "instruments/gamelan"
ใช้ "instruments/fanfare"
ใช้ "game/title"
ใช้ "game/scenes/chapter6"
ใช้ "game/scenes/chapter8"

bind เล่นพรีวิว = do {
    เปิดหน้าต่างเต็มจอ("Chapter 8 — The Night At Last Was Kind (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/Main_Menu.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, w0, w1, w2, w3, w4, liq)
            bind สถานะฉาก = list_get(ผล, 0)
            ถ้า list_get(ผล, 1) > 0.5 { bind จบ = 1.0 }
        }
        มิฉะนั้น { bind จบ = 1.0 }
    }
    หยุดเพลง()
    เบลอเฟรม(0.0)
    print_color(2, "chapter 8 preview finished")
}

← Back to index