Status
Not open for further replies.

faolae

Villager
Member
Joined
Nov 2, 2014
Messages
8
Reaction score
3
Primarily Uses
Hello!

I'm trying to introduce a scripting language called ink—it's described as an interactive narrative engine, mainly used to write and create choose-your-own-adventure games—into RPG Maker MV. It's a great tool used to create dialogue-heavy, story-rich games. Paired with RMMV, I thought it might have incredible potential as a base to build off of. Imagine a CYOA game made in RMMV, but less time-consuming and with less eventing! All you'd need to do is build assets and string together some added functionality for a fully-fledged game.

I've been scouring the web for any plugins that might help with this endeavor, but so far I've only found a video of someone's successful(?) attempt of importing ink into RMMV and nothing else. When I looked up the dev, it seemed like he did not release any ink-related projects and was last active two years ago.

Good news: ink has a Javascript port that could be compatible with RMMV. The only problem is that I have no idea where to begin with converting the port as a plugin for RMMV.

The goal of the plugin would be to translate the .JSON file exported from ink as a game, more or less, within RMMV. It doesn't need added functionality, just that it can import .JSON files from ink with no difficulty.
 

Kvothe

The Bloodness
Veteran
Joined
Jan 21, 2014
Messages
149
Reaction score
559
First Language
Brazil
Primarily Uses
N/A
As I can see, you can use the runtime port for JavaScript, inkjs, then you get the data exported as .json... and just 'fetch'. The other step, is to configure the .json received from the file that you have exported to replace the messages of the your game... of course, there are a lot of step into this, but isn't hard.

1 - Export the data as .json using the port for Unity
2 - Use the runtime and learn their library for Javascript, inkjs
3 - Fetch the data .json that contains the message
4 - Choose your method to invoke the message... can be using ID <key>, or filtering and so on xD
 

faolae

Villager
Member
Joined
Nov 2, 2014
Messages
8
Reaction score
3
Primarily Uses
I've roughly figured out steps 1 to 3 with my limited grasp on Javascript, but I'm not sure how to interpret the data from the exported .json file into messages within the game in RMMV. I want to try to achieve a similar effect from the video I linked.

Are there specific script calls for this? If so, how are they usually written in plugins?
 

Kvothe

The Bloodness
Veteran
Joined
Jan 21, 2014
Messages
149
Reaction score
559
First Language
Brazil
Primarily Uses
N/A
Do you have a sample for me to give a look? (of .json file)
 

faolae

Villager
Member
Joined
Nov 2, 2014
Messages
8
Reaction score
3
Primarily Uses
i uploaded a json file of my ink script, which is a wip, over here. fair warning for messy formatting :eswt2:
 

Kvothe

The Bloodness
Veteran
Joined
Jan 21, 2014
Messages
149
Reaction score
559
First Language
Brazil
Primarily Uses
N/A
I have give a look 'n yes, I don't have understand anything on how it works, however... I'll download the app and use your .json as example to see how the Editor handles with it.

The thing is: understand the rules & business logic
 

faolae

Villager
Member
Joined
Nov 2, 2014
Messages
8
Reaction score
3
Primarily Uses
I dont know if I can bump this a second time..
 

Touchfuzzy

Rantagonist
Staff member
Lead Eagle
Joined
Feb 28, 2012
Messages
7,774
Reaction score
9,973
First Language
English
Primarily Uses
RMMZ

This thread is being closed, at the request of the OP. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

I really need to buy a new mouse. Mine's keeps double-clicking and makes me waste A LOT of time eventing
How come there's no spooktober game jam? I thought horror maker games were some of the most popular genre out there...
"I didn't know X song was about that!" Uh... why? Do you not listen to the lyrics? I mean, I guess that makes sense. We live in a world where nobody listens, but everyone wants to be heard.
Coding class: Python
Game dev work: Javascript
Result: AHHH!!! Writing program for an assignment and having it crash and burn because I used Javascript syntax or format. Or having my game die on me because of a python call :yswt:
Can we make it so whenever a banned user tries to use their account whilst banned, the forum should redirect to this

Forum statistics

Threads
115,835
Messages
1,093,330
Members
151,027
Latest member
Mansfield40matt
Top