Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks for digging into this.

If I understand correctly, I can fix this issue by setting that flag to true during the creation of the window that causes the video playback to start. I did a quick test on my own, but I'm not able to reproduce the sound carrying through issue on my end at all. In my simple test I have one splash video and nothing else. Hitting a key to skip it, or pressing a mouse button seems to skip it normally with no sound continuing through to the title screen. If I do it with two videos, and skip them both, I get the same - no sound playing through the title screen. 

I added a line to set that flag as true in the window that shows the videos immediately when it is created, and that doesn't seem to stop anything from working on the splash screens, and doesn't cause an issue with audio playback, but I never saw the original issue so I don't know that it fixes it either.

Window_DummyWindow.prototype.initialize = function(rect) {
Window_Base.prototype.initialize.call(this, rect);
this._frameCount = Ramza.PTS.params.waitFrames - 12
this._waiting = false
Graphics._videoUnlocked = true
};

Basically I just added the last line to that function in the MV plugin. Try that and see if it changes anything? I suspect it might also cause an issue with video playback elsewhere in game, as the flag will start true unless I also reset it later.

(4 edits)

Alright! So, thing is, the issue really isn't there when you skip, it happens when you don't: 

Let's say you have a video followed by an image: not skipping/pressing anything during the video playback makes your next input (whether be it while the image plays or later on the title screen) to play just the audio of the video played earlier (as if it's playing in the background).

In case of multiple videos, to my understanding, each is a separate instance of video handled by graphics processing, so skipping all or each one of them will not land into an issue. Not skipping, on the other hand, will result in the same as explained above, except that the repeated playback will be from the last video played (the latest video instance)


Nevertheless, about the patch: hypothetically, I thought it should work seamlessly to, indeed, set that flag as true on the plugin-side, just didn't really know where...It should work properly because not only the variable would be set once per instance(per video) but also because the plugin code is only intended for the title scene (or, rather, maybe inbetween the boot and title scenes) - not affecting the rest of the game.

I did testing with multiple splash videos; splash videos and image; splash media + events (sole movie players and play movie inbetween an event's other actions) and, well..Seems to work properly so far! I have only not tested with playing videos via title screen (menu navigation), but I decided to not bother with that, since MV does not have built-in functionalities to edit the menu screen selection flow (as far as I've known).

Since this is a solution to circumvent an issue done by the engine itself not accounting for unintended use cases... hopefully it keeps working, lol. Let me know if you'd like any recording about the problem/testing or any other problems about this that may come, best regards!