Mumble
c5a66326dd
[QoL][Feature] Hall of Fame + Run History ( #3251 )
...
* Fixed SaveSessionData issue + Added loss details + removed Modifiers
* Final changes
* Updated code with the current repo + mode localization
* Final touches before moving to a clean branch
* Manual merging
* Some more merging + updating
* Fixed import
* TypeDocs issues
* Fixed relevant typedoc issues
* Manual merge
* More fixes
* So many commits for so little
* Localization Updates
* Very barebones implementation of 'favorite' runs - not planning to implement any time soon though
* menu-ui-handler.ts localizations
* Update src/locales/ko/run-history-ui-handler.ts
Thank you!
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/de/run-history-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/menu-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* The German name for Squirtle is silly
* Fixed Run-Entry Def
* Commented out networking functionality
* Commenting out network functionality pt2
* Update src/locales/pt_BR/menu-ui-handler.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/pt_BR/run-history-ui-handler.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/ko/menu-ui-handler.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/zh_CN/menu-ui-handler.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/zh_CN/run-history-ui-handler.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/fr/menu-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/it/menu-ui-handler.ts
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
* Update src/locales/it/run-history-ui-handler.ts
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
* Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/de/run-history-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/run-history-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/run-history-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Fixed SaveSessionData issue + Added loss details + removed Modifiers
* Final changes
* Updated code with the current repo + mode localization
* Final touches before moving to a clean branch
* Manual merging
* Some more merging + updating
* Fixed import
* TypeDocs issues
* Fixed relevant typedoc issues
* Manual merge
* More fixes
* So many commits for so little
* Localization Updates
* Very barebones implementation of 'favorite' runs - not planning to implement any time soon though
* menu-ui-handler.ts localizations
* Update src/locales/ko/run-history-ui-handler.ts
Thank you!
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/de/run-history-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/menu-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* The German name for Squirtle is silly
* Fixed Run-Entry Def
* Commented out networking functionality
* Commenting out network functionality pt2
* Fixed cursor-close out freeze and replaced hall of fame background
* Removed console.log
* Fixed cursor freeze bug + changed hall of fame background
* cursor freeze bug fix pt 2
* Revert "Disable egg gacha in rewards (#3304 )"
This reverts commit 3a87c8657fa8c65b306a7b7bc883a834002485c2.
* Merging menu-ui-handler.ts
* Merging phases.ts
* Manual merge for game-data.ts
* Manual merge locales/en/config.ts
* Manual merge of menu-ui-handler.ts
* Manual ui.ts merge
* Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Revert "Merge branch 'beta' of https://github.com/pagefaultgames/pokerogue into runHistoryNew"
This reverts commit 5c6fcf6ec485ab0a967fd714d95928b04435a7ea, reversing
changes made to 751bf4a43327118b24bc55cba3a5230f96eb6d27.
* Revert "Revert "Merge branch 'beta' of https://github.com/pagefaultgames/pokerogue into runHistoryNew""
This reverts commit f6c3580ad096b587f9b30f5d0aeb4bc9d630f726.
* Added ending art to victorious runs
* Added darker overlay instead
* Hall of Fame art
* Actual BG Images
* some bug fixing
* some bug fixing p2
* some minor changes
* some minor changes
* Changed order of runs displayed to newest --> oldest
* console.log for debugging
* Export/Import Run History function
* added import validation
* Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Felt coder's guilt for bad buttons implementation
* strict-null changes
* New Localizations
* Update src/locales/fr/menu-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Apply suggestions from code review
Thank you!
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Apply suggestions from code review
run-info-ui-handler comments fix
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update src/locales/es/menu-ui-handler.ts
Co-authored-by: Asdar <asdargmng@gmail.com>
* Update src/locales/es/menu-ui-handler.ts
Co-authored-by: Asdar <asdargmng@gmail.com>
* Update src/locales/es/run-history-ui-handler.ts
Co-authored-by: Asdar <asdargmng@gmail.com>
* Lost this file somehow
* Added do not delete comments
* Apply suggestions from code review
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* flx Changes
* Localizations
* Fixing Git test issues
* Fixed issues found by Starkrieg
* removed console log
* Fixed cursor bugs
* github pages issue
* Update src/ui/run-info-ui-handler.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/ui/run-history-ui-handler.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Corrade's comments
* The things I do for Github PAges
* Preventing menu freeze
* Double trainer battles and fresh start challenge
* Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/ko/menu-ui-handler.ts
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Update src/locales/pt_BR/run-history-ui-handler.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/pt_BR/menu-ui-handler.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/de/menu-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/run-history-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/it/run-history-ui-handler.ts
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
* Update src/locales/it/menu-ui-handler.ts
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
* Update src/locales/ko/run-history-ui-handler.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Apply suggestions from code review
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Localizations + Error Message Update
Co-authored-by: protimita <protimitajp@gmail.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* small fixes
* flx-sta suggestions + Localizations
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/it/run-history-ui-handler.ts
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
* Added dynamic text positioning based on container size + small fixes
* Thanks Adri1 ! Quick Fix for localizing wave in RunInfo
* Transfered defeat parsing to smaller functions and added page modes
* Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Run History UI handler documentation
* Fixed rival names
* some comments
* Apply suggestions from code review
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Finished documentation
* Fixed incorrect rival name handling
* Corrected limit-handling
* Update src/locales/fr/run-history-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Cleaned up getrunhistorydata() per flx-sta's suggestions
* Added some override tags?
* Added scopes/override notes to classes/class variables/class functions
* Moved code from phases.ts to game-over-phase.ts
* Fixing game-data whoops
* ughhhhh
* Update src/ui/run-history-ui-handler.ts
Co-authored-by: Adrián T. <99520451+Vassiat@users.noreply.github.com>
* Fixed cursor and updated money. Note - need to fix money handling for Asian languages
* Money appears according to settings
* typedocs blah blah
* cleaning up manage data options
* Final flx fixes + No Run History handling
* Translation update.
---------
Co-authored-by: Frutescens <info@laptop>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
Co-authored-by: protimita <protimitajp@gmail.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: Adrián T. <99520451+Vassiat@users.noreply.github.com>
2024-08-23 19:23:16 +01:00
Leo Kim
b54a255c15
[Enhancement] Add go filter shortcut ( #3345 )
...
* update goFilter shortcut
* fix filter instruction position
* remove unnecessary new lines
* update requested changes. add other language entries too
* remove unnecessary case code
* open dropdown when pressing goFilter shortcut
* add missing entry for `fr`
* Update src/locales/fr/starter-select-ui-handler.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/de/starter-select-ui-handler.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* update instruction container position and text offset for more longer instruction label. decrease size of fr instruction font
* fixed de info font size
* Update src/locales/pt_BR/starter-select-ui-handler.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/ko/starter-select-ui-handler.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/zh_TW/starter-select-ui-handler.ts
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* Update src/locales/zh_CN/starter-select-ui-handler.ts
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* update font size, starterInfoXPos and starterInfoYOffset in zh. update starterInfoXPos in de
* Update src/locales/es/starter-select-ui-handler.ts
Co-authored-by: Asdar <asdargmng@gmail.com>
---------
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-08-08 20:34:20 +01:00
Alexis Faizeau
9b325a6689
Fix game speed ( #2375 )
2024-06-18 15:07:36 +01:00
Alexis Faizeau
f3e3b58a43
[Enhancement] Translate Settings Menu ( #2187 )
...
* Add en settings translations
* Add fr settings translations
* Translate settings menu
* Add de settings translations keys
* Add es settings translations keys
* Add it settings translations keys
* Add ko settings translations keys
* Add pt br settings translations keys
* Add zh cn settings translations keys
* Add zh tw settings translations keys
* Add ko settings translations keys
* Add de settings translations keys
* Fix a forgotten test
2024-06-17 09:47:22 -04:00
Matthew
dc30dd33b2
[QoL] Reorganize Enum Locations ( #2185 )
...
* moving enums
* import updates
* fix tsconfig paths importing (#2184 )
* reverse index.ts addition
---------
Co-authored-by: Devin Korb <meepdarknessmeep@gmail.com>
2024-06-13 18:44:23 -04:00
Matthew Olker
e6c24dceab
Revert "[QoL] Reorganize Enum Locations ( #2142 )"
...
This reverts commit cf06ff3b8d3bca1195150533b9f72f46271b167f.
2024-06-13 11:30:47 -04:00
Matthew
cf06ff3b8d
[QoL] Reorganize Enum Locations ( #2142 )
...
* moving enums
2024-06-13 11:11:12 -04:00
Greenlamp2
725df33600
[Bug] Restrict Menu Access to Specific Game Modes + Gamepad Start Button in Select-Starter Menu ( #2064 )
...
* fix softlock + start run on button menu for gamepad on starter_select
* chop chop even more mode to the menu whitelist
2024-06-10 21:18:07 -05:00
SquillWall
a1171eceb9
[QoL] Show currently bound controls on starter menu for last active device ( #1859 )
...
* show currently bound controls on starter menu for last active device
* add special handling for touch controls
* remove hardcoded controls for all locales
2024-06-09 03:35:11 +02:00
SeafoamQueen
5ac1b7245f
[Feature] Refactored Game Settings UI navigation menu and sorting ( #1860 )
...
* Refactored settings UI menu options and added the battle style setting
* Removed the new Battle Style setting. It will be added in a seperate PR.
* Fixed typo and spacing
2024-06-06 10:38:54 -04:00
prime
1c98106642
[QoL] Move Info Overlay ( #1585 )
...
* move info implemented for starter selection
a move info box is displayed when editing the starter moveset.
also menus have now onHover triggers.
todo:
- show ui when selecting TMs
- show ui when selecting moves to remember (memory mushroom)
* More Move Info Overlays
Added overlays during Memory Mushroom use and when viewing TMs.
Furthermore a settings option can enable/disable those overlays.
* Added missing ko language entry
... though translation still remains necessary
* updated ui
also added overrides for item rewards
* minor ui update
moved values to the right in the tm move info box
* fixed typedoc issues
* removed settings in to prepare for merge
* updated settings option
added settings option to new settings implementation
* minor changes
removed unused graphic
moved settings option to accessibility
2024-06-05 20:28:12 -05:00
Benjamin Odom
98cff12fd1
[QoL] Add Arena Info Flyout for Weather, Terrain, etc. ( #1734 )
...
* Initial Commit
* Add Time of Day Icons and Remove Fight UI Dependancy
* Rename to Match
* Update battle-scene.ts
* Add Settings
* Add Comments
2024-06-03 21:18:09 -05:00
Matthew
69da96d543
Settings Refactor ( #1771 )
2024-06-03 19:57:47 -04:00
Greenlamp2
060b1b2ccc
Menu - Controls Rebind - Gamepad & Keyboard (Cleaner git log) ( #1666 )
...
* squased merge rebind_menu
* azerty to qwerty
* add a check to preven a crash in firefox
* reset navigation menu on quit
* removed dual lock mekanism
* navigation display update icons on new bind
* added submit binding
* removed attribute no longer used
* change protected to abstract
* remove last bind protection since action and cancel are protected + renamed default controller to controller
* removed default alt qwerty keys in config
* fix some errors for doc
* fix tests
* fix some more errors for docs
* fix some more errors for docs final ?
* added alt bind for menu navigation + update icons on delete/home
2024-06-01 13:56:32 +01:00
Benjamin Odom
9b5c1cdadb
Adds a Small Flyout Panel to the Battle Info Object ( #1377 )
...
* Initial Commit
* Update pbinfo_enemy_boss_stats.png
* Move to Separate Key
* Add Separate Mobile Control for Flyout
* Add Setting to Enable/Disable
* Add to the Tutorial
* Change to BUTTON.V
2024-05-29 20:29:59 -04:00
Greenlamp2
6b99eda84a
small detail in ui-inputs, was still working but not whitelisting keys, not sure if still needed though ( #1560 )
2024-05-29 14:33:36 +01:00
Benjamin Odom
a880185289
Fix Errors in ui-inputs.ts ( #1549 )
2024-05-29 13:16:57 +01:00
Greenlamp2
c86a51ba89
prevent opening the menu on confirm dialog + fix config error message on crash ( #1278 )
2024-05-23 13:26:12 -05:00
Greenlamp2
bac6c22973
ESLint - The Essential Linter and Formatter for JavaScript and TypeScript ( #1224 )
...
* eslint config + packages
* updated eslint config
* fix the issue eslint adding ;;;; at interfaces
* first round with eslint --fix .
* removed config for unused export
* Revert "first round with eslint --fix ."
This reverts commit 77a88e0895f7c3389cb223651b90d918af778fe9.
* removed config for camelCase
* for real this time, first round of eslint --fix .
* halfway to manual eslint fix
* eslint done
* added "how to setup" the hook to eslint --fix each new file before commit (if wanted)
* removed eslintrc config file duplicat
* fix human error + ignore build folder + merge overrides
* added curly brace style + eslint
* applied double quote linter rule
* added lefthook
* test precommit
* test precommit
* test precommit
* test precommit
* test precommit
* test precommit
* test precommit
* github action to run eslint
* added node_modules to ignore eslint
* different action for typescript
* no need for different glob (default src)
* node 20
* node 20
* removed no longer needed install file
* remove hooks part from README
* eslint fixes
---------
Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-05-23 11:03:10 -04:00
Greenlamp2
d98f7733d4
Rework - Inputs management to include all gamepad mapping V2 ( #429 )
...
* rework of the input handling, including different gamepad and keyboard
* rework of the input handling, including different gamepad and keyboard
* first version of a too complex inputHandler based on phaser3-merged-input
* removed useless control management and kept it simple for our use case, investigating to put out button_XX()
* renamed inputHandler to inputController
* aggregate directions and some action into a same method + fix menu return value
* added back repeated input feature on keeping down a key
* cleanup + return type
* fix submit/action doing two things simultaneously, still same behaviour as before
* extracted UI inputs out of battle-scene
* tab -> spaces
* tab -> spaces what about now github ?
* tab -> spaces final (maybe)
* tried to fix the plugin loading issue on prod
* remove Plugins things as it's too uncertain how it works on prod
* seems old code source is indented with tab
* cleanup
* cleanup
* cleanup
* putting in an enum file the enum buttons
* fix repeating stats button + change message in event when the key is repeating
* added return type for ui-inputs
* added return type for inputs-controller
* adapted the code to integrate changes of bennybroseph
2024-05-05 10:30:00 -04:00
Flashfyre
9fc6bdde21
Revert "Rework - Inputs management to include all gamepad mapping ( #390 )"
...
This reverts commit 70324c415955477a3f569a5c342df4561537da56.
2024-05-03 13:04:32 -04:00
Greenlamp2
70324c4159
Rework - Inputs management to include all gamepad mapping ( #390 )
...
* rework of the input handling, including different gamepad and keyboard
* rework of the input handling, including different gamepad and keyboard
* first version of a too complex inputHandler based on phaser3-merged-input
* removed useless control management and kept it simple for our use case, investigating to put out button_XX()
* renamed inputHandler to inputController
* aggregate directions and some action into a same method + fix menu return value
* added back repeated input feature on keeping down a key
* cleanup + return type
* fix submit/action doing two things simultaneously, still same behaviour as before
* extracted UI inputs out of battle-scene
* tab -> spaces
* tab -> spaces what about now github ?
2024-05-03 12:59:10 -04:00