Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

RenJS

HTML5 Visual Novel creation made easy and free · By lunafromthemoon

What is the use for " RenJS.storyManager.interpret()"

A topic by SuCicada created Apr 20, 2019 Views: 202 Replies: 1
Viewing posts 1 to 2

In RenJS.js

start: function(){    
    this.setBlackOverlay();    
    RenJS.control.paused = false;   
    RenJS.storyManager.startScene("start");    
    this.removeBlackOverlay();  
    RenJS.storyManager.interpret(); 
},

What is the use for   " RenJS.storyManager.interpret()"

Sorry, i am a novice

Developer(+1)

Hello SuCicada, this function internally calls the "story action" interpreter for RenJS, and it's better not to use it. The way to continue a story after a custom action is by calling RenJS.resolve(). Here's the documentation to the "call" action that might be helpfull: https://lunafromthemoon.github.io/RenJS/actions/call/