Since rpgmaker is ruby does the following idea make sense?

KonKossKang

Veteran
Veteran
Joined
Dec 20, 2013
Messages
30
Reaction score
0
First Language
English
Primarily Uses
Since ruby is a language for programming, does that mean Rggs2 and 3 are just libraries of code like say, CMD?

cmd has a list of commands,and this is why i draw that conclusion.

I do not intend to learn this yet because im still trying to figure out exactly what im trying to do.Im trying to make a game that i myself would actually want to play.
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
Well in my observation the Rgss1 ,2 and 3 are compillation of ruby code so....yes in a sense is ...a code library who you can add a lot of new ''book'' in that way I mean scripts and engine

for simple rgss Library was the ....dictionnary for all the lexical and ruby ''structure'' in rpgmaker...

is a little hard to explain for me it seem simple in my head for other it can look a little weirdo....

but in your explaination  I agree with you because I also think is like commands (for exemple the command ....Graphics.resize)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
yes and no - RGSS# aren't just libraries, because they not only add specific commands - they also remove some ruby commands that are not needed for RM-Games and reduce the functions of some other commands.


so it's more like calling RGSS# a "dialect" of Ruby, with minor changes (you can still learn RGSS by following ruby tutorials, but you'll know that there are a few differences you need to cheack and learn later.
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
yes and no - RGSS# aren't just libraries, because they not only add specific commands - they also remove some ruby commands that are not needed for RM-Games and reduce the functions of some other commands.

so it's more like calling RGSS# a "dialect" of Ruby, with minor changes (you can still learn RGSS by following ruby tutorials, but you'll know that there are a few differences you need to cheack and learn later.
yeah... for example to open and edit excel files in RM... i need to install 'real' ruby first in my laptop.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
Why do you need ruby installed just to open and edit excel files?
 

Galenmereth

Retired
Veteran
Joined
May 15, 2013
Messages
2,248
Reaction score
2,158
First Language
English
Primarily Uses
N/A
I'm guessing because he wants to use some rubygem, which requires a ruby executable to be installed.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
To my knowledge there is no way to have RM run gems, because it doesn't know anything about the way your machine is set up. It's own search path is typically just the cwd.


Looking at the question again, I'm kind of confused how command-line is a "code library".
 
Last edited by a moderator:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
Why do you need ruby installed just to open and edit excel files?
it requires WIN32OLE

which not included in RM. by installing ruby the code can run. i don't know if there's a way to extract only the WIN32OLE from ruby and include it in project.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
Wait, you're using RM to import win32ole (after installing ruby) and then modifying excel files through RM?


I've tried to work with win32ole before but never figured out how to get it working.
 
Last edited by a moderator:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
Wait, you're using RM to import win32ole (after installing ruby) and then modifying excel files through RM?

I've tried to work with win32ole before but never figured out how to get it working.
yes. i once planned to make a 'cashier' program for one of my shop :D .

but after realizing how complicated it is....(and also because i found a 'super cheap' cashier program that can do lots better)... i scrap it away.

you can read this article for reference.

http://ruby-doc.org/stdlib-1.9.3/libdoc/win32ole/rdoc/WIN32OLE.html

edit: if i remember correctly... there some problem happen when closing the excel files. also when want to print the excel sheet.

it might be easier to work with csv files like you did.
 
Last edited by a moderator:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
install 'real' ruby (version 1.9.3 is okay i think) to your computer. then you can pass the require.

i also try adding only win32ole part. but encounter the same as your problem.
 

KonKossKang

Veteran
Veteran
Joined
Dec 20, 2013
Messages
30
Reaction score
0
First Language
English
Primarily Uses
so would it make sense to install real ruby and use that seperately?if vx ace has a list already, could i just make a script from the stuff in vx ace default script library?I want to make one that allows people to edit player position in battle and maybe new menus, i will learn ruby if thats what it takes
 

Mouser

Veteran
Veteran
Joined
Aug 19, 2012
Messages
1,245
Reaction score
264
First Language
English
Primarily Uses
RGSS is a subset of Ruby (the version of Ruby depending on the version of RGSS).

Some custom classes are defined as well.

There comes a point where if you need to wrangle with the engine that much, this probably isn't the engine you need. Plenty of good engines out there with database support 'out of the box' that you could use for all of this without having any issues.

For whatever reason it appears to me that EB is afraid of letting the engine become 'too good' or 'too powerful'.

With each iteration of the engine (XP, VX, Ace) one hand giveth while another taketh away. *shrug*

If you do get it working though it would be a very cool thing, I'll give you that :)
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top