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.

[Resolved] Some Questions.

Status
Not open for further replies.
Hello again, and Thank you for reading. I am trying to improve my Scripting and so I would like to know if someone hereknows How to do this.
I need to know how can I create folders with Ruby in rmxp. Also I would Apreciate if someone could tell me how to access files in folders.
**Edit:
Also how I go, to change a file location?
How to change the Filename.
Check the file size.
And How is there anyplace with this kind of commands in a list?? lol
 
Creating a folder is easy in Ruby. Dir.mkdir('Foldername')
Reading from them is easy too, but there are several ways to do so. You can get a full file listings with Dir.entries('Foldername'), or you can just access a single file with File.open('Folder/file.extension').
 
Status
Not open for further replies.

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