Commit Graph

72 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
thicco-catto
fc1a9f0283
Select Move UI Shows PP (#372)
* Select move UI shows PP

* Removed testing forced max pp

* PP only shows when using PP restoring items

* Removed testing max pp again

* Update src/phases.ts

* Update src/ui/party-ui-handler.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-01 10:16:58 -04:00
Nero
55dc339647
Bug Fixes and QoL: Minor changes to UI related bugs (#356)
* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing

* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing
2024-04-30 12:42:20 -04:00
Flashfyre
5e7356636e Update shiny luck mechanics and count both fusion components 2024-04-26 11:31:39 -04:00
Flashfyre
b863ab88a7 Fix some minor superficial bugs 2024-04-26 01:18:08 -04:00
Flashfyre
c76f8c5e7e Add tiered shiny variants 2024-04-18 22:52:26 -04:00
Flashfyre
ca778e07d5 Implement Pokemon fusion icons 2024-04-10 10:57:06 -04:00
Flashfyre
e8b5d7aa3e Unsplicing no longer requires an item 2024-04-02 20:51:43 -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
7efd8aa834 Improvements to spliced name generation 2024-03-06 23:57:11 -05:00
Flashfyre
1861823673 Add fusion icon on party and summary screen 2024-03-06 23:20:53 -05:00
Flashfyre
f48464d48d Minor refactoring 2024-02-29 20:08:58 -05:00
Flashfyre
4e93f1e52c Display enemy trainer briefly when switching 2024-02-22 00:00:51 -05:00
Flashfyre
e4bac55d75 Add indicator for additional starter moves and initial egg moves UI
Add indicator for additional starter moves and initial egg moves UI; port scrolling to abstract options UI
2024-02-21 15:47:44 -05:00
Flashfyre
dadc08d16e Add Terestallization mechanics
Add Terestallization mechanics; implement Stellar type; fix bug with held item weights
2024-02-17 00:40:03 -05:00
Flashfyre
63b37ea8c8 Fix minor visual bug in double battle party screen 2024-02-14 23:33:55 -05:00
Flashfyre
052564f902 Update final boss fight and restructure some files 2024-01-13 12:24:24 -05:00
Flashfyre
6084d3aaa6 Add form change system 2024-01-09 23:34:43 -05:00
Flashfyre
8063472bac Add accounts, login, and registration 2023-12-30 20:19:33 -05:00
Flashfyre
de29ea9c05 Add missing west Shellos icon 2023-12-24 15:32:21 -05:00
Flashfyre
e07e267ddc Refactor windows and add alternate window skins 2023-12-20 22:22:15 -05:00
Flashfyre
534d5a907c Fix eggs ignoring forms 2023-12-20 00:35:41 -05:00
Flashfyre
dad6401f67 Add evolution pausing and fix visual bug with evolution scene 2023-12-14 12:55:11 -05:00
Flashfyre
67ac5d3139 Truncate names in battle info and party UI when too long 2023-12-09 23:41:36 -05:00
Flashfyre
e2a6a93209 Rebalance base stat boosters and make max stack count rely on IVs 2023-12-09 00:33:29 -05:00
Flashfyre
b7687a9a30 Add gen 6-7 sprites and update icon set 2023-12-07 00:52:20 -05:00
Flashfyre
ab344cd82a Add starter values with limit and add generated fusion names 2023-12-01 17:23:26 -05:00
Flashfyre
ad9d8a8507 Add Annihilape with Rage Fist move 2023-11-28 21:35:52 -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
55a61158cf Update Phaser version 2023-11-10 16:41:02 -05:00
Flashfyre
f0055048ed Fix showing level moves in blue instead of spliced moves 2023-11-08 23:37:12 -05:00
Flashfyre
1236cb948d Add shared movesets for spliced Pokemon 2023-11-08 22:30:22 -05:00
Flashfyre
2257d8d2f2 Add memory mushroom item for remembering moves 2023-11-08 17:30:07 -05:00
Flashfyre
fdc1bc5b61 Fix issues with item transfer and add scrolling 2023-11-07 18:43:48 -05:00
Flashfyre
79c5b3d4f3 Inherit shininess from splices 2023-11-05 23:48:04 -05:00
Flashfyre
e07339e3eb Add DNA splicers and Pokemon fusing 2023-11-04 00:32:12 -04:00
Flashfyre
813b4894f3 Implement Transform move and Imposter ability 2023-10-29 01:28:56 -04:00
Flashfyre
1fd5f6c01f Fix issues with held item transfer 2023-10-25 09:12:39 -04:00
Flashfyre
50cbad3af3 Add icons for Mega Rayquaza and Eternamax Eternatus 2023-10-24 15:17:41 -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
46c31f9595 Add scaling level cap and party switch option after load
Add scaling level cap and party switch option after load; update Phaser to newest beta version
2023-10-03 12:50:31 -04:00
Flashfyre
5c1251a616 Re-arrange some elements in party UI 2023-07-10 11:21:05 -04:00
Flashfyre
7cd45b30eb Fix crash when encountering a shiny 2023-07-05 11:54:36 -04:00
Flashfyre
d556f5aca1 Add extra information to party screen 2023-07-05 00:29:22 -04:00
Flashfyre
106d3298a2 Add TM learnability indicator when learning TM 2023-07-04 23:11:31 -04:00
Flashfyre
9faa489f19 Add endless mode
Add endless mode; prevent stat booster items from being transferred or stolen
2023-05-31 19:54:57 -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