I did not know finding such a simple thing would be so hard.
I'm a tad sleep deprived and tired as all unholy hell so I'm throwing in my hat and saying heck to it, I need your assistance with making a script to make a bloody picture pop up and then leave, I have spent 1hr googling and I'm 90% sure I'm searching the wrong thing or are reading everything wrong.
ANYWAY enough of my rambling.
class Window_BodyAnimate < Window_Base
def update
bitmap = Bitmap.new("Graphics/Pictures/plr/1.png")
self.contents.blt(110,125,bitmap,Rect.new(0,0,bitmap.width,bitmap.height))
end
end
class Scene_BodyAnimate < Scene_Base
end
class Game_Interpreter
def gifplayer
SceneManager.call(Scene_BodyAnimate)
end
end
I have been doing this for a while and just cannot find anything at all.
I know nearly 100% of the code isn't there, there was an anoying error that I didn't find how to fix until I found out it was Game_Interpreter not liking how I haven't the slightest clue what I'm doing.
Here is what I would like it to do.
1) Input location of image (eg. Graphics/Pictures/plr/1.png )
2) Search through images ( 1.png, 2.png, 3.png )
3) Display image
4) Wait (10 frames)
5) Remove image
6) Increase count of photos (it played one, now play 2)
7) Loop with new number
Essentially an auto animator so I can be lazy however I got stuck because I don't know how to use "Game_Interpreter"
I was trying to make it so you could do a script call to get it to work (eg. script: gifplayer("path", loop(t/f)))
Anyway thanks for any help, I will try to wake up tomorrow and hopefully you will have a response!
~Chilly
I'm a tad sleep deprived and tired as all unholy hell so I'm throwing in my hat and saying heck to it, I need your assistance with making a script to make a bloody picture pop up and then leave, I have spent 1hr googling and I'm 90% sure I'm searching the wrong thing or are reading everything wrong.
ANYWAY enough of my rambling.
class Window_BodyAnimate < Window_Base
def update
bitmap = Bitmap.new("Graphics/Pictures/plr/1.png")
self.contents.blt(110,125,bitmap,Rect.new(0,0,bitmap.width,bitmap.height))
end
end
class Scene_BodyAnimate < Scene_Base
end
class Game_Interpreter
def gifplayer
SceneManager.call(Scene_BodyAnimate)
end
end
I have been doing this for a while and just cannot find anything at all.
I know nearly 100% of the code isn't there, there was an anoying error that I didn't find how to fix until I found out it was Game_Interpreter not liking how I haven't the slightest clue what I'm doing.
Here is what I would like it to do.
1) Input location of image (eg. Graphics/Pictures/plr/1.png )
2) Search through images ( 1.png, 2.png, 3.png )
3) Display image
4) Wait (10 frames)
5) Remove image
6) Increase count of photos (it played one, now play 2)
7) Loop with new number
Essentially an auto animator so I can be lazy however I got stuck because I don't know how to use "Game_Interpreter"
I was trying to make it so you could do a script call to get it to work (eg. script: gifplayer("path", loop(t/f)))
Anyway thanks for any help, I will try to wake up tomorrow and hopefully you will have a response!
~Chilly