Visual Novel Maker

Visual Novel Maker

ZanthosAC Jul 10, 2018 @ 8:50am
Looping Music/Scrolling UI
Since I've been struggling implementing these two concepts I thought I'd ask. If music is created in a looping fashion, can it loop endlessly? I didn't see any special options for looping music.

Secondly, how can I create a scrolling menu or interface similar to the one that is shown when you click the right mouse button (in game options menu). I was looking for a common event that explains its implementation but it must be purely coded in.
Last edited by ZanthosAC; Jul 10, 2018 @ 8:51am
< >
Showing 1-2 of 2 comments
Black Sea Salt Jul 10, 2018 @ 11:17am 
I believe the "Play Music" command will autoplay unless you use a pause command. Or the stop music which will stop it entirely unless you use another play music command.

The right click "common event" is coded in. But you can find it here in the script plugin by searching it here.

Layouts -> Layout Game
Look for this line:

"type": "ui.Panel",
"frame": [0, 0, Graphics.width, Graphics.height],
"updateBehavior": "continuous",
"formulas": [$ -> o.ui.enabled = $dataFields.tempSettings.menuAccess],
"action": {
"event": "onCancel",
"name": "switchLayout",
"params": { "name": "settingsMenuLayout", "savePrevious": true }
}

I actually got rid of this since I didn't know how to code it myself, so that way my game won't have that menu. I just decided to make it by common events myself, but you can create a common event and basically try to copy it with hotspots and draggable hotspots.

The "settings menu" scene really helped out in understanding how to do draggable hotspots. This also would allow you to make your menu into whatever you want while at it. How to make the settings menu do what you want though? I'm not sure myself, but I hope this helped.
Kentou  [developer] Jul 10, 2018 @ 5:40pm 
Hi,

I didn't see any special options for looping music.

There is a small arrow left to the name of the command which allows you to expand the command to see additional settings. There you can also setup the looping :)


Secondly, how can I create a scrolling menu or interface similar to the one that is shown when you click the right mouse button (in game options menu). I was looking for a common event that explains its implementation but it must be purely coded in.

As Bael mentioned above, if you have no experience with coding it is recommend to built your own menus with scenes and hotspots. I also don't understand exactly what do you mean with "scrolling menu"? You mean if there are too many options you want a scrollbar to make then scroll? That might be difficult to achieve with scenes and hotspots but not impossible depending on how you design your menu. Do you have a concept of you menu?

Otherwise Scripting/JSON would be the way to go. If you only want to change the design of the built-in menu without changing its behavior, it can be done easily because you don't really need to script something you just change some properties and layouts/positioning of elements.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jul 10, 2018 @ 8:50am
Posts: 2