Skip to content

Sambo3975/__speedrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

__speedrun

A TASBot for SMBX2, implemented in the engine's Lua API. This bot allows for full input manipulation on player 1, including manipulation of the rawKeys table. This bot is capable of simple timed inputs, but integration with LunaLua allows for much more functionality, including position- and speed-based inputs. You can write your own checks as well, allowing for inputs based on anything in the engine state. It also includes loops, conditional branching, basic input optimization, and a derandomizer.

This can be used to create a TAS of a single level or a whole episode (as long as that episode does not use an SMBX 1.3-style world map).

You are free to use and modify this code as you see fit, so long as I am credited for my work.

Notes:

  • The derandomizer sets the built-in RNG library to always use a specific seed. As such, it will not derandomize NPCs from SMBX 1.3, nor will it derandomize any code that creates its own RNG instance.
  • This library currently does not support SMBX 1.3-style world maps. I am looking into adding support, but it may not be possible.

See the wiki for documentation.

About

A TASBot for SMBX2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages