
비주얼 노벨 구축하기
좋아하는 JS 프레임워크로 환상적인 비주얼 노벨을 제작하세요
Pixi'VN은 매우 다재다능하고 강력한 2D 게임 엔진입니다. 이 엔진은 JavaScript/TypeScript와 PixiJS를 기반으로 합니다.

1
만들어 보세요.
명령으로 새 게임을 초기화합니다.
Terminalnpm create pixi-vn@latest ◇ Project name│ My Game│◆ Select the type of game you want to create:│ ● Visual Novel│ ○ Game Engine
2
글씨를 쓰다.
좋아하는 서사 언어로 이야기를 작성하세요.
=== start ===
# show image bg bg01-hallway
# show imagecontainer james [m01-body m01-eyes-smile m01-mouth-neutral01] xAlign 0.5 yAlign 1 with movein direction right speed 300
james: You're my roommate's replacement, huh?
What is your name?
# rename mc { _input_value_ }
const startLabel = newLabel("start", [
async () => {
await showImage("bg", "bg01-hallway");
await showImageContainer("james", ["m01-body", "m01-eyes-smile", "m01-mouth-neutral01"], { xAlign: 0.5, yAlign: 1, });
narration.dialogue = { character: james, text: `You're my roommate's replacement, huh?` };
},
() => narration.dialogue = "What is your name?",
{ labels: { start: [
{ operations: [
{ type: "image", alias: "bg", operationType: "show", url: "bg01-hallway" },
{ type: "imagecontainer", alias: "james", operationType: "show", urls: ["m01-body", "m01-eyes-smile", "m01-mouth-neutral01"], props: { xAlign: 0.5, yAlign: 1 }, transition: { type: "movein", props: { direction: "right", speed: 300 }}}
], goNextStep: true },
{ dialogue: "james: You're my roommate's replacement, huh?" },
{ dialogue: "What is your name?" },
{ operations: [{ type: "operationtoconvert", values: ["rename mc ", { type: "value", storageOperationType: "get", storageType: "storage", key: "_input_value_" } ] }], goNextStep: true }
]}};
start.ink
animations-labels.ts
다양한 디자인 가능성
더 많은 레벨.
2D 렌더링은 PixiJS 및 Pixi'VN 구성 요소를 완전히 기반으로 합니다. 더 많은 PixiJS 또는 HTML(React Vue ...) 레이어를 추가하여 혁신적인 UI를 만들 수 있습니다.
