[BUG] ScreenGameplay Background layer or BGA commands not playing before beat 0. #413
Labels
Branch: Alpha-5
Bugs related to Alpha V mainline (0.5.x)
Engine: Gameplay
Gameplay Related Issues
Engine: Lua
Affects Lua/Needs something fixed in Lua
Engine: Movies/BGA/Videos
A bug affecting any method to play video/animations
Mode: dance
Affects dance Mode
Status: Investigating
We are looking into this one!
Status: Not Implemented Yet!
This is a request that has no codepath or is incomplete/not implemented yet in the codebase
Type: Bug
Something is broken in the code
This issue has been around for a long time.
Describe the problem
When the first BGA is loaded before the beat 0, sometimes:
1.) The commands won't play. ("Init", "On")
2.) The commands get delayed (maybe waiting on the stack and then passing it with a tween) after they pass the beat 0.
3.) The commands are played in the wrong order or some of them are just skipped.
I also noticed that sprite animation is off too.
Describe what should happen
The first BGA should play it's commands normally.
Additional Info
I found out that commands play fine after beat 0, if you change the metrics on the theme or fallback for [Background], with the metric RandomBGStartBeat >= 0
I am not sure but I wonder if there's something wrong with negative beats when a BGA loads.
( 1st case / No commands ) https://youtu.be/AasWAhZRkGA?t=10
( 2nd case / additional tweening ) https://youtu.be/SAcHFnwbMVU?t=46
( 3rd case / wrong order? ) https://youtu.be/bgfR37gseMM?t=46
The text was updated successfully, but these errors were encountered: