Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ScreenGameplay Background layer or BGA commands not playing before beat 0. #413

Open
EngineMachiner opened this issue Aug 30, 2021 · 0 comments
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

Comments

@EngineMachiner
Copy link

EngineMachiner commented Aug 30, 2021

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

@Scraticus Scraticus added Type: Bug Something is broken in the code Mode: dance Affects dance Mode Engine: Gameplay Gameplay Related Issues Status: Investigating We are looking into this one! Engine: Lua Affects Lua/Needs something fixed in Lua Engine: Movies/BGA/Videos A bug affecting any method to play video/animations labels Sep 14, 2021
@MrThatKid MrThatKid added Status: Not Implemented Yet! This is a request that has no codepath or is incomplete/not implemented yet in the codebase Branch: Alpha-5 Bugs related to Alpha V mainline (0.5.x) labels May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants