81 Commits

Author SHA1 Message Date
1d9a52ab62 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/Crawler 2023-07-13 17:46:22 +00:00
376b3b59e9 Prep player class structure refactor. Add default destructors to all parent classes. 2023-07-13 17:46:01 +00:00
3986754176 Move class-specific animation update functions into their own class update functions. 2023-07-13 01:42:20 -05:00
c4b0f78881 Add in inherited class structure for effects, so effects can have customized behaviors. 2023-07-13 01:35:51 -05:00
d66e780504 Added lightning bolt attack, added emitter system 2023-07-12 00:23:36 -05:00
d617ee461a Fade transition added to bridge fade layer and upper foreground layer as well
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-11 17:24:50 +00:00
c88d5f1708 Transition fade added for foreground items.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-11 15:33:50 +00: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
39aa134e7c Incomplete tile merging implementation
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-10 20:31:13 +00:00
d916b03f9b Add in pathfinding abilities to monster movement strategies. 2023-07-10 18:40:51 +00: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
6c70437620 Added collision checks and interactions based on upper/lower level status. 2023-07-07 19:48:45 +00: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
5d31d4f3cc Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/Crawler 2023-07-06 14:59:22 -05:00
4f6ac393ed 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
d89aa712c4 Bridge flags properly enabled and working. Fix image paths in maps. 2023-07-06 14:59:21 -05:00
7e5eb2335d Read Zone tile data from the map to prepare for special interactions in the game. 2023-07-06 19:17:59 +00:00
62b90b1618 Minor screen shake adjustments
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-06 18:11:52 +00:00
559addb41f 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
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
a98391877c Fix collision tiles for secondary map sets with offset values based on other tilesets. 2023-07-06 02:38:43 -05:00
32857d793d Pathfinding algorithm start. Currently freezes in pathfinding loop
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-05 21:14:36 +00:00
0c9469d982 Teleport animation implemented. 2023-07-05 19:40:05 +00:00
86f22698cc 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
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
762c46bd44 Refactored all the game classes into derived classes. 2023-07-02 08:42: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
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