Commit Graph

3206 Commits

Author SHA1 Message Date
Anthony Calosa
bd5a33edff refactor deckgen for adventure
-some phones don't like streams
2022-05-21 16:39:05 +08:00
Anthony Calosa
f9ebfddaab add questevent decks for chaos mode
- add dumpEnemyDeckList command
2022-05-21 02:40:09 +08:00
Anthony Calosa
b17b7a5067 add Console toggle for android
- longpress the GameHud or the avatar to open the console.
2022-05-19 15:32:05 +08:00
Anthony Calosa
2b15ddae90 GameHUD buttons update 2022-05-19 07:28:25 +08:00
Agetian
ef2d5c4d7c Merge pull request #391 from Card-Forge/libgdxUpdate
Update LibGDX 1.11.0
2022-05-18 17:07:25 +03:00
Anthony Calosa
6afdda9a0f Update GameHUD.java
fix inverted action, hide when buttons are visible
2022-05-18 20:59:39 +08:00
Anthony Calosa
89b212e9d0 [Android] GameHUD buttons action for adventure
- add move action for GameHUD buttons
2022-05-18 20:37:30 +08:00
Anthony Calosa
8f06aaeb01 Update LibGDX 1.11.0
- see https://libgdx.com/news/2022/05/gdx-1-11
2022-05-18 11:34:11 +08:00
Anthony Calosa
21dce32791 [Adventure] Update Deck selector to Chaos Mode
- Precons, Theme or Random Generated color decks for Enemies, Precons for Player deck on New Game
2022-05-18 02:30:56 +08:00
Anthony Calosa
605dfb351f [Adventure] Add Fantasy Mode on Deck Selector
- Fantasy Mode will get Random Preconstructed Decks for Enemies and Player.
2022-05-17 16:03:42 +08:00
Magpie
522ccc2f2d Adventure mode - Small fixes
* Fixed hedge walls not having collisions.
* Variable timer added to reward scenes, it'll wait longer the more rewards are given. It can also be exited by activating the button again after 0.2 seconds (to prevent accidental double clicks).
2022-05-08 14:40:31 +02:00
Anthony Calosa
8708b6300c [Adventure] Fix Layout and add Preview Date Time 2022-05-08 14:06:09 +08:00
Anthony Calosa
3c9cabfb7b [Adventure] Refactor GameHud
Make GameHud controls/layout for Android landscape mode identical to Android portrait mode. Desktop Adventure mode retains previous layout and controls.
2022-05-08 05:57:36 +08:00
Anthony Calosa
a318749a78 [Mobile] Add Auto AI Deck option 2022-05-08 02:16:36 +08:00
Anthony Calosa
721b284b1b revert 2022-05-07 13:02:20 +08:00
Anthony Calosa
1536c0e589 remove extra code 2022-05-07 11:17:54 +08:00
Anthony Calosa
268b1ea823 prevent NPE 2022-05-07 11:15:26 +08:00
Anthony Calosa
a16fbf15bc add check on selectedDeckType 2022-05-07 10:00:18 +08:00
Anthony Calosa
f2fb22328a unused import 2022-05-07 07:22:20 +08:00
Anthony Calosa
2ecc88cada cleanup 2022-05-07 07:18:17 +08:00
Anthony Calosa
4972823b27 Merge pull request #267 from kevlahnota/diffPlus
[Adventure] difficulty selector on NewGame Plus
2022-05-07 06:49:57 +08:00
Anthony Calosa
4aca310370 update button text 2022-05-07 06:34:48 +08:00
Anthony Calosa
88914f8fec [Adventure] difficulty selector on NewGame Plus 2022-05-07 00:20:21 +08:00
Anthony Calosa
317623fb34 refactor aideck selection 2022-05-06 21:48:11 +08:00
Magpie
78345ade78 Adventure mode - Revert RNG
Better fix for yesterday's revert.
2022-05-06 01:33:51 +02:00
Anthony Calosa
84e4cf5bd2 Merge pull request #250 from magpie514/master
Adventure mode - Revert RNG
2022-05-05 20:06:45 +08:00
Magpie
e931da7ce0 Adventure mode - Revert RNG
Fix call that assumed MyRandom.
2022-05-05 14:00:43 +02:00
Anthony Calosa
10af16aa1d [Mobile] Auto select AI Enabled Decks randomly
- Auto select AI Enabled Decks (non generated decks) when the Player Panel is AI and at least more than 10 AI Decks is available randomly
2022-05-05 18:16:54 +08:00
Magpie
509ba33d8e Adventure mode - Revert RNG
Unused import.
2022-05-05 06:49:45 +02:00
Magpie
b0c545b039 Adventure mode - Revert RNG
This will revert shops back to being handled consistently. Temporary solution, most changes are code re-arranging to prepare for more drastic changes.
The current design for shops doesn't allow for easy dynamic changes, it's going to need to be rewritten so PointOfInterestChanges saves the type and current contents of a shop. As it is, a world will always generate a limited amount of cards unless that's done.
2022-05-05 06:41:18 +02:00
Magpie
8251c08af0 Adventure mode - Support to restrict cards from random pool
For now we just restrict the Power Nine. They can still be dropped explicitly.
2022-05-05 05:08:31 +02:00
Anthony Calosa
9a61ac45f4 [Adventure] disables Advanced Search
- needs GUI Layout for Landscape mode
- needs override onclose event on internal EditScreen on AdvancedSearchFilter
2022-05-03 11:50:44 +08:00
Anthony Calosa
0b5b3ef756 Merge pull request #201 from magpie514/master
Adventure mode - Add doppelganger enemy
2022-05-02 12:04:26 +08:00
Magpie
640a1029f7 Adventure mode - Add doppelganger enemy
Rare overworld spawn, uses same deck as player and can grant a duplicate.
2022-05-02 05:41:04 +02:00
Anthony Calosa
b722aa7b4c Merge pull request #199 from TrueFuFLeaderG/adventure
Adventure: fixed shopList attribute in towns
2022-05-02 06:30:40 +08:00
Grimm
dc24da9c2e Adventure: fixed shopList attribute in towns 2022-05-02 00:24:22 +02:00
Anthony Calosa
6e00e9bf43 Merge pull request #135 from magpie514/master
Big map update 16
2022-04-25 20:15:44 +08:00
Magpie
3c4ae4e96f Big map update 16.1
Unused imports.
2022-04-25 09:36:36 +02:00
Magpie
0a7d102edd Big map update 16
Local dungeon flags are now supported as well.
Unless there's some big sudden issue this should be all of the internal changes for the big map update.
Now it's time to change maps to accommodate for these features.
2022-04-25 09:34:29 +02:00
Grimm
098e601313 added item editor 2022-04-24 20:35:34 +02:00
Magpie
ee074e05fd Big map update 15
* Renamed dialogue effects to "actions" so it's not confused with effects that boost a character. Updated story maps accordingly.
* Added ability for map actors to spawn in specific difficulties. Check debug room at the lower left, higher difficulties have more ghosts and less treasure.
* Added ability for rewards to grant cards aligned with the player's color identity. Default chests have been updated.
* Use Tiled's visibility property for rewards and enemies. The later is discoured but nice to have.
* Updated map templates to use the new properties.
* Added icon for enemies with added effects.
* Added ability to set manual descriptions for items (mainly quest ones, but it's there).
* Added ability to add extra rewards to specific enemies.
* Added warning on missing spriteLayer.
* Wurm cave is now fancier.
2022-04-24 00:37:51 +02:00
Magpie
315d889b0d Big map update 14
Allow setting enemy effects through dialogues.
To test defeat the left goblin in the debug room. Then talk to his now very angry friend.
2022-04-23 03:01:46 +02:00
Magpie
fb50b47fbe Big map update 13.3
Some files left behind.
2022-04-23 02:44:58 +02:00
Magpie
87ad9d2dd5 Big map update 13.2
Some files left behind.
2022-04-23 02:42:20 +02:00
Magpie
7fd050378c Big map update 13.1
* Added console command to change color ID.
* Portrait mode status screen
* Portrait mode inventory "Delete" -> "Discard"
2022-04-23 01:15:39 +02:00
Magpie
c8f1ec5e51 Big map update 13
Adds a dialogue marker to enemies that can be talked to.
Also enables to enable or disable dialogues entirely conditionally.
2022-04-23 00:31:20 +02:00
Magpie
5f738adf07 Big map update 12
Added global quest flags.
They are bytes which work as state or progress markers for a given task, they are accessed by key, a string.
2022-04-22 21:32:00 +02:00
Magpie
c058a7c863 Big map update 11
* Added a dummy texture in Graphics. Useful to add raw pixels or solid color boxes to a drawing batch.
* Dialogue actions added: Heal (negative too) player, Add gold.
* Dialogue conditions added: Check for gold >= X, check for health >= X.
* Added "Manasight" effect to equipment and blessings. Allows to see the colors used by enemies.
* All existing enemies have their color identities assigned.
* Console command to dump all deck colors used by enemies (to update the data for color view)
* Console command to force reload of status scenes (for faster design)
* Less delay when clicking "Done" in a reward scene.
* Adjustments to (landscape) Status and Inventory scenes.
* Blessings properly assign map effects (speed, manasight)
* Added "Manasight Amulet" (sprite pending) to grant the user manasight.
* Added "Scroll" pickup template. It's meant to grant single cards.
2022-04-20 11:07:23 +02:00
Magpie
caf2d5279c Merge remote-tracking branch 'upstream/master' 2022-04-19 23:46:54 +02:00
Magpie
322bbc1972 Big map update 10
* Dispose of color frames texture.
2022-04-19 23:46:11 +02:00