Commit Graph

3419 Commits

Author SHA1 Message Date
Anthony Calosa
2e0e287ead update comment 2022-07-30 11:19:16 +08:00
Anthony Calosa
b318b74ab4 fix some leaks on RewardActor
- fix not clearing RewardActor upon exiting scene
- use direct loading from assetmanager to prevent black texture
- clear card textures upon exiting scene to save RAM
2022-07-30 11:12:45 +08:00
Anthony Calosa
31bd2ff572 fix plural ends with "ds" 2022-07-29 21:07:48 +08:00
Anthony Calosa
368abbf0b4 add switchbutton on HoldTooltip
- also update coloridentity based on selected deck
- highlight deck text for empty deck
2022-07-29 16:40:33 +08:00
Anthony Calosa
cb7c9eee6e fix memory tracking computation
compute the probable Texture usaga
2022-07-29 12:50:03 +08:00
friarsol
fb8f1fdeb9 Remove some useless comments 2022-07-28 23:15:25 -04:00
Anthony Calosa
2be8d83304 Starter deck for AdventurePlayer 2022-07-29 04:42:55 +08:00
Anthony Calosa
70bd8bddf8 support showing back face on shops and loot on adventure mode
- for mobile backport, hover the card and left click to switch the tooltip
- for android, double tap the image before holdtouching to switch tooltip
2022-07-28 23:52:12 +08:00
Grimm
42ae9dda06 wavefunction collapse first integration 2022-07-28 11:55:05 +02:00
Grimm
dc06bab331 AdventureEditor: added editors 2022-07-28 11:54:35 +02:00
Anthony Calosa
720afb044d fix onfetched for RewardActor
- should fix the issue of not loading the images downloaded. This should method should get directly from the assetmanager.
2022-07-28 10:24:39 +08:00
friarsol
2a12f830aa Update inn portrait with false life 2022-07-27 22:17:15 -04:00
friarsol
c9aa5baa83 Improve messaging for costs 2022-07-27 22:16:00 -04:00
friarsol
a42cb4f273 Convert heal to temp HP bonus for $200+ gold 2022-07-27 22:15:59 -04:00
Anthony Calosa
b1bb24add7 fix android tooltip after fetching card image 2022-07-27 16:38:32 +08:00
Anthony Calosa
8f691f05d8 remove unnecesary loop 2022-07-27 14:33:18 +08:00
Anthony Calosa
4855ddcf5c refactor RewardActor
- fetched images online should update and appear immediately after download on Adventure mode on RewardScene (Shop, Loot)
2022-07-27 14:26:08 +08:00
Anthony Calosa
9b37b25a74 Update CardImageRenderer.java 2022-07-26 08:18:52 +08:00
Anthony Calosa
052a2bd16a refactor defaultImage
- use assetmanager to handle defaultImage
2022-07-26 08:11:13 +08:00
Anthony Calosa
637744e3cc update imagecache 2022-07-26 01:10:16 +08:00
Anthony Calosa
dd42977ac0 update reward actor 2022-07-26 01:08:25 +08:00
Anthony Calosa
b2a0bf8a3a clear cardartCache on image fetched 2022-07-25 23:36:54 +08:00
Anthony Calosa
0e79ddf8d8 fix check imagekey 2022-07-25 07:00:48 +08:00
Anthony Calosa
a1457c4666 update image counter 2022-07-19 12:41:19 +08:00
Anthony Calosa
c4fd16a67f Merge pull request #1140 from kevlahnota/master
refactor Assets
2022-07-19 12:34:32 +08:00
Anthony Calosa
7cc6ee18fd Update ImageCache.java 2022-07-19 12:17:44 +08:00
Anthony Calosa
e14afcc1aa unused import 2022-07-19 12:08:54 +08:00
Anthony Calosa
80a48b7c2c refactor Assets
- modify fps display to show card images re/loaded
- also restore basicland rewards
2022-07-19 11:36:00 +08:00
Anthony Calosa
8ce3b8921b Merge pull request #1139 from Card-Forge/saveInTowns
Allow saving from towns.
2022-07-19 11:11:21 +08:00
friarsol
121f7d8012 Allow saving from towns.
If you save from a town, make sure to restore the town as the current scene
2022-07-17 22:48:26 -04:00
Anthony Calosa
c05ea97822 update controls 2022-07-15 01:01:41 +08:00
Anthony Calosa
02f7b7f383 make avatar semi transparent inside tiledmap 2022-07-15 00:48:02 +08:00
Anthony Calosa
462c20af86 (Adventure) Double Tap Avatar to show Menu buttons
- useful for Android devices without navigation buttons (back key to show menu by default)
(Gesture detections like Edge detection needs AppCompatActivity which is missing on Forge Android)
2022-07-15 00:35:44 +08:00
Anthony Calosa
26d906a89a Support for preferred Skin sleeves 2022-07-14 14:12:45 +08:00
Anthony Calosa
bf481ea746 Update AdventurePlayer.java 2022-07-13 18:33:45 +08:00
Anthony Calosa
5c26394ad0 missing ";" 2022-07-13 18:28:19 +08:00
Austere Grim
5280e26066 Rebalance defeat gold loss (#1111)
added percent loss to defeated
changed gold loss to be calculated by a variable percentage loss not static divide by two.
2022-07-13 08:34:42 +03:00
Anthony Calosa
b2984de2d4 unused import 2022-07-12 23:33:12 +08:00
Anthony Calosa
5054ca19a8 add Card Auditer to Mobile 2022-07-12 23:15:59 +08:00
Anthony Calosa
7874178f8b add stretchedArt for saga/class/dungeon 2022-07-12 14:42:52 +08:00
Anthony Calosa
3ac2f00f46 prevent NPE 2022-07-12 10:23:17 +08:00
Anthony Calosa
9dd5d9282d move skin and art related objects to Assets 2022-07-11 10:53:14 +08:00
Anthony Calosa
31e089993d update ImageCache check
- update some variables, prevent NPE on font on reload
2022-07-10 22:14:41 +08:00
Anthony Calosa
edbef89cfa unused imports 2022-07-10 16:56:16 +08:00
Anthony Calosa
8cb8fb2bba refactor overlay to use text mode
- update assetmanager on resume
2022-07-10 16:44:59 +08:00
Anthony Calosa
00130296d8 use single assetmanager
- add seperate set to determine cards loaded
2022-07-10 13:35:17 +08:00
Anthony Calosa
2d607bf289 move skin and adventure fonts to Assets 2022-07-10 07:49:31 +08:00
Anthony Calosa
6915b0d7a4 adjust label width
should fix portrait mode
2022-07-09 20:27:56 +08:00
Anthony Calosa
421c210252 move tmx textures to Assets 2022-07-09 18:42:37 +08:00
Anthony Calosa
ffef4c6191 unused import 2022-07-09 17:23:35 +08:00