239 Commits

Author SHA1 Message Date
lightheel
c404f4f436 Raised opponent HP bar. 2025-08-05 07:01:39 -04:00
lightheel
71ba5e0207 Fixed atk sprite import bug. Readjusted sprites to load from individual files instead of full spritesheets. 2025-08-05 06:54:55 -04:00
lightheel
fb09350825 Created sprite and animation tester menu. 2025-08-04 14:26:24 -04:00
lightheel
615fb85204 Added sprite test button to battle. 2025-08-04 14:13:26 -04:00
Nacho
7bb7693876 Version Up v0.3-pre 2025-08-04 19:57:39 +02:00
nacabaro
2b33042fe0
Merge pull request #34 from nacabaro/vb/nfc_compat
Added basic VB support
2025-08-04 19:56:12 +02:00
lightheel
3687ff2c21 Updated idle animation to use 2 sprites instead of just 1. 2025-08-04 13:26:39 -04:00
lightheel
c973030d9d Fixed animation mapping.
Was previously using _00, _01, _02, etc. number suffix at end of .json file.

Actual sprite index is stored as the m_Name field inside this file.
2025-08-04 13:23:04 -04:00
lightheel
9f7e452850 Added Digimon idle animation. 2025-08-04 13:00:16 -04:00
lightheel
37e5efa874 Started setting up sprite animations. 2025-08-04 12:57:35 -04:00
lightheel
c5cebd8213 Fixed bug where enemy attack was showing as player attack sprite for a moment before animation. 2025-08-04 12:21:41 -04:00
lightheel
cfa52bce9b Fixed enemy attack sprite positioning. 2025-08-04 12:14:29 -04:00
lightheel
acd990d32b Adjusted player attack sprite positioning. 2025-08-04 12:06:46 -04:00
lightheel
c8690152bc Fixed player attack sprite on enemy screen.
Was showing enemy attack sprite.
2025-08-04 12:02:41 -04:00
lightheel
eff2fadb55 Enemy attack sprite now shows on player screen. 2025-08-04 11:32:41 -04:00
lightheel
8f790eea41 Fixed player Digimon positioning. 2025-08-04 11:25:01 -04:00
lightheel
9d0e68fb8a Re-added missing UI pieces (HP bar, HP numbers, & exit button). 2025-08-04 11:22:22 -04:00
lightheel
31fab9dba4 Fixed damage application timing. 2025-08-04 11:13:01 -04:00
lightheel
7af8e00e6f Re-added missing exit button and health bars. 2025-08-04 11:02:51 -04:00
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
d86ee00109 Update .gitignore 2025-08-03 11:29:23 -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. v0.2-pre 2025-07-29 19:22:23 +02:00
nacabaro
ac05dfc541
Merge pull request #33 from nacabaro/vb/nfc_compat
Add VB Compatibility
2025-07-29 18:42:10 +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
nacabaro
1eed6a4c17
Merge pull request #32 from nacabaro/navigation/animations
Graphical things
2025-07-29 01:29:55 +02:00
nacabaro
1a09e40d1d
Merge pull request #31 from nacabaro/database/get_all_sprites
Fetch all the character sprites into the internal database
2025-07-29 01:26:49 +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