Home » Books » RPG Maker

Category Archives: RPG Maker

18: RPG Maker – Ruby

This week, I wanted to touch on the scripting language that drives RPG Maker VX Ace Lite.Behind every application, program the driving force is a programming language. Regarding RPG Maker, that language is Ruby. Just like the RPG Maker VX Ace Lite, this programming language is also free. IE: Open Source. You can download Ruby, here.

Ruby is an object-oriented programming language that was created by Yukihiro Matsumoto in 1993. Since it is object oriented, it looks very similar to Python 3.0. The creator of Ruby often stated he is , “trying to make Ruby natural, not simple,” in a way that mirrors life. Ruby has an occult following, filling out conference to its capacity. Most will see books in relation to “Ruby on Rails”, which helped grow the Ruby community. Ruby on Rails is a flavor of the programming language Ruby.

RPG Maker calls they programming system, RGSS (Ruby Game Scripting System). Ruby is the primary computer language driving the application. While, I will not be providing a full blown programming class on Ruby (unlike the Python Class), it is important to understand how the application is running.

A 28 minute overview of Ruby to give you a taste of the language.


The Script Editor is found in your Tools menu.


Upon opening the editor, you will see the Ruby programs themselves. Take caution in modifying these scripts, as this is the engine of your application. Having said that, a search online will provide you some websites or forums discussing Ruby and how to tweak the existing scripts found in RPG Maker.

17: RPG Maker – Hot Situation

In this video, the control switches are used differently. We provide a hot room, where are actor/party is being hurt, throughout the area.

16: RPG Maker – Overview of the Database

In this video, I provide an overview of the full database in RPG Maker ACE Lite.

15: RPG Maker-Trap Room – Portals

Trap can be defined as “an obstacle or hazard”.

Trap Room

Generally there is always at least one trap room, or a room having a puzzle in the RPG (Role Playing Game) world. A simple online search on “RPG trap” room will return ideas, free online games, and a plethora of other possible options. The only end is one’s own imagination. Even the mousetrap was patented on November 4, 1879, by James M. Keep of New York. Traps and snares have been used through out history. No surprise trap rooms have bled into our games.

In the above video example, I use blind monks aimlessly running around. If touched by the player, then the player has failed. Note I use the trigger “Event Touch”. This allows the action within the Event Page to occur, without the need of an action of the character or player. Also the Priority must be “Same as Characters”.


Additionally, during the making of the video, we hit the “Event Limit” of nor more than 10 events in the game.

Taking the same idea of using the event touch, in the video above we create portals. Again, simply colliding the character with the item of interest, we get the results. We use a switch once more, to acquire a different result on one of the portals. As you have guessed switches are the meat and potatoes of the game play.

14: RPG Maker – Join the Party

Remember, control switches remain on throughout the game, until they are turned off. Below is from our video example, where the control switch is turned on with one event, while the alternative outcome is in a separate event.





Keep in mind, however, if you use a control switch for a specific event or action, do not reuse the same switch later in the game. This will create a conflict, and introduce an error in your game play. KEEP NOTES, as you create your game play.



In our demonstration, I pointed out I wasn’t able to have my character “action touch” the Inn Keeper Sprite. Oddly, the table wouldn’t allow me either. To resolve this, I had a player touch event in front of the desk. While this only demonstrated a method for resolution, it will cause another issue. If you do not want your character to keep having this same dialogue, you would add an additional event page on the player touch, with the “Rick” switch on. This will continue your story line and game play.

13: RPG Maker -Weapons Store


When creating the seller in the Weapon’s store, I had to value the event field on the counter, in front of the seller, not the seller itself.


The demonstration had two event pages.


Event page one had the standard introduction, with the ability to purchase the limited items.


The item selection contained three steps.

  • 1) Choose “Shop Processing”
  • 2) Double click the goods.
  • 3) Choose Goods and specify the price.


By adding a new sprite (character) into the weapons store, and applying a switch, upon interaction.


I was able to change the seller’s reaction, upon the interaction.

12: RPG Maker – Audio Files and How to Modify Them


  • RPG Maker utilizes the ogg file as their audio files.
  • You can import ogg files via the Resource Manager tool.
  • You can play, or review the audio files in RPG Maker via the tools->Sound Test.
  • The audio files can be found in the audio folder, under the project’s main folder.
    • Example: \My Documents\RPGVXAce\[your project]\Audio
  • There are four folders holding the audio.
    • BGM
    • BGS
    • ME
    • SE
  • You can use the http://www.online-convert.com/ to convert audio files into OGG audio files.
    • The site will not allow you to convert YouTube url links.

11: RPG Maker – Use a Key to Open a Door


Switch has two positions, on or off. The switch can be changed within the events of the game. RPG Maker will keep track on the position of the switch throughout the game. More than one switch can be in use at the same time.

Variables act similar to switch, but dim, rather than two distinct positions (on or off). With variables, you do not have a limitation, rather an unlimited amount of positions.

You can also think of it this way. A switch identifies if the treasure chest is open or closed. A variable provides the amount of coins inside.

10: RPG Maker – How to Create a Key and Use It


  • RPG Maker uses png files for their graphics.
  • The Resource Manager is used to import/export within the game.
  • The Database can be modified.

9: RPG Maker – Event using Sprite Messages and Self Switch

In this tutorial, I cover the Sprite, and using the Event method (function). We cover messages, and self-switch in order to expand our interaction with the Sprite (guard).