RPG Maker Forums

All I’m doing is using a modified version of Brewmeister’s Wavy Screen effect;
It is getting really difficult since I have very little experience with Ruby... Also pls move this to the right forum if needed, since I actually don’t know where else this is supposed to go.

I’m trying to modify not the code itself, it’s just fine- but I’m trying to modify it so that I can have a script call in the event interpreter to modify the wave_amp, wave_length, and wave_speed properties of a picture.
Here’s the example

(At the end of the original code)
Ruby:
class Game_interpreter
    def waveoption(id, leng, amp, spd)
        @picture.number = id #keeps saying there's no defined method; i know its in the wrong class and everything too i dont know how to refer to the instance of Picture sprite...
        @picture.number.wave_amp = amp
        @picture.number.wave_length = leng
        @picture.number.wave_speed = spd
    end
end
now I have no idea how to refer to that instance of the Picture sprite, and get the picture number (namely picture #20), then modify the sprite properties to change the wave effect properties... I looked in the help menu so much, but i didn’t find anything.
If u could tell me what I’m doing wrong, or if you need more info, please reply...
Thanks.

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,358
Members
137,803
Latest member
andrewcole
Top