- Aug 7, 2018
- Reaction score
- First Language
- Primarily Uses
I'm having a similar problem in trying to make this script work with Yami's overlays scripts. I tried to apply this patch code, but I've obviously done it badly. How should one apply this code? Just copy/paste it straight into the script editor in an entry after the Map Effects script?Ok, not sure about why Yami used several viewports but no need to edit his/her script, I've something in my script especially for that.
After Map Effects you should add this :
class Spriteset_Map def update zeus_map_effects_update @map_effects ||= Spriteset_Map_Effects.new(@viewport1, @par_viewport, @shadow_viewport, @light_viewport) @map_effects.update(@tilemap.oy) endend