Monogatari Documentation
HomepageGitHubDiscordTwitter
v2.1.0
v2.1.0
  • Welcome
  • Getting Started
    • Step 1: Setup Your Environment
    • Step 2: Download Monogatari
    • Step 3: Get Familiarized
    • Step 4: Make Your First Visual Novel
  • Upgrading from v1.4.1
  • F.A.Q.
  • Diagnosing Errors
  • Building Blocks
    • Script & Labels
    • Characters
    • Variables & Data Storage
    • Actions
      • Life Cycle
    • Components
      • Life Cycle
      • Built-in Properties
      • Built-in Functions
  • Script Actions
    • Choices
    • Clear
    • Conditionals
    • Dialogs
    • End
    • Gallery
    • Hide Canvas
    • Hide Character
    • Hide Character Layer
    • Hide Image
    • Hide Particles
    • Hide Video
    • Input
    • Functions
    • Jump
    • Next
    • Placeholder
    • Play Music
    • Play Sound
    • Play Voice
    • Show Canvas
    • Show Background
    • Show Character
    • Show Character Layer
    • Show Image
    • Show Message
    • Show Notification
    • Show Particles
    • Show Scene
    • Show Video
    • Stop Music
    • Stop Sound
    • Stop Voice
    • Vibrate
    • Wait
  • Components
    • Credits Screen
    • Quick Menu
    • Loading Screen
    • Main Screen
    • Choice Container
    • Save Slot
    • Text-Box
  • Configuration Options
    • Game Configuration
      • Asset Preloading
      • Internationalization
      • Saving
      • Skip Main Menu
      • Storage
    • Player Preferences
    • Split Files
  • Style & Design
    • Responsiveness
    • CSS Classes
    • HTML Data Attributes
    • Icons
    • Image Menus
  • Releasing Your Game
    • Chrome App
    • Desktop App
    • Mobile
    • Web
  • Advanced: Monogatari Development
    • Core Libraries
      • Artemis
      • Kayros
      • Pandora
    • Actions
    • Components
    • Translations
    • Events
  • Releases
    • v2.0.0.alpha.8
    • v2.0.0.alpha.7
    • v2.0.0.alpha.6
    • v2.0.0.alpha.5
    • v2.0.0.alpha.4
    • v2.0.0.alpha.3
Powered by GitBook
On this page
  • Change Log
  • Update Guide
  • Rename your Assets Directories and declarations

Was this helpful?

  1. Releases

v2.0.0.alpha.7

Previousv2.0.0.alpha.8Nextv2.0.0.alpha.6

Last updated 5 years ago

Was this helpful?

This release is mainly just to change some assets directories naming so that they are consistent.

Download:

Change Log

  • Some assets directories have been renamed to ensure their names are consistent.

Update Guide

This guide only applies for games that were written using the 2.0.0.alpha.3 version or above.

Rename your Assets Directories and declarations

The following three assets directories have been renamed to a pluralized version to be consistent with the others so you'll have to rename them as well.

Asset

Old Directory

New Directory

Voice

assets/voice/

assets/voices/

Sounds

assets/sound/

assets/sounds/

Video

assets/video/

assets/videos/

Now, go to the options.js file and find your assets directories declarations, they should look something like this:

options.js
'AssetsPath': {
    'root': 'assets',
    'characters': 'characters',
    'icons': 'icons',
    'images': 'images',
    'music': 'music',
    'scenes': 'scenes',
    'sound': 'sound',
    'ui': 'ui',
    'video': 'video',
    'voice': 'voice',
    'gallery':
 'gallery'
},

You'll have to apply the same naming changes as before, the resulting object would then be:

'AssetsPath': {
    'root': 'assets',
    'characters': 'characters',
    'icons': 'icons',
    'images': 'images',
    'music': 'music',
    'scenes': 'scenes',
    'sounds': 'sounds',
    'ui': 'ui',
    'videos': 'videos',
    'voices': 'voices',
    'gallery': 'gallery'
},

Notice how videos, voices and sounds are now pluralized.

Finally, the assets declaration for those three asset types also need to be changed:

Before:

// Define the voice files used in the game.
monogatari.assets ('voice', {

});

// Define the sounds used in the game.
monogatari.assets ('sound', {

});

// Define the videos used in the game.
monogatari.assets ('video', {

});

After:

// 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', {

});
https://datadyne.perfectdark.space/monogatari/releases/Monogatari-v2.0.0.alpha.7.zip