MOG Animated Title Resolution

Hello everyone,

I'm using Yanfly's Core Engine for Ace to adjust the in-game's screen resolution from the default 544 pixels wide, to 640.

I was looking for an animated title screen and came across Moghunters Animated Title. Overall, this scripts works fine and I've managed to adjust some stuff to get it all working properly with the new screen resolution. However, I'm having trouble trying to get the "fireflies" (the balls of light) to appear on the right-hand side of the screen. I've adjusted the area in which the fireflies can spawn, but they don't seem to show outside of the default resolution. Does anyone know if there is a way to fix this?

[IMG]http://i.imgur.com/r6owpqq.png[/IMG]

(By the way, I changed the area in which the fireflies can spawn on line 65 of Moghunter's script)

Here is Yanfly's core script:

http://dl.dropboxusercontent.com/u/49701990/YEA/Ace_Core_Engine.rb

Moghunter's script can be found here:

http://www.rpgmakervxace.net/topic/3315-moghunter-title/

In Moghunter's script, line 22, delete every file mentioned except title0.

By re-sizing the screen's width on Yanfly's script (line 163) to 640 pixels, you should be able recreate my issue.

Here are some graphics (just place them both in graphics/titles1 and graphics/titles2)

Blank background: http://i.imgur.com/q9D4UKQ.png

Firefly: http://i.imgur.com/yvRWMJ9.png

If I've been too vague in some aspects, feel free let me know.

 ~ Thank you 🙂
I don't know if I can post the entire script with the fixes, so...

Replace

self.x = rand(544)self.y = rand(416 + self.bitmap.height)with

self.x = rand(Graphics.width)self.y = rand(Graphics.height + self.bitmap.height)
this

@light_viewport = Viewport.new(-32, -32, 576, 448)with this

@light_viewport = Viewport.new(0, 0, Graphics.width, Graphics.height)
Also I would advice (?) adding after this

self.bitmap = Cache.title2("Firefly")this

self.ox = (self.bitmap.width/2)self.oy = (self.bitmap.height/2)
Hope it helps, salut,

OZ
Thank you Muramasa! Works like a charm 😀
Oww i cant find those lines.. in the Moghunters script, maybe this change ? I have the same issue xD 

Original thread: https://forums.rpgmakerweb.com/threads/mog-animated-title-resolution.18087/