How do I implement my own Ruby code into MV?

Zireks

Villager
Member
Joined
Oct 23, 2017
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
So I'm new to using RPG Maker and recently got MV on Steam. I know that this version of the software uses the Ruby coding language to make personal scripts s o after learning the basics I've started to code the stuff I need. However I've ran into a problem.

Let me start by explaining what it is I am coding. The game is a typical turn based battle system but the catch is that each time a party member attacks, instead of using an accuracy or evasion check to see if the attack hits the battle menu will display a prompt for a Math question and four options for an answer (Surprise Edutainment!). The player will then have to choose the correct answer from the list (Most likely displayed as if they were options for spells). A correct answer means a hit, an incorrect answer means a miss.

So my problem lies in the fact that I don't know HOW to implement code into MV. Is it through a plug-in? If so which one?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA

I've moved this thread to JavaScript Support. Please be sure to post your threads in the correct forum next time. Thank you.



For starters, MV uses JavaScript. Ace uses Ruby. So you can't insert Ruby code into MV at least easily. Now did you mean ACE by chance?
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,623
Reaction score
1,440
First Language
French
Primarily Uses
RMMV
So I'm new to using RPG Maker and recently got MV on Steam. I know that this version of the software uses the Ruby coding language to make personal scripts s o after learning the basics I've started to code the stuff I need. However I've ran into a problem.

Let me start by explaining what it is I am coding. The game is a typical turn based battle system but the catch is that each time a party member attacks, instead of using an accuracy or evasion check to see if the attack hits the battle menu will display a prompt for a Math question and four options for an answer (Surprise Edutainment!). The player will then have to choose the correct answer from the list (Most likely displayed as if they were options for spells). A correct answer means a hit, an incorrect answer means a miss.

So my problem lies in the fact that I don't know HOW to implement code into MV. Is it through a plug-in? If so which one?
you can not !
you can only try transcribe the logic of the code in JavaScript.
the only universal language allow convers for now in other language, are developed by Microsoft.
is named typeScript.
its logic makes it possible to be converted into a different language.
you can try by searching on the web, but to my knowledge there is no tool or algorithme to transcode the ruby logic in javascript.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,881
Messages
1,017,227
Members
137,607
Latest member
Maddo
Top