Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Requires the module information from the RAFAEL_SOL_MAKER's ACE PERFECT FOG script.
- #Created by Kio Kurashi
- #No credit for this is required by me however RAFAEL_SOL_MAKER's script
- #may have requirements that must be met if the script is used.
- #Place below Materials but above Main.
- class Scene_Title < Scene_Base
- alias kurashi_title_fog_addon start
- def start
- kurashi_title_fog_addon
- create_fog
- end
- def create_fog
- @fog = Plane.new
- @fog.bitmap = Cache.fog(PPVXAce_General_Configs::Fog_Filename)
- @fog.z = 3
- @fog.opacity = PPVXAce_General_Configs::Fog_Opacity
- @fog.bitmap.hue_change(PPVXAce_General_Configs::Fog_Hue)
- end
- def update_basic
- Graphics.update
- Input.update
- update_all_windows
- @fog.ox += PPVXAce_General_Configs::Fog_SpeedX
- @fog.oy += PPVXAce_General_Configs::Fog_SpeedY
- end
- def dispose_all_used_graphics
- fog.bitmap.dispose
- fog.dispose
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement