Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: wolfspirit on December 04, 2009, 04:45:35 pm

Title: Little question, that would really help me out
Post by: wolfspirit on December 04, 2009, 04:45:35 pm
Hey you guys,
I've edited some scripts and created one (a very small one) and what I've done works proparly, exept for some pictures that chould go after each other so that you see a small animation.
Do make that work proparly as well, I need to know how to put a wait between the pics...
Anyone who knows howe to?

Grtz
Title: Re: Little question, that would really help me out
Post by: Blizzard on December 04, 2009, 06:08:53 pm
Use Graphics.update. That command renders one frame.
Title: Re: Little question, that would really help me out
Post by: wolfspirit on December 05, 2009, 03:48:16 am
It didn't help.. :<_<:
If it helps heres where I've putted the graps.update:
  def main
    Audio.se_play("Audio/SE/" + Wolfspirit::SE, 100)   
    @sprite = Sprite.new
    @sprite.bitmap = RPG::Cache.picture(Wolfspirit::Picture4)
    Graphics.update
    @sprite.bitmap = RPG::Cache.picture(Wolfspirit::Picture5)
    Graphics.update
    @sprite.bitmap = RPG::Cache.picture(Wolfspirit::Picture6)
    Graphics.update
    @sprite.bitmap = RPG::Cache.picture(Wolfspirit::Picture7)
Title: Re: Little question, that would really help me out
Post by: Holyrapid on December 05, 2009, 03:55:28 am
Well, i´m not a very god scripter, but i have a guess that you should try using just one graphics.update in the end... Like i said, i don´t know much about scripts so this really is just a guess.
Title: Re: Little question, that would really help me out
Post by: Blizzard on December 05, 2009, 05:11:23 am
Right under def main you first need "Graphics.transition(0)"
Title: Re: Little question, that would really help me out
Post by: wolfspirit on December 05, 2009, 05:27:31 am
It worked!!
Thanks man!
Your the best!