Commit Graph

3419 Commits

Author SHA1 Message Date
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
Anthony Calosa
527997f5b2 Update RewardData
- exclude Online and Funny Card for Adventure Rewards
2022-04-19 21:54:14 +08:00
Magpie
fde3758431 Big map update 10
Please talk to the Debug Elf for demonstration of these features.

* Players can now receive blessings that give them an effect for next battle.
* Enemies can also get modified with effects using map attributes.
* Preliminary support for a flag to prevent magical escape from dungeons.
* Players now have a color identity which can be checked for in dialogue conditions (soon will also allow filter for cards for that color)
* Status screen now shows a wreath indicating the color identity around the portrait and information about current blessing.
* Dialogue conditions can check for blessings (named ones).
* Allow to override an enemy's name from the map editor.
* Allow enemies to have dialogue when defeated.
* Preliminary support to heal by arbitrary amounts (no overheal beyond max yet)
2022-04-19 06:37:30 +02:00
Grimm
84a2f24c16 bugfix: clear cache on load 2022-04-19 01:44:09 +02:00
Anthony Calosa
7162cbd4bb Autohide Side Buttons (Portrait)
- when on Adventure Mode - Portrait, hides the side buttons when moving, pressing back button will show/hide the side buttons
2022-04-18 14:18:38 +08:00
Agetian
54a60cf978 Merge pull request #67 from mousep/dpi-fix
Detect Screen DPI and scale images accordingly
2022-04-17 11:51:20 +03:00
Anthony Calosa
4f58b44930 fix portrait mode side buttons 2022-04-17 13:32:42 +08:00
Anthony Calosa
6117e29442 remove unused import 2022-04-17 11:19:12 +08:00
Magpie
6d06c0787f Big map update 9
Nicer dialogs with word wrapping.
2022-04-16 17:14:06 +02:00
Alumi
48f3ae1315 Detect Screen DPI and scale images accordingly 2022-04-16 21:34:12 +09:00
Anthony Calosa
9e94f56b8b use prerendered font to fix font scaling
- using freetypefont generator scale CJK Fonts too big
2022-04-16 17:48:55 +08:00
Anthony Calosa
646af5a5b7 revert touchpad for adventure
- fixes touchpad issues not working
2022-04-16 14:21:24 +08:00
Grimm
5e14f3cf2d added Console 2022-04-16 01:39:42 +02:00
Grimm
33e0269833 fixed skin 2022-04-15 16:12:07 +02:00
Grimm
54747e9264 fixed touchpad 2022-04-15 16:01:01 +02:00
Grimm
06bd269ea5 removed Scaling.fit for now, to many issues 2022-04-15 15:43:59 +02:00
Grimm
54108d372a fixed game hud again
fixed font rendering on pixmaps
2022-04-15 14:50:49 +02:00
Grimm
d3ea7dc2ee fixed game hud 2022-04-15 13:16:37 +02:00
Grimm
55b941fd2f fixed game hud 2022-04-15 13:11:03 +02:00
Anthony Calosa
44ded060f6 unused imports 2022-04-15 18:16:25 +08:00
Magpie
1ddc8785bd Big map update 8.5
Adjusted startBattleWithCards() effect lookups.
2022-04-15 11:48:24 +02:00
Magpie
26cafedba1 Big map update 8.4
Adjust logic when negating dialog events.
Cleanup unused imports.
2022-04-15 11:11:17 +02:00
Magpie
d7622ba861 Big map update 8.3
Fix popups showing up before the reward actor was flipped over.
2022-04-15 10:04:19 +02:00
Magpie
b63002565b Big map update 8.2
Add comments.
2022-04-15 10:03:44 +02:00
Magpie
d416946185 Big map update 8.1
Fix removing dungeon effects after a dungeon.
2022-04-15 09:42:55 +02:00
Magpie
81f97ceb11 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	forge-gui-mobile/src/forge/adventure/stage/GameStage.java
2022-04-15 09:09:55 +02:00
Anthony Calosa
a2d00eed8c revert fonts for Adventure Mode
- fixes slowdown/lag introduced since generating thousands of font data and png is not efficient unless cached specially on Japanese, Chinese Glyphs
2022-04-15 14:59:32 +08:00
Magpie
ad2e2ac76a Big map update 8
Dialog updates.
- Dialogs can be assigned to enemies.
- Dialogs have a few more conditions and effects.
- Dummy objects that can be removed from dialogs by ID.
- Dialogs can force a battle by ID.
2022-04-15 08:36:59 +02:00
Grimm
113997443d adjusted style to work with android
fixed android touch
fixed save load issues between portrait mode
2022-04-15 06:03:50 +02:00
Magpie
8573608ec8 Big map update 7.1
Better check.
2022-04-15 02:55:51 +02:00
Magpie
67e03ded58 Big map update 7
Dungeon-wide effects, step 1.
2022-04-15 02:14:44 +02:00
Grimm
673f8e5351 commit merge changes 2022-04-14 21:06:35 +02:00
Grimm
0a7d5c334a -moved ui positions from code to json
-added separate ui for portrait mode
-removed add to deck/sideboad in shop in inventory view
-moved skin to ttf font
2022-04-14 21:00:27 +02:00
Magpie
9ec78812a6 Big map update 6
Changed item properties to a new Effect class. This can allow effects to be defined for a whole dungeon and/or a single individual.
Which will be the next update.
2022-04-14 09:55:02 +02:00
Magpie
936c3a84c5 Big map update 5.2
Added a proper check.
2022-04-14 07:46:05 +02:00
Magpie
119cec82d9 Big map update 5.1
Added a check for empty loctext.
Restored colorless castle.
2022-04-14 05:16:56 +02:00
Magpie
3f42c6b0f3 Big map update 5
Allow defining dialogs and actions directly in maps.
2022-04-14 04:58:58 +02:00
Magpie
75f58f580c Big map update 3
Changed map pickups:
Now it's a new Actor type and takes its reward values from what the map designer decides using some simple embedded JSON.
Defining rewards as enemies is unnecessary now.
2022-04-13 05:00:44 +02:00