/* global monogatari */ // Define the messages used in the game. monogatari.action ('message').messages ({ }); // Define the notifications used in the game monogatari.action ('notification').notifications ({ }); // Define the Particles JS Configurations used in the game monogatari.action ('particles').particles ({ }); // Define the canvas objects used in the game monogatari.action ('canvas').objects ({ }); // Credits of the people involved in the creation of this awesome game monogatari.configuration ('credits', { }); // Define the images that will be available on your game's image gallery monogatari.assets ('gallery', { }); // Define the music used in the game. monogatari.assets ('music', { }); // Define the voice files used in the game. monogatari.assets ('voices', { }); // Define the sounds used in the game. monogatari.assets ('sounds', { }); // Define the videos used in the game. monogatari.assets ('videos', { }); // Define the images used in the game. monogatari.assets ('images', { "mika1": "mikaPanel.png", "mika2": "mikaPanel2.png", "mika3": "mikaPanel3.png", }); // Define the backgrounds for each scene. monogatari.assets ('scenes', { "test": "test.png", }); // Define the Characters monogatari.characters ({ 'h': { name: 'Heather', color: '#FFF9EE', sprites: { faceRight: "heatherFacingright.png", faceLeft: "heatherFacingleft.png", }, }, 'a': { name: 'Alex', color: '#F0DFF4', sprites: { faceLeftMouthOpen: "alexFacingLeftMouthOpen.png", faceLeftMouthClosed: "alexFacingLeftMouthClosed.png", } }, 'hl': { name:"Heather", color: "brown", nvl:true, type_animation:false, }, 'ar': { name:"Alex", color: "purple", nvl:true, type_animation:false, }, 'mp': { name: "Mika", color: "#FACADE", nvl:true, type_animation:false, } }); monogatari.script ({ // The game starts here. 'Start': [ `show scene test`, `show character h faceRight at left`, `show character a faceLeftMouthOpen at right`, `a Some GAMER comic. There's been hardly any GAMING!`, `show character a faceLeftMouthClosed at right`, `htr The solution is clear. We must become a game.`, `a Excellent. Fantastic. Phenomenal. Why didn't I think of that?`, `htr Sometimes the solution is right in front of you but you just can't see it until somebody else points it out to you.`, `a Yes. Definitely. Without further ado, let us commence becoming a video game.`, `htr Well before we do that, we should decide what sort of game best represents us. What is the best adaptation of a Graphic Novel to a Game format?`, {'Choice': { 'ChoiceOne': { 'Text': 'The proper evolution of the Graphic Novel is the Visual Novel.', 'Do': 'jump becomeVN', }, 'ChoiceTwo': { 'Text': `Literally any other choice (you're wrong)`, 'Do': 'jump wrongChoiceIdiotreVN', } }}, ], 'wrongChoiceIdiotreVN':[ `hl What are you kidding? Of course it is.`, "show character a faceLeftMouthOpen at right", `ar You're right. I'm a dumbass.`, "show character a faceLeftMouthClosed at right", `hl Yeah. We're definitely going to be a VN that is also a comic.`, "jump mikaComic", ], 'becomeVN': [ "hl hell yeah.", "jump mikaComic", ], 'mikaComic':[ "clear", "show scene gray", "show image mika1 with topleftpanel fadeInLeft", `mp