173 Commits

Author SHA1 Message Date
0349e5d16e Tidy up map zones, fix upper and lower level collision interactions. 2023-07-10 19:07:59 -05:00
a6c818b179 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
50cb945df4 Incomplete tile merging implementation
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-10 20:31:13 +00:00
0529de4bf9 Add in pathfinding abilities to monster movement strategies. 2023-07-10 18:40:51 +00:00
57d7f3344b Implemented reading spawn zones on maps. Monsters now spawn according to spawn zones. 2023-07-07 21:35:44 -05:00
9a2af45245 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
d494be6970 Added collision checks and interactions based on upper/lower level status. 2023-07-07 19:48:45 +00:00
6b81cd6e84 Layering rendering now proper. 2023-07-07 06:42:49 -05:00
7348426c71 Upper level and lower level rendering handled properly. 2023-07-07 04:49:26 -05:00
69fac079f7 Zones caused the player to swap between upper and lower levels. 2023-07-07 04:31:36 -05:00
2b3dfb63aa Staircase incremental movement implemented. 2023-07-06 15:07:44 -05:00
7e4816631c 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
cbd2378e97 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/Crawler 2023-07-06 14:59:22 -05:00
aa56b4a428 Include flags for monsters and players to indicate if they are on the upper level or lower level. 2023-07-06 20:25:55 +00:00
ef83e7f865 Bridge flags properly enabled and working. Fix image paths in maps. 2023-07-06 14:59:21 -05:00
005c49aa04 Read Zone tile data from the map to prepare for special interactions in the game. 2023-07-06 19:17:59 +00:00
d2ab61472a Minor screen shake adjustments
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-06 18:11:52 +00:00
d08b3848b8 Firebolt bullet speed increased, added slight screen shake on impact and added cooldown timer numbers next to cooldown bars. 2023-07-06 18:03:35 +00:00
78b6113d8e Added mini particles for teleporting. 2023-07-06 03:43:34 -05:00
88666b1d61 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
c97886fbbe Fix collision tiles for secondary map sets with offset values based on other tilesets. 2023-07-06 02:38:43 -05:00
408c1d3950 Pathfinding algorithm start. Currently freezes in pathfinding loop
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-05 21:14:36 +00:00
fac52ec521 Teleport animation implemented. 2023-07-05 19:40:05 +00:00
d658bb9973 Fix teleport ability, reverse logic in has tile collision. Also use precise collision checking for tiles. Teleporting distance clamping is now proper (650 range) 2023-07-05 18:29:04 +00:00
888d2a91a6 Teleport code added in Wizard. Needs more debugging. 2023-07-05 04:31:31 -05:00
ba6bc74f1f Add energy bolt splash effect and fade out. 2023-07-05 05:34:21 -05:00
8c34640e52 Fixed bug with bullet events deleting other unrelated bullets. 2023-07-05 02:31:34 -05:00
9aef66db47 Refactored all the game classes into derived classes. 2023-07-02 08:42:18 -07:00
1a441914ca 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
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
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
77bd085908 Mana implemented. When not enough mana is available for an ability, a notification appears. 2023-06-19 04:03:04 -05:00
6d4c069fe4 Implemented Battlecry. Debuff/Buff modifiers. Fixed bug where player can auto attack during a ground slam. 2023-06-19 03:25:01 -05:00