Commit Graph

20 Commits

Author SHA1 Message Date
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 70324c4159.
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
Flashfyre
70d61700d0 Re-implement UI reskin with working legacy toggle
Re-implement UI reskin with working legacy toggle; add return to title option to menu
2024-03-31 21:14:35 -04:00
Flashfyre
0646f022eb Fix ball select UI size 2024-02-28 23:21:31 -05:00
Flashfyre
ffd785d534 Rebalance item weights and add Rogue tier 2024-02-28 23:13:05 -05:00
Flashfyre
4e93f1e52c Display enemy trainer briefly when switching 2024-02-22 00:00:51 -05:00
Flashfyre
8063472bac Add accounts, login, and registration 2023-12-30 20:19:33 -05:00
Flashfyre
e07e267ddc Refactor windows and add alternate window skins 2023-12-20 22:22:15 -05:00
Flashfyre
cb71e543a8 Rename UiHandler file to fit conventions 2023-12-20 19:19:23 -05:00
Flashfyre
cbbb8e972b Add achievement system and UI
Add achievement system and UI; fix counting invalid inputs in UI handlers for input delay
2023-11-12 00:31:40 -05:00
Flashfyre
cc435284ec Update implementation of Pokeball and run commands 2023-10-27 17:43:53 -04:00
Flashfyre
988438cc81 Add gym leaders, elite four, and champions
Add gym leaders, elite four, and champions; add modifier rewards for initial rival battle
2023-10-20 11:38:41 -04:00
Flashfyre
83c70889fc Implement trainer battles and various changes
Implement trainer battles; add dialogue functionality; add random session seed for predictable random results; remove capitalization from text; add full party heal after every 10 waves
2023-10-18 18:01:15 -04:00
Flashfyre
23de25d585 Implement nineslice for some UI windows 2023-06-16 12:13:52 -04:00
Samuel H
b9f7ba173d
Implement Double Battles (#1)
* Add WiP logic for double battles

* Minor changes for double battles

* More fixes for double battles

* Show battle info for both in double battles

* Improvements to double battles

* Add double battle version of party UI

* Fix some issues with double battles

* Updates to double battles

* More work on double battles for stability

* Fix issues with ability bar and evolution screen

* Add chance for double battles
2023-05-18 11:11:06 -04:00
Flashfyre
c6d9816318 Fix some bugs 2023-04-30 00:51:33 -04:00
Flashfyre
3546f3b5a7 Refactor source files and add berries 2023-04-20 15:46:05 -04:00
Flashfyre
8e6e1fd233 Refactor controls and add random starter function 2023-04-11 00:24:55 -04:00
Flashfyre
a21595c790 Add Pokeball select 2023-04-01 22:59:07 -04:00