56 Commits

Author SHA1 Message Date
cd3ebd4fc0 Fixed a tree that wasn't in the upper foreground layer. Release build 594 created. 2023-07-10 19:29:04 -05:00
794fb92534 Upper level and lower level spawning now distinguished in map editor. 2023-07-10 19:22:33 -05:00
90680af4ba Tidy up map zones, fix upper and lower level collision interactions. 2023-07-10 19:07:59 -05:00
0e26a9a090 Re-did Tile grouping code, using a flood fill algorithm now instead of sequential tile checking. Prevents bugs with neighboring tile groups being split improperly. 2023-07-10 18:48:57 -05:00
a6dbc81b78 Include executable in build. 2023-07-08 17:01:56 -05:00
0493252a08 Implemented reading spawn zones on maps. Monsters now spawn according to spawn zones. 2023-07-07 21:35:44 -05:00
c2cc6e83ab Add in lower bridge tile zones (horizontal blocks on lower level). Use official map instead of test map. 2023-07-07 17:44:06 -05:00
0c28a3a608 Layering rendering now proper. 2023-07-07 06:42:49 -05:00
53243e6871 Upper level and lower level rendering handled properly. 2023-07-07 04:49:26 -05:00
bf01744143 Zones caused the player to swap between upper and lower levels. 2023-07-07 04:31:36 -05:00
d5f87de19a Staircase incremental movement implemented. 2023-07-06 15:07:44 -05:00
57490f86e1 Corrected set position bugs when X axis is not valid while Y is. Corrected staircase collision boxes. Upper Foreground tiles added. 2023-07-06 14:24:43 -05:00
d89aa712c4 Bridge flags properly enabled and working. Fix image paths in maps. 2023-07-06 14:59:21 -05:00
460253d755 Fire Bolt implemented. 2023-07-06 04:35:40 -05:00
9c13c8c331 Added mini particles for teleporting. 2023-07-06 03:43:34 -05:00
6b782fb7b9 Fix edge cases when we click too close to the character or too far, still allow max possible distance teleports even when clicked outside of range. 2023-07-06 03:31:47 -05:00
388cf5bf02 Use pathfinding algorithm to determine teleport validity. 2023-07-06 03:22:05 -05:00
a98391877c Fix collision tiles for secondary map sets with offset values based on other tilesets. 2023-07-06 02:38:43 -05:00
65cae7aea7 Teleport code added in Wizard. Needs more debugging. 2023-07-05 04:31:31 -05:00
0482020b19 Add energy bolt splash effect and fade out. 2023-07-05 05:34:21 -05:00
5523b3fd1a Fixed bug with bullet events deleting other unrelated bullets. 2023-07-05 02:31:34 -05:00
90626bf628 Death animation now tied to monster data. 2023-07-05 02:18:58 -05:00
762c46bd44 Refactored all the game classes into derived classes. 2023-07-02 08:42:18 -07:00
f92e0f7213 Consolidated jump and shoot animations for monsters into MonsterData. 2023-07-01 20:47:18 -07:00
1d396d3215 Bullets now have derived types. 2023-06-30 15:44:41 -07:00
db7744dad3 Wizard energy bolt attack implemented. 2023-06-24 02:14:11 -07:00
9a8859ffe8 Adjusted shoot afar AI to account for collision tiles. 2023-06-24 01:18:21 -07:00
46a16b8ae2 Changed version display string shadow to match other shadow texts.
Terrain collision map implementation complete.

Made shadow text functions modular.
2023-06-24 00:00:14 -07:00
cdab15d8d3 Add hit reset flag for monsters that charge at players such that they must reset it to damage the player with contact damage again. Player spawn location now reads from the level file. Collision tile data loaded. 2023-06-23 20:42:55 -07:00
d9e8c6ddbd Add line to rectangle collision detection in geom2d header. 2023-06-23 01:34:26 -07:00
5a8527f51b Add line collision checking to geom2d functions. 2023-06-23 01:08:09 -07:00
60c8317b20 Detect connected tile groups and allow for fade out of the foreground layer when the player gets in range. These groups are initialized on level loading and self-expand. 2023-06-22 23:28:16 -07:00
5ffcf3126a Basic foreground layer hiding code implementation. 2023-06-22 22:09:11 -07:00
b2eda563f2 Sync up monster names with in-game values. Spawners loaded from map data. Spawners now are ellipses instead of circles. Added yellow slime missing death animation. New release build. 2023-06-22 17:44:51 -07:00
d254e169c4 Added ellipse contains function to Geometry2D. 2023-06-22 16:42:23 -07:00
e6268b0edc Can now load maps from other directories. 2023-06-22 05:38:44 -07:00
0294fdb8bc Flipped logic for firstgid checking with multiple tile layers. 2023-06-22 04:42:55 -07:00
2613a9ea33 Load a level using its tileset instead. 2023-06-22 04:34:23 -07:00
d6e9ade54e Made map data xml tag more specific (output width and height as values). Add load level functionality, changes world size. 2023-06-22 02:46:38 -07:00
cf87c25f63 Parse TSX files and link map data to map tilesets in Tiled. 2023-06-22 01:30:26 -07:00
8d5d509c7c Level loading modularized. Levels auto-load/cache tilesets that are already loaded and shared between maps. 2023-06-21 22:59:06 -07:00
b4d6d1cd09 Fix up tileset displays and enable the ability to have multiple tilesets in one map for the parser. 2023-06-21 21:33:23 -07:00
1d3b07eb98 Revamped TMXParser.h such that there is a separation between function declarations and definitions for modular support. 2023-06-21 14:30:14 -07:00
66d8b9050c Parse spawn groups from tiled map data. 2023-06-21 01:50:28 -07:00
89473d417c We no longer read invalid tags or lone tags. 2023-06-21 01:07:14 -07:00
635f580ba6 Proper handling of names with spaces in parsing. 2023-06-21 00:58:10 -07:00
5967b1823f Fix up TMXParser. Make the map levels not as buggy to edit. 2023-06-21 00:34:09 -07:00
ccfeae19d4 Sonic Slash implemented for Warrior. Build updated w/new features. 2023-06-20 19:13:45 -07:00
dd75b5b52d Tested build for correction to Issue #8 2023-06-20 16:56:56 -07:00
ca151cedd9 Add Sonic Slash graphics. Fixed Issue #8 such that larger enemies are no longer affected by Battlecry. 2023-06-20 16:50:56 -07:00