Commit Graph

505 Commits

Author SHA1 Message Date
Oskar Wiksten
4d80f1b41d Minor refactoring: Move code that happens after loading a game into Savegames.onWorldLoaded. 2013-06-24 21:08:29 +02:00
Oskar Wiksten
3688cb0914 Minor fixes to dynamic map tiles. 2013-06-22 17:48:02 +02:00
Oskar Wiksten
4a97466d51 Merge branch 'dynamic-layeredtilemap' 2013-06-22 16:31:48 +02:00
Oskar Wiksten
95c4ba9396 Only store first 4 bytes of map hashes (instead of the full 16byte md5sum)
* To keep savegame sizes smaller.
2013-06-22 16:31:39 +02:00
Oskar Wiksten
6c03b40262 Updated template.tmx - added "Replace" layer. 2013-06-22 16:21:25 +02:00
Oskar Wiksten
e65492c837 Worldmap: PNG file names now contain the hash of the tiles that the map contains.
* This way, when a map has some replacements applied, the hash will change, thus making it possible to have several different PNG files for each map, each with its own combination of replacements.
* Only display maps on worldmap that are visited by the current player.
* Update worldmap after replacements have been applied.
2013-06-22 16:21:25 +02:00
Oskar Wiksten
c34614f09b First attempt at dynamic map tiles that change based on quest progress. 2013-06-22 16:21:25 +02:00
Oskar Wiksten
0a9da53930 Revamped looks of crossglen.tmx 2013-06-18 19:59:35 +02:00
Oskar Wiksten
3051d904bd Merge branch 'move-iswalkable-to-layermap' 2013-06-16 10:44:34 +02:00
Oskar Wiksten
f861529564 When entering map, move ground loot bags on unwalkable tiles. 2013-06-16 10:43:56 +02:00
Oskar Wiksten
b455bf2dbe Speed up game start by not loading map layers
* This can be done by making the assumption that all tiles from the maps tilesets will be used.
2013-06-16 10:43:56 +02:00
Oskar Wiksten
cab1185f14 Move isWalkable from PredefinedMap to LayeredTileMap
* In effect, this will lower the amount of memory being used while running the game.
* The walkable bitmap will now be loaded at the same time that the image tiles are loaded for maps, and not when starting the game.
2013-06-16 10:43:56 +02:00
Oskar Wiksten
25fe0441c6 Minor map fixes 2013-06-15 20:18:41 +02:00
Oskar Wiksten
4148ff46be Moved spawn areas away from map edges and mapchange areas. 2013-06-15 11:26:53 +02:00
Oskar Wiksten
fac19a1561 Remove "respawn: false" from all tmx files (it's replaced by a property on the monstertype instead). 2013-06-15 11:25:44 +02:00
Oskar Wiksten
f9979f32dc Show quest progress updates in conversation. 2013-06-15 10:16:27 +02:00
Oskar Wiksten
9b7c5207d0 Add toolbox button for displaying combat log. 2013-06-15 09:40:53 +02:00
Oskar Wiksten
52cec01ed2 Remove in-game menu.
* Move Save from menu to toolbox
* Move preferences to startscreen
* Remove exit on startscreen
2013-06-14 21:41:49 +02:00
Oskar Wiksten
540ac0e87f Correct sizes on map tiles map_wall_2 and map_wall_3. 2013-06-12 00:18:08 +02:00
Oskar Wiksten
01e42134e2 Content editor: Do not default items to type "other". 2013-06-05 23:25:04 +02:00
Oskar Wiksten
21fe350280 Better error messages when reading malformed conversations. 2013-06-05 22:12:39 +02:00
Oskar Wiksten
a8b0d5dc49 Add monsters_demon2 to resourceloader. 2013-06-05 22:12:02 +02:00
Oskar Wiksten
82d8ee6280 Content editor: Fix missing reward type when importing conversations. 2013-06-04 20:11:25 +02:00
Oskar Wiksten
3069ab4819 Add bash script for starting editor locally. 2013-06-02 19:59:08 +02:00
Oskar Wiksten
bb953f9512 Minor fixes for reading slightly borked resource files. 2013-05-29 22:04:39 +02:00
Oskar Wiksten
fa8c31e695 Store list of maps in savegames as map<string> instead of indexed list.
* Do not store maps that have been visited or that have been reset.
* Reduces savegame filesize from ~83k to ~30k.
* Removes dependency on loading maps in a certain order (better for future refactorings).
2013-05-26 13:40:57 +02:00
Oskar Wiksten
cb6f84d2df Bugfix: Allow conversation options for "Feygard errands" in Vilegard even when the Vilegard quest has not been completed. 2013-05-19 18:16:23 +02:00
Oskar Wiksten
1df5d183dc Bugfix: Apply checks for whether the player can select replies on single "next" replies as well. 2013-05-12 13:14:08 +02:00
Oskar Wiksten
348b74ad7b Added worldmap alignment maps (thanks to Tomcat!) 2013-05-06 23:34:53 +02:00
Oskar Wiksten
53e10680fa Teleports in Throdna's throne room are only accessible by one way.
* Force the player to step on the sign tile before accessing the teleporters in the BWM throne room.
2013-04-21 21:05:34 +02:00
Oskar Wiksten
52c7cc5acc Content editor: Add hierarcical view of conversation phrases and replies. 2013-04-06 12:30:07 +02:00
Oskar Wiksten
729a2c98b7 Content editor minor fixes. 2013-04-01 14:50:45 +02:00
Oskar Wiksten
50cd3c20af Content editor: add column to monster table editor to view hit effects. 2013-03-31 18:07:16 +02:00
Oskar Wiksten
a29ebb466b Bugfix: change combat selection when a monster dies from a condition in combat. (thanks to Fala from the forums for finding it!) 2013-03-29 22:55:53 +01:00
Oskar Wiksten
bb314eea66 Raise taunt chance to 75%. 2013-03-29 22:44:27 +01:00
Oskar Wiksten
c8de0c8f77 Minor bugfixes to resource loaders
* Fail harder when TileManager hasn't allocated enough tiles for the preloaded icons.
* Minor tweak to misplaced tile on hauntedhouse3
* Weaken "strength" condition (prefer to control effect through magnitude instead)
* Load icons for "items_weapons_2".
* Do not require items to have "base market cost" (for example, when they are automatically priced)
2013-03-29 20:03:33 +01:00
Oskar Wiksten
84d01e1aed Content editor: Add "previous"/"next" buttons in editors for items, monsters and actor conditions. 2013-03-27 20:15:02 +01:00
Oskar Wiksten
dd51f5de6c Updates to content editor
* Do not reset store prices on items when changing between manual and automatic pricing.
* Correct urls on import/export pages to where the files are placed.
* Show indications in item table editor on effects that cause actor conditions.
2013-03-27 19:35:56 +01:00
Oskar Wiksten
5cb762113d Added more monster icons from the TomeTik set. 2013-03-17 14:28:16 +01:00
Oskar Wiksten
993ec1d194 Conste editor: Add "Add" button at the bottom of the table editor. 2013-03-16 13:13:13 +01:00
Oskar Wiksten
11c301a24c Content editor: Remember displayed columns in table editors when changing pages. 2013-03-16 12:29:53 +01:00
Oskar Wiksten
9a5cf33108 Add automatic cost calculations for items that have hit- or kill-stats that affect HP or AP. 2013-03-16 10:38:19 +01:00
Oskar Wiksten
c2de054cf5 Add automatic cost calculations for items that have "increase use item cost" or "increase reequip cost"-stats. 2013-03-16 10:00:28 +01:00
Oskar Wiksten
bea69f06bf Content editor: Only enable item's "has equip effects" if the item category is wearable. 2013-03-16 09:45:15 +01:00
Oskar Wiksten
626c558335 Content editor: Move reusable logic functions for calculating item cost & monster exp to separate js file. 2013-03-16 09:45:14 +01:00
Oskar Wiksten
73efe5e62b Content editor: Change name of js libraries folder "inc"->"lib". Add favicon image. Close icon selector dialog by pressing escape button. 2013-03-16 09:45:13 +01:00
Oskar Wiksten
7d09202329 Bugfix content editor: treat number fields as numbers (and not strings) when calculating monster experience. 2013-03-10 13:40:42 +01:00
Oskar Wiksten
24c15a798a Bugfix: Read critical multiplier for weapons as float instead of int. 2013-03-10 13:18:18 +01:00
Oskar Wiksten
eb3f3f989d Bugfix: When exporting strings that start with a number (such as "2hsword"), only do integer conversion in the resulting JSON if the whole value is a number. 2013-03-09 23:45:38 +01:00
Oskar Wiksten
1cc20839ff Added some tiles for crates and stairs, from opengameart.org. 2013-02-24 18:18:37 +01:00