트와인 : https://twinery.org/ Twine / An open-source tool for telling interactive, nonlinear storiesEach of Twine's built-in story formats has an online guide: Chapbook Harlowe Snowman SugarCubetwinery.org트와인 쿡북 : https://twinery.org/cookbook/index.html Twine CookbookWelcome to the Twine Cookbook This Cookbook contains documentation, tips, and examples for using the non-linear story creation tool T..
End.jsimport Phaser from 'phaser';export default class EndScene extends Phaser.Scene { constructor() { super({ key: 'End' }); } preload() { this.input.setDefaultCursor('auto'); } create() { const score = this.registry.get('score') || 0; const bugSpeed = this.registry.get('bugSpeed'); let level = ''; if (bugSpeed === 1500) { leve..
main.jsimport Phaser from 'phaser';export default class MainScene extends Phaser.Scene { constructor() { super({ key: 'Main' }); } preload() { this.load.image('mouse', '../asset/image/mouse1.png'); this.load.image('bug', '../asset/image/bug.png'); this.load.image('ghosts', '../asset/image/ghosts.png'); } create() { this.score = 0; this.tim..
diff.jsimport Phaser from 'phaser';export default class DiffScene extends Phaser.Scene { constructor() { super({ key: 'Diff' }) } create() { this.add.text(this.scale.width / 2, 100, 'Choose Difficulty Level', { fontSize: '48px', fill: '#fff' }).setOrigin(0.5); const level1 = this.add.text(this.scale.width / 2, 200, 'Level 1', { ..
intro.jsimport Phaser from 'phaser';export default class IntroScene extends Phaser.Scene { constructor() { super({ key: 'Intro' }) } create() { this.add.text(this.game.scale.width / 2, 200, 'catching bugs', { fontFamily: 'Arial', fontSize: 80, color: '#87CEFA' }).setOrigin(0.5, 0.5) const textTap = this.add.text(this.g..
index.jsimport Phaser from 'phaser'import IntroScene from './intro.js';import MainScene from './main.js'import EndScene from './End.js';import DiffScene from './diff.js';var game = new Phaser.Game({ type: Phaser.AUTO, parent: 'index', scale: { width: 800, height: 600, autoCenter: Phaser.Scale.Center.CENTER_BOTH }, scene: [ IntroScene, DiffScene, ..