Commit Graph

35 Commits

Author SHA1 Message Date
Josh Goldberg 654e9ae5a4 Brought in EIghtBittr rename from GameStartr 2018-05-20 15:50:26 -07:00
Josh Goldberg 516187821e Added new shenanigans-manager docs for maps 2018-04-07 15:59:16 -04:00
Josh Goldberg f0d034bd72 shenanigans-manager@0.2.24 2018-03-04 18:58:39 -08:00
Josh Goldberg 3136d02412 Mentioned GameStartr and docs in README.md 2018-02-02 10:34:48 -08:00
Josh Goldberg 84f346a986 Dev-instructions 2018-01-11 23:54:21 -08:00
Josh Goldberg 18b2b2d30c Large component refactor: BabyIoC refactor (#548)
* 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
2018-01-08 07:53:46 -08:00
Josh Goldberg e5689bdfb9 Switched to userwrappr@0.7.2, gamestartr@0.7.3 (#532)
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.
2017-12-29 18:32:30 -08:00
greenkeeper[bot] ad4a7da023 Update dependencies to enable Greenkeeper 🌴 (#527)
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge
2017-12-29 08:49:52 -08:00
Josh Goldberg 235b4d7173 Replaced Gulp with shenanigans-manager@0.2 (#528)
* Used shenanigans-manager@0.2 instead of Gulp

* 'shenanigans-manager'

* 'Bump-patch-version'

* webpack.config.js

* shenanigans-manager@0.2.7

* Added exclude to tslint.json options

* no_tests
2017-12-29 08:23:12 -08:00
Josh Goldberg 969ac10fe5 Used the MobX+React version of UserWrappr (#524)
* 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
2017-12-05 18:56:54 -08:00
Josh Goldberg 19bcba87ad Updated for latest shenanigans-manager 2017-09-16 18:49:53 -04:00
chrisNvalmas d3cfe203cc thingsNames class added (#470)
* 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.
2017-05-29 15:46:42 -07:00
Josh Goldberg 56d21b09b6 Updated README.md to latest 2017-05-08 18:11:51 -07:00
Josh Goldberg 5b6ebdd682 Brought in latest gulp-shenanigans changes 2017-05-08 02:31:48 -07:00
Josh Goldberg 7de5160b42 Added section markers to README.md (#453)
As per gulp-shenanigans.
2017-05-06 19:45:28 -07:00
Josh Goldberg 1a66dd130e Mentioned gulp setup, src/index.html in README
This will later get auto-deleted upon `gulp setup`, but really does need to be there.
2017-04-03 09:14:44 -07:00
Josh Goldberg 18d3bd5221 Fixed 404ing link on README.md 2016-12-30 18:29:26 -05:00
Josh Goldberg 3149b8051c Removed pending note from README.md 2016-12-30 18:02:24 -05:00
Josh Goldberg e5aef18ce3 Version 0.6.0 (#387)
* (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
2016-12-30 17:09:00 -05:00
Josh Goldberg adb7d932c3 Removed LevelEditr requirement, fixed docs a bit 2016-12-03 13:34:04 -08:00
Josh Goldberg 0b6d495899 Bumped gulp-shenanigans to 0.5.20: AMD everywhere! (#386)
* 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
2016-12-03 13:32:39 -08:00
Josh Goldberg 90646a8b16 Moved build process to gulp-shenanigans (#295)
* 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
2016-09-01 08:56:21 -07:00
Josh Goldberg b17784eadf Updated README to mention lack of readiness
As referenced by #123.
2016-01-08 21:06:30 -08:00
Josh Goldberg f7fff9dac5 Updated README.md for master .zip
No releases means nothing on that page.
2015-12-13 15:46:22 -08:00
Josh Goldberg 924d035fc4 Update README.md to link to releases 2015-09-11 16:13:38 -07:00