That is magnificent. One new question. So, I have this script:
module Frames Frame_List = ["Frame1", "Frame2", "Frame3", "Frame4", "Frame5", "Frame6"]endclass Scene_Map < Scene_Base alias milena_scene_map_start start alias milena_scene_map_terminate terminate alias milena_scene_map_update update attr_accessor 😛rogress #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start milena_scene_map_start @progress = 0 @plane = Plane.new @plane.bitmap = Cache.picture(Frames::Frame_List[@progress]) end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate milena_scene_map_terminate @plane.bitmap.dipose @plane.dispose end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update milena_scene_map_update # this is where my problem is: @plane.bitmap = Cache.picture(Frames::Frame_List[@progress += 1]) if @progress >= Frames::Frame_List.size @progress = 0 end # I want the frame to wait for a few seconds before it changes. endendHow can I make the map wait for a few seconds before the bitmap changes into a new one?
module Frames Frame_List = ["Frame1", "Frame2", "Frame3", "Frame4", "Frame5", "Frame6"]endclass Scene_Map < Scene_Base alias milena_scene_map_start start alias milena_scene_map_terminate terminate alias milena_scene_map_update update attr_accessor 😛rogress #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start milena_scene_map_start @progress = 0 @plane = Plane.new @plane.bitmap = Cache.picture(Frames::Frame_List[@progress]) end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate milena_scene_map_terminate @plane.bitmap.dipose @plane.dispose end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update milena_scene_map_update # this is where my problem is: @plane.bitmap = Cache.picture(Frames::Frame_List[@progress += 1]) if @progress >= Frames::Frame_List.size @progress = 0 end # I want the frame to wait for a few seconds before it changes. endendHow can I make the map wait for a few seconds before the bitmap changes into a new one?