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

Video Sprite Fixes & Improvements #16138

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

LarryFrosty
Copy link
Contributor

@LarryFrosty LarryFrosty commented Jan 11, 2025

  • Added a play function to VideoSprite for easier handling
  • Added an autoPause argument to VideoSprite's constructor (used in PlayState to set to false to allow substate pausing correctly and whatnot)
  • VideoSprite now removes itself from the state/substate its added in instead of only PlayState
  • videoCutscene will now pause when a substate is opened and resumes when closed, the autoPause from the hxvlc class will be disabled for manual handling as said above
  • While the video is playing, videoCutscene will now be removed from PlayState when the player leaves or dies
  • videoCutscene will now follow the playback rate
  • Fixes some stuff with mid-song in startVideo
  • Added the rest of startVideo's arguments to Lua's startVideo
  • startVideo will now add to GameOverSubstate if the player is dead
  • Code optimizations regarding destroy

@LarryFrosty LarryFrosty changed the title Video Sprite Improvements Video Sprite Fixes & Improvements Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant