Commit Graph

4010 Commits

Author SHA1 Message Date
Anthony Calosa
d1f06e0353 Merge pull request #1284 from TrueFuFLeaderG/adventure
Adventure
2022-08-08 11:34:27 +08:00
Anthony Calosa
0b2075d1d3 Update ImageCache.java
revert
2022-08-08 11:25:45 +08:00
Anthony Calosa
cc78dee5b5 Update VCardDisplayArea.java
revert
2022-08-08 11:25:18 +08:00
Anthony Calosa
3093d9f617 Update GuiChoose.java
revert
2022-08-08 11:18:40 +08:00
Anthony Calosa
1e0ff83082 Update Forge.java 2022-08-08 11:10:39 +08:00
Anthony Calosa
244c611c97 Update SplashScreen.java 2022-08-08 11:06:47 +08:00
Anthony Calosa
6827a83596 Update SplashScreen.java
to override the startup you don't need to modify the splashscreen, it should be afterdbloaded
2022-08-08 11:05:20 +08:00
Grimm
19feb55641 merged kev change by hand 2022-08-07 23:20:03 +02:00
Grimm
79e85bda06 Adventure
removed BufferdImage dependency
  rolled back import changes
2022-08-07 23:14:08 +02:00
Anthony Calosa
5204c735ac fix black texture on adventure mode list view
- needs to clear card art cache when unloading card textures
- minor speedup on startup on selector adventure settings
2022-08-07 22:52:33 +02:00
Anthony Calosa
7cea9c3973 fix black texture on adventure mode list view
- needs to clear card art cache when unloading card textures
- minor speedup on startup on selector adventure settings
2022-08-07 22:14:58 +08:00
Grimm
f9be819925 Adventure
removed debug log
  adjusted some terrain
2022-08-06 22:40:26 +02:00
Anthony Calosa
6ae171f7fc fix dual choices and alternate view on confirm action 2022-08-06 21:45:57 +02:00
Grimm
f6bec79a28 changed road algo
added WaveFunctionCollapse to create biome structures
changed world generation.
added overworld collision for enemies.
2022-08-06 21:10:18 +02:00
Anthony Calosa
4cdf7829c2 fix dual choices and alternate view on confirm action 2022-08-06 12:32:43 +08:00
Grimm
03aac93b26 Merge branch 'master' of https://github.com/TrueFuFLeaderG/forge into adventure
 Conflicts:
	forge-adventure/src/main/java/forge/adventure/editor/BiomeEdit.java
	forge-adventure/src/main/java/forge/adventure/editor/BiomeStructureEdit.java
	forge-adventure/src/main/java/forge/adventure/editor/BiomeTerrainEdit.java
	forge-adventure/src/main/java/forge/adventure/editor/EditorMainWindow.java
	forge-adventure/src/main/java/forge/adventure/editor/PointOfInterestEdit.java
	forge-adventure/src/main/java/forge/adventure/editor/RewardEdit.java
	forge-adventure/src/main/java/forge/adventure/editor/StructureEditor.java
	forge-adventure/src/main/java/forge/adventure/editor/SwingAtlasPreview.java
	forge-adventure/src/main/java/forge/adventure/editor/WorldEditor.java
	forge-gui-mobile/src/forge/adventure/data/BiomeData.java
	forge-gui-mobile/src/forge/adventure/data/BiomeStructureData.java
	forge-gui-mobile/src/forge/adventure/data/WorldData.java
	forge-gui-mobile/src/forge/adventure/stage/GameHUD.java
	forge-gui-mobile/src/forge/adventure/world/BiomeStructure.java
	forge-gui-mobile/src/forge/adventure/world/BiomeTexture.java
	forge-gui-mobile/src/forge/adventure/world/World.java
	forge-gui/res/adventure/Shandalar/world/green.json
2022-08-05 22:47:31 +02:00
Grimm
605c232dea wavefunction collapse first integration 2022-08-05 22:41:05 +02:00
Grimm
cdd72d138b AdventureEditor: added editors 2022-08-05 22:41:05 +02:00
Grimm
93ac9fd7fe adventure Editor rework 2022-08-05 18:14:51 +02:00
Anthony Calosa
4e2435ebf7 try to fix bug getting default font not correctly setting the scale to 1 2022-08-05 20:50:01 +08:00
Anthony Calosa
6b0847159d unused import 2022-08-05 14:23:01 +08:00
Anthony Calosa
d15cf79598 cleanup 2022-08-05 14:17:22 +08:00
Anthony Calosa
99222e6fa5 landscape and portrait settings for reward/shop card display/tooltips
- user can adjust the values seperately for landscape or portrait mode
2022-08-05 14:12:22 +08:00
Anthony Calosa
1759a94cdc remove duplicate setting 2022-08-05 10:46:44 +08:00
Anthony Calosa
745d71745e setting for card display/tooltip on adventure rewards/shops
- add support for various display aspect ratio
2022-08-05 10:26:32 +08:00
Anthony Calosa
efc5002bb7 minor adjustments on tooltips 2022-08-05 06:46:02 +08:00
Anthony Calosa
74c5c3d720 fix for drawables 2022-08-04 14:05:00 +08:00
Anthony Calosa
beca83a97c adjust tooltips for screens without navigation menu 2022-08-04 11:00:33 +08:00
Anthony Calosa
a468d19408 update Assets
- load bitmapfonts to assetmanager
- load adventure skinfile to assetmanager
- update ondestroy on android to dispose assets
- fix confirmpayment on mobile not displaying card images on hidden zone (ie shocklands that were put into play from library to battlefield)
- increase pagesize for CJK Fonts
2022-08-04 08:57:22 +08:00
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