186 Commits

Author SHA1 Message Date
lightheel
4e12962c05 Fixed sprite naming bug. 2025-08-04 10:48:21 -04:00
lightheel
b3a4ced28d Commented out crit bar progress to stop log noise. 2025-08-04 10:48:06 -04:00
lightheel
d7b10b1ae8 Update BattlesScreen.kt 2025-08-04 10:04:30 -04:00
lightheel
942d843601 Create ArenaBattleSystem.kt 2025-08-04 10:04:05 -04:00
Nacho
4d8dcde26e Forgot to add all the UI methods to preview VB characters 2025-08-04 13:15:07 +02:00
lightheel
3b762d6195 Updated battle loop. Started to fix attack animations. 2025-08-03 15:25:37 -04:00
lightheel
023af17b23 Updated BattleScreen to perform full battle loop with API calls. 2025-08-03 13:23:46 -04:00
lightheel
2901bcf0da Updated attack button to actually perform stage 1 API call. 2025-08-03 12:39:03 -04:00
lightheel
266658342a Fixed sprite sizing. 2025-08-03 12:14:24 -04:00
lightheel
a4b159da45 Sprites now load correctly for Digimon and attacks. 2025-08-03 11:37:43 -04:00
lightheel
fa8546f283 Updated file and sprite managers to use new file structure. 2025-08-03 11:29:40 -04:00
lightheel
6c9d057917 Updated client for attack battle loop. 2025-08-02 07:49:43 -04:00
lightheel
a044d24f5f Updated BattleScreen.kt. Now starts battle and allow clicking of first attack button. 2025-08-02 06:26:27 -04:00
lightheel
1d21155198 Create AttackSpriteManager.kt 2025-08-02 06:26:01 -04:00
lightheel
09ee139add Create BattleSpriteManager.kt 2025-08-02 06:25:59 -04:00
lightheel
8d9c507645 Create SpriteFileManager.kt 2025-08-02 06:25:57 -04:00
lightheel
c947e2519c Create AttackSpriteImage.kt 2025-08-02 06:25:54 -04:00
lightheel
9bcbe85b7f Create SpriteImage.kt 2025-08-02 06:25:48 -04:00
lightheel
a72718273c Added imports to remove build errors. Started added battle screens, logic, and animations. 2025-08-01 17:04:35 -04:00
lightheel
bd0cc46398 Setup API calls for stage 0 on Digimon name button click. 2025-08-01 15:53:40 -04:00
lightheel
a011ae39a4 First push on branch. 2025-08-01 15:42:37 -04:00
Nacho
0b1eed7da9 Increase version 2025-07-29 23:08:45 +02:00
Nacho
36c3e25fd3 Last minute bug related to sending the active character from the main screen. 2025-07-29 19:22:23 +02:00
Nacho
220a61a553 Bug fixes
- Fixed an issue with the calendar, now I store the date as year/month/day in the database directly.
- VB expects to have a year between 2021 and 2032, for some reason it gives me back a 2000 year when reading an empty history. I just patched it in the application to return as year 0 in those cases.
- VitalsHistory works as intended now. Also verified functionality of the new classes.
- Moved a few SQL queries too, since they didn't belong where they were.

Also added a small feature, now the application knows if you entered the scan screen through a character in the storage, or the home screen. If there is an active character and you opened the home screen, the application will let you send the active character, while if it was opened through the storage screen, the application will send the character from the storage screen.

What's now missing is to create a VBSCanScreen, and depending on which device we are using, make use of one screen or the other.
2025-07-29 10:36:07 +02:00
Nacho
d847f600f1 Quite a few things
- Renamed a few objects to avoid legality issues
- Added a few accompanying tables to support the VB/VH
  - While we speak about tables, added an auxiliary table to track card adventure progress
- Extracted NFC character generation and extraction to different classes, should result in a cleaner ScanScreenController
2025-07-29 02:50:15 +02:00
Nacho
f7a4039d66 Merge branch 'main' into vb/nfc_compat
# Conflicts:
#	app/src/main/java/com/github/nacabaro/vbhelper/screens/scanScreen/ScanScreenControllerImpl.kt
2025-07-29 01:35:21 +02:00
Nacho
13051145b7 Few things:
- Speed up the fade animation a tad bit
- Added a back arrow in the scan screen
- Improved a bit the placeholder of the battles screen, since it'd throw out the transition animation.
2025-07-29 00:01:02 +02:00
Nacho
1a150ce7ce Few things:
- Speed up the fade animation a tad bit
- Added a back arrow in the scan screen
- Improved a bit the placeholder of the battles screen, since it'd throw out the transition animation.
2025-07-28 23:58:41 +02:00
Nacho
39ba48d867 Forgot to remove the dependency to SpriteRepo 2025-07-27 19:46:07 +02:00
Nacho
3f324ca141 SpriteRepo is not needed anymore 2025-07-27 19:44:12 +02:00
Nacho
1e28a8c249 Application now imports all the sprites related to the character into the internal database. 2025-07-27 19:42:25 +02:00
Nacho
d46769b0cb Added credits for the app in preparation for version 0.1 2025-07-26 22:26:41 +02:00
Nacho
fce05870c5 This should allow the app to build, otherwise it won't or it will crash 2025-07-26 14:23:53 +02:00
Nacho
9f5f806786 Added basic stuff for compatibility with VB 2025-06-01 18:51:30 +02:00
Christopher O'Grady
076f6bfacf Fix stage and attribute coming from character instead of UserCharacter 2025-04-05 20:31:03 -04:00
Christopher O'Grady
da134247b1 Remove duplicated stage and attribute from UserCharacter
These fields are on the Character entity.
2025-03-19 15:33:52 -04:00
Nacho
f7b3b7256a VB NFC compatibility
- Refactored some names (not really relevant)
- Added the ability to store special missions inside the application's database
- Refactored the conversion code into two classes inside the scan screen package
- Added the missing tables to store the necessary vb data

Also not relevant to this update
- Updated adventure progress app wide, so that instead of it being stored in a character basis, it is shared across all characters in the same dim
2025-02-10 17:44:13 +01:00
Nacho
fb6b6d2825 While I'm at it...
- Resized some buttons in the dialogs
- Added a dismiss button in get item dialog after adventure and in the send on adventure choose time dialogs
- Moved the export/import data lower in the settings screen
2025-01-26 01:59:43 +01:00
Nacho
e17f6c23e4 Renaming terms and other bits and bobs
- Changed adventure database so that the original intended time is also stored with the final time. This will come useful once the algorithm for determining which object to give is made.
2025-01-26 01:40:32 +01:00
Nacho
409474b5d1 Phew
- Added adventure screen, dialogs, components and controllers needed to rock.
- Modified DTOs so that it is possible to tell if a character is in adventure or not
- Updated layout of items database
- Fixed an issue with importing bems where the character name would be read incorrectly
- Also added a ton of checks
2025-01-26 01:25:25 +01:00
Nacho
5e92895656 Made item icons a bit smaller in order to be similarly sized to character icons 2025-01-21 13:34:49 +01:00
Nacho
25500e9cb4 Made character icons bigger and also made the obscured characters follow material guidelines, as being pure black can be difficult to see in dark theme 2025-01-21 13:28:13 +01:00
Nacho
a974bd366e Moved read character from watch to its corresponding controller 2025-01-21 13:02:45 +01:00
Nacho
bb5f66d167 Moved import card logic outside of the MainActivity 2025-01-21 12:42:52 +01:00
Nacho
972a640394 Added missing icons, ready to merge! 2025-01-20 15:46:53 +01:00
Nacho
35a7c9d959 Slowdowns and UI
- Current item can be seen from a character when clicked on it, you can also see how much time left does that item have on that character.
- Fixed slowdown issue in the items screen. Also fixed this issue in the storage screen as it'd also affect it if there are a lot of characters in the storage.
2025-01-20 15:23:40 +01:00
Nacho
b4a73031e7 Working items
- Click on use item > then choose the mon you want to apply the item to
2025-01-20 14:45:28 +01:00
Nacho
3e41f82273 Forgot to push the updated db 2025-01-20 00:29:07 +01:00
Nacho
f3740d4816 Here comes the train (with more things)
- Updated available items
- Created ItemsScreenController
- Moved the ItemsScreen to keep code organized
2025-01-20 00:06:42 +01:00
Nacho
305b776b52 Things
- Added items store and a way to switch between the store and your items
- Added an items dialog, click on it to see details of the item (description, amount) and use it
- Added items store, it lists all the items available
2025-01-19 13:41:50 +01:00