Commit Graph

25 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
Dakurei
05c45669da Modification of the move description window in battle
+ Modification of data layout
  + Adds "power" to visible data
  + No longer uses a "command_fight_labels" image, but directly text (allowing translation by the way)
  + Added i18n
  + Creation of "en" and "fr" locales for fight-ui-handler
2024-04-25 20:57:47 -04:00
Silvestre Emmanuel
ebad76c335 Added the move category icon to the fight ui 2024-04-24 21:02:56 -04:00
Flashfyre
4e93f1e52c Display enemy trainer briefly when switching 2024-02-22 00:00:51 -05:00
Flashfyre
25972b68ea Fix PP Up calculation not working properly 2024-01-13 10:56:20 -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
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
eab6d082fd Add command cancelling and 2nd battler move memory 2023-10-18 23:16:38 -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
15cfd3bad4 Add color change ability, some moves, and fix mimic 2023-05-06 00:42:01 -04:00
Flashfyre
fe298c39e2 Add tall grass BG and fix a hanging bug with charge moves 2023-04-30 23:58:16 -04:00
Flashfyre
3546f3b5a7 Refactor source files and add berries 2023-04-20 15:46:05 -04:00
Flashfyre
b11e391e7a Add evolution items and new modifiers 2023-04-14 18:21:33 -04:00
Flashfyre
53d62056d2 Some minor bug fixes 2023-04-12 21:44:12 -04:00
Flashfyre
8e6e1fd233 Refactor controls and add random starter function 2023-04-11 00:24:55 -04:00
Flashfyre
3723e25682 Fix import issues with battle phase 2023-04-10 14:12:01 -04:00
Flashfyre
8bacb9bc84 Add more to summary UI 2023-04-08 20:35:45 -04:00
Flashfyre
c9c4e82f7f Add WiP move attributes system 2023-04-03 23:38:31 -04:00
Flashfyre
124f69f1ec Various changes 2023-03-31 20:19:57 -04:00
Flashfyre
2f17903d30 Initial commit 2023-03-28 14:54:52 -04:00