0
votes
0answers
53 views

How can I save a bitmap as a .jpg or .png?

I'm writing a script on RPG maker and at some point I'll need to save a bitmap as a .png or .jpg file on the game folder. I know I could probably load the picture with File.read or something alike and ...
0
votes
1answer
326 views

How can I copy/move a file from a folder to another with RGSS?

I've been trying to do this but I can only find Ruby answers. I'm trying to move or copy a file from, say, Game Directory/Graphics/Pictures/file.png to Game Directory/file.png. How can I do this in ...
0
votes
1answer
36 views

How can I get the width and height of a picture?

I'm trying to make a script on RPG Maker XP that needs the width and height of an image to do some calculations. I tried @picture.bitmap.widthand @picture.bitmap.height but it returned the width and ...
1
vote
0answers
198 views

Moving while doing loop animation in RPGMaker

I made a custom class to display character portrait in RPGMaker XP Here is the class : class Poser attr_accessor :images def initialize @images = Sprite.new @images.bitmap = ...
2
votes
1answer
544 views

multi-dimension array problem in RGSS (RPG Maker XP)

This is my first day code script in RMXP. I read tutorials, ruby references, etc and I found myself stuck on a weird problem, here is the scenario: I made a custom script to display layered images ...