* First round of converting: tests pass
That's a good thing, right?
* Finished recreating all creation methods
* Removed requireEntrance from createMapsCreator
* babyioc@0.7.2; tests for gameplay.startOptions
* Bumped gamestartr version to 0.7.6
* Added src/index.ts
* Converted sub-components to BabyIoC @components
* Replaced "used by" doc comments with real ones
* Revamped interface factory to have standalone export
* Added maps tests from shenanigans-manager
* Better documented initializaton options in README
* Added Cycling.test.ts
I'm on a plane, why not?
* Replaced .bind when possible
* Extra this. in InterfaceSettings constructor
* Split general menu component into components per menu
Added a whole bunch of tests for the Items and Pause menus.
* Fixed lint issues
* Removing annoying console.warn
* Restored missing component files
* shenanigans-manager@0.2.15
* Bumped shenanigans-manager to ^0.2.16
* Removed node=7 from .travis.yml
Constructor takes in size settings instead of waiting to reset. This way, the game is always guaranteed to have modules & components - which is less confusing for the type system. UserWrappr logic needs mod names before instantiating the game, so the names are now static members of the `ModComponent` classes accessed with a getter. An `InterfaceFactory` instantiates the UserWrappr logic.
* Moved UserWrappr logic to an Interfaces component
Moved some of the stateful behavior from the UI settings (sizes, default size) and UserWrappr core (document visibility, pipe initialization) into it.
* Documented; split name within SpeedrunnerMod.ts
* Miscellaneous TSLint and TypeScript fixes
* More miscellaneous fixes
* Updated to latest dependencies (fixed chai imports in tests)
* Locked eightbittr, gamestartr, gulp-shenanigans versions
As a part of it, no longer uses the /lib/foo extension to gamestartr or eightbittr imports.
* Removed duplicate gamestartr/ithing import
* Removed unused Physics import
* Fixed keyDownA direction test
* Nits: jsdoc, .vscode/settings.json endline
* Renamed to SpeedRunningMod
* Fixed the mod's name string
* Bumped UserWrappr dependency to ^0.6.5
* thingsNames class added
* ThingsName class and files updated to use it
* Fixed spacing and comment errors in Things.ts
* Revert "Fixed spacing and comment errors in Things.ts"
This reverts commit 53a43c6b7e.
* Fixed comments and turned the members of Names class to camelCase2
* Forgot to fix comments
* Comments now follow JSDoc requirements, and fixed redunancy
* Proper formatting for imports.
* (v0.6.0) Changed module names to be camelCase
Huge breaking change. Also refactored some of the UI workings for new
UserWrappr behvaior.
* Onboarded size computations and in-house camelCasing
* Changed #controls to .controls
* Rearranged creations to 0.6.X style
* Removed the unitsize and Component class concepts
HUGE change. Will cause problems down the line, I guarantee it.
* Moved components to their own folder
"Will it compile?"
"Is the pope an athiest?"
* Updated Maps for new component style
* Converted Animations to Actions
* Converted Actions settings
* Componentized Battles
* Componentized Collisions
* Componentized Cutscenes
* Started moving larger components to a class
* Moved back to traditional components
* Continued conversion to new components
* Fixed a few things around menus, maps, inputs, mods
* Got it to compile, somehow
* Updated sprite sizes to reflect no unitsize
* Updated menu sizing
Getting there.
* Changed index to redirect /lib files to /src
Makes the game actually debuggable.
* 1/2 revert "Updated sprite sizes to reflect no unitsize"
That commit went by 16 instead of 4 accidentally.
* Fixed text offsets and speed
* Fixed walking speeds
* Started removing MathDecidr
* Split Math constants into constants dir
* Force renamed to BattleModifications.ts
* Started interface/constants split into components
* Mostly finished splitting of constants
* Fixed lint issues with split constants
* Fixed lack of unitsize in maps files
UGH
* Updated src/index.html for src paths
* Table name fixes
* Split interfaces into components
* Removed proprietary size shenanigans
* Removed some unitsize dependencies in maps
* Fixed up Pallet Town for xnum differences
* Got a real start on fixing walking
* Fixed walking continuation
* Re-implemented following
* Added walking paths and documented them
* Solidified roaming and path walking
* Cleaned up grass visuals
Following no longer sets nocollide, and instead stops characters from
colliding with each other if one's following the other.
* Improved player speed; started on ledges
Player speed now matches the game.
* Fleshed out ledges; added +1 tick for steps
Steps were invariably changing the `% 32` of the player's position by 2.
Added an extra tick of movement (so they stop *after* the necessary 16).
* Continued fixing walking push steps
* Fixed off-by-2 problem for continuing walking
* Small BattleMovr fix: give it menuGraphr
* Brought in fixed index.html, theming from setup
* Fixed Oak intro walking
* Fixed scrolling unitsize offsets
* Bumped output targets to ES5
* Fixed menu persistence after cancelling a save
* Fixed positions for save menu
* Re-added walking through following Oak outside lab
* Re-jiggered keyboard into its own component
* Fixed general battle offsets for no unitsize
* Re-implemented last of "todo: walking" flags
* Touched up some math equations, constants
* Fixed macro positioning for Viridian City
* Fixed macros for Route 22 outside
* Fixed Pokemart, Pokecenter macros for no unitsize
* Split cutscenes into their own files
* Fixed offsets, border for Pokemon menu
* Added rudimentary pause menu tests
* Removed unnecessary html files
* Re-ran setup: changed module resolution to "node"
* Fixed casing of src/settings/Maps.ts
* Fixed casing for many settings files
* Fixed casing for map library files
* Added moduleSettings overrides to constructor
Tests, for example, will want to override the allowed file types for the
audio settings.
* Used createModuleSettings from GameStartr 0.6.2
* Fixed some typos around HTML
* Fixed casing issue for Items.ts imports
* Fixed width for player health numbers
* Updated README.md to mention .container
* Bumped gulp-shenanigans to 0.5.16
Added a "Usage" section in the readme.
* Started gulp-shenanigans 0.5.20 update
* Continued through part of Cutscenes.ts
* Finished the rest of Cutscenes
* Finished rest of compiler errors
Now to fix test failures... later!
* Added dependencies code for index.html
* Added a couple of missing dependencies to index
* Fixed some this scoping issues with Things
Now that they don't receive .EightBitter or .GameStarter, triggered
member functions of Things must correctly manage context.
* Clarified instantiation in docs
* Bumped dependencies in json files
* Started moving components to gulp-shenanigans
This is a first round of refactoring. All non-reset functions in `FullScreenPokemon.ts` have been moved to dedicated classes, though many haven't had the references updated.
* Brought in .files, BattleMovr, MenuGraphr
* Fixed up imported files for tslint
* Fixed test dependencies to run
* Added settings files to compilation
* Added necessary prototypes in FSP.ts
* Converted settings classes to Generate* functions
This way, `src\FullScreenPokemon.ts` can decide when to call the
generators. It does so immediately after defining the
`FullScreenPokemon` class and its prototype values.
* Refactored settings into generators
This fixes most scoping issues with settings files. Note that a few
modules have local updates that will need to be pushed for this to build
successfully.
* Fixed scoping for menus
* Removed Function::bind usages
No more!
* Fleshed out html build settings
lib\index.html works now
* Fixed reference issues with MapScreenr's variables
They're no longer direct members of MapScreenr itself, but rather of its
`variables` member.
* Bump gulp-shenanigans to 0.4.0
* Fixed some case sensitivity
* Fixed some more case sensitivity
* Fixed case sensitivity for main settings
* Bump gulp-shenanigans to 0.4.1
* Added and removed logs in src/main.ts (#296)
* Added test logs to main.ts
* Removed src/main.ts logs
* Moved sounds into the correct src\ directory
These were pulled in from master but not moved accordingly.
* Fixed new tslint errors from gulp-shenanigans
From updating to a newer tslint.json with the setup task, the more
strict rules are now being violated.
* Bumped gulp-shenanigans to 0.4.2
* Bump gulp-shenanigans to 0.4.3
* Onboarded shenanigans.json
The biggest change is that LevelEditr and UserWrappr are no longer
pre-packaged with GameStartr. They're now separately defined in FSP.
* Brought in recent module updates
Also fixed some scoping issues with battles.
* Fixed the pause menu to open on pause buttons
Previously they were calling the GamesRunnr pause functions, which
aren't what was intended.
* Bumped UserWrappr to 0.5.4
* Fixed onload listeners in src\main.ts (#300)
* Added test throw for body innerHTML
* Put main.ts logic behind a load event
* Removed remaining main.ts throw
* Moved require logic out of onload in main.ts
* Fix load listener placement
* Bumped MapsCreatr to 0.5.3
Fixed scoping issues with macros
* Removed LevelEditor reference from Storage.ts
Since LevelEditor is no longer defined on FSP, saving a game can't use
its beautification function
* Changed saving dialog to delete all menus when done
* Fixed TimeHandlr scope issues for battle cutscenes