Skip to content

宏 交互语法设计 #10

@E72UJ

Description

@E72UJ
story! {
    character Alice {
        name = "爱丽丝";
        sprite = "characters/alice.png";
    }
    
    character Bob {
        name = "鲍勃";
        sprite = "characters/bob.png";
    }
    
    background school {
        image = "backgrounds/school.png";
    }
    
    scene opening {
        play music "bgm/theme.mp3"
        show background school
        show character Alice
        Alice says "欢迎来到我们的学校!"
        show choices {
            "图书馆" -> library_scene
            "操场" -> playground_scene
        }
    }
    
    scene library_scene {
        show background library
        Alice says "这里是我们的图书馆,很棒吧?"
        player thinks "这确实是个不错的地方"
        jump to ending
    }
    
    scene ending {
        Alice says "希望你喜欢我们的学校!"
        player says "感谢游玩!"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions