Commit Graph

3431 Commits

Author SHA1 Message Date
Grimm
aa9d15a908 adventure Editor rework 2022-08-03 16:26:46 +02:00
Grimm
95fba3d0cb WaveFunctionCollapse editor 2022-08-02 17:59:30 +02:00
Anthony Calosa
f5bfdf3fda Update RewardScene.java
minor adjustment
2022-08-01 16:14:34 +08:00
Anthony Calosa
f840bd118f Update RewardScene.java 2022-08-01 09:49:20 +08:00
Anthony Calosa
6b1c8d30f4 get realScreen size for android
- to check if the app renders different resolution and update the tooltips size
2022-08-01 08:46:47 +08:00
Anthony Calosa
6b04ab36a1 update alignment 2022-08-01 05:38:47 +08:00
Anthony Calosa
67a599a892 update dimension 2022-08-01 05:04:09 +08:00
Anthony Calosa
7306b2e371 unused import 2022-08-01 04:27:53 +08:00
Anthony Calosa
7d8534204d update RewardScene & RewardActor for various screen display
- support for tall phones, ultra wide and unfolded screen (11.2:9)
- tested with simulated display aspect ratio of (4:3, 5:4, 16:9, 16:10, 18:9, 19:9, 21:9)
2022-08-01 03:40:24 +08:00
Anthony Calosa
194d5b00dc fix LibGDXImageFetcher not deleting .tmp files
- removed unnecessary keys for 2nd variants displaying first art.
  should fix displaying duplicated art when using image fetcher
2022-07-31 12:04:57 +08:00
Anthony Calosa
d369b45e60 support lookup card 2022-07-30 12:58:54 +08:00
Anthony Calosa
9e602202a8 update counter 2022-07-30 12:08:57 +08:00
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