RPG Maker Forums

Bit of an odd question, but I'm not sure where to begin.

Basically I'm trying to insert a line of code into a frame update that tracks the BGM timestamp. In other words, the update method activates after a global boolean in Audio.play_bgm is made true and it increases +1 every frame update while the song is active. With a little bit of math and whatnot, you could theoretically calculate the position of the song at any time, assuming it loops properly. This could be used for several really interesting things but I won't go into that now.

This frame update method needs to be present during every scene, however, since BGM plays during any scene unless specified otherwise. So where would I insert this code? Scene_Base? SceneManager? I'm not sure about either because Scene_Base is only a superclass and when other Scene classes get created/erased, there's a bit of update lag - meaning the BGM tracker will be off. Is there a class that's just constantly present that always updates every frame without lag? Or should I just create one?

Any help is greatly appreciated!

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,034
Messages
1,018,447
Members
137,820
Latest member
georg09byron
Top