Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Database inside text files?

Hi, I'm new to the forum, and to ruby language. :)
I want to make a game where each monster has 30+ states. so I can't use the RMXP's usual database.
yesterday I found "kirbybase"- a file database management system. written in Ruby.
it uses tables as data base, and saves them as text file.
perfect. now I can change the text file instead of 30+ variables.
But how can I enter it to rmxp? when executing: require 'kirbybase' rmxp says: 'no such file' (the file Is inside the game folder).
I tried copy-paste into the script editor, but the code has a lot of : require 'file_x' (time, date, drb, fileutils, yaml, csv,) which, again, rmxp can't find.

I have ruby installed. if I paste a missing file as code in the script editor- does it count like I did: require 'file_x' ?
Aren't some of those files included in rmxp already?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top