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)
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.
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
If u could tell me what I’m doing wrong, or if you need more info, please reply...
Thanks.