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

More TAS hooks #356

Merged
merged 27 commits into from
Nov 10, 2023
Merged

More TAS hooks #356

merged 27 commits into from
Nov 10, 2023

Conversation

Dregu
Copy link
Collaborator

@Dregu Dregu commented Nov 7, 2023

UI:

  • Add pause option that can pause and frame advance during menus, fades etc.
  • Add pause option to auto-pause on level start
  • Add pause option to skip freezing updates on loads and fades when player interaction is impossible
  • Add set seed and adventure options to game tab
  • Add cheat option to skip all fades
  • Add camera option to set speed multiplier (for a bit faster or near instant tas presentation camera)
  • Add camera option to apply smooth camera during update pauses
  • Fix quick start not initializing all the correct things
  • Fix respawn players option to work in the death screen
  • Add automatic version check next to version overlay
  • Add Seed menu to Game tab, to get, set or restart current adventure seed
  • Add ability to figure out and restart current adventure seed even if OL is loaded during the run

API:

  • Add ON.PRE/POST_GAME_LOOP, like PRE_UPDATE but can pause menu and other UI updates
  • Add update_camera_position to apply the automatic tweening and level bounds checks manually
  • Add set_speedhack to control the speedhack
  • Add methods to get/set the seed entered in ScreenSeedInput
  • Add optional argument for get_adventure_seed to return the seed at the beginning of current run

src/game_api/memory.cpp Outdated Show resolved Hide resolved
src/game_api/memory.cpp Outdated Show resolved Hide resolved
src/game_api/rpc.cpp Outdated Show resolved Hide resolved
src/game_api/script/lua_vm.cpp Outdated Show resolved Hide resolved
@Dregu
Copy link
Collaborator Author

Dregu commented Nov 9, 2023

That's enough random (tas) stuff for this week. EDIT: It wasn't.

@Dregu Dregu merged commit c071129 into main Nov 10, 2023
10 checks passed
@Dregu Dregu deleted the MoreHooks branch November 10, 2023 14:22
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.

2 participants