copy Copy chevron-down
Getting Started Step 4: Make Your First Visual Novel Learn the basic workflow for working on your game
Now that you know what the files are for , let's start developing your game!
Your First Game in 7 Steps
1. Try the Sample Game
Open the index.html file in your browser and play through the sample game. This gives you a feel for what Monogatari can do out of the box.
2. Open the Project in Your Editor
Open the entire project directory (the one you unzipped) with your code editor. This lets you see and edit all the files.
3. Find the Script
Open js/script.js and find the script section. You'll see all the dialogs from the sample game are just items in a simple list:
Copy monogatari . script ( {
' Start ' : [
' Hi! Welcome to Monogatari! ' ,
' This is a sample dialog. ' ,
' end '
]
} ) ; 4. Make Your First Change
Change one of the dialog lines:
Save the file.
5. See Your Changes
Reload the game in your browser (just like refreshing a website). Play through and you'll see your changed dialog!
6. Add More Dialog
Try adding more lines to the script:
Save and reload to see the results.
7. Challenge: Add a Scene
Ready for a challenge? Try adding a background scene:
Add an image file to assets/scenes/ (e.g., myroom.jpg)
Declare the asset in your script:
The Development Workflow
You've just learned the basic workflow:
Edit - Make changes to your files
Save - Save the files in your editor
Reload - Refresh the browser
Test - Play through your changes
Repeat - Continue iterating!
Congratulations! You've made your first game! Here's where to go from here:
Learn the Basics
Add More Features
Customize Your Game
Styling - Customize the look and feel
Tips for Success
[!TIP]
Save your work frequently
Test changes incrementally (small changes are easier to debug)
Use your browser's developer console (F12) to see error messages
Keep the documentation handy for reference
Check the FAQ for common issues
Browse the rest of this documentation for detailed guides