Commit Graph
112 Commits
Author SHA1 Message Date
AMay 1faf121bb9 Casting range clamping. Refactored hurt function to accept an upperlevel check so there's no requirement to do it manually anymore. Converted AoE damage functions for Meteor to use AoE hurt functions built-in. Fix upper bridge targeting indicator rendering. 2023-07-22 03:19:52 -05:00
AMay 73d29a2ab5 Added lingering field effect. 2023-07-21 17:29:20 -05:00
AMay 88df322042 Effect particles realigned and particles that are behind the center move to the back. 2023-07-21 15:20:56 -05:00
AMay bcd8569804 Move class-specific animation update functions into their own class update functions. 2023-07-13 01:42:20 -05:00
AMay 0dfb58a777 Add in inherited class structure for effects, so effects can have customized behaviors. 2023-07-13 01:35:51 -05:00
AMay 0229982717 Added lightning bolt attack, added emitter system 2023-07-12 00:23:36 -05:00
AMay c7f09d9513 Fixed a tree that wasn't in the upper foreground layer. Release build 594 created. 2023-07-10 19:29:04 -05:00
AMay 228a3caa0e Upper level and lower level spawning now distinguished in map editor. 2023-07-10 19:22:33 -05:00
AMay 0349e5d16e Tidy up map zones, fix upper and lower level collision interactions. 2023-07-10 19:07:59 -05:00
AMay 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
AMay 397dd13a28 Include executable in build. 2023-07-08 17:01:56 -05:00
AMay 57d7f3344b Implemented reading spawn zones on maps. Monsters now spawn according to spawn zones. 2023-07-07 21:35:44 -05:00
AMay 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
AMay 6b81cd6e84 Layering rendering now proper. 2023-07-07 06:42:49 -05:00
AMay 7348426c71 Upper level and lower level rendering handled properly. 2023-07-07 04:49:26 -05:00
AMay 69fac079f7 Zones caused the player to swap between upper and lower levels. 2023-07-07 04:31:36 -05:00
AMay 2b3dfb63aa Staircase incremental movement implemented. 2023-07-06 15:07:44 -05:00
AMay 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
AMay ef83e7f865 Bridge flags properly enabled and working. Fix image paths in maps. 2023-07-06 14:59:21 -05:00
AMay 3939ee5693 Fire Bolt implemented. 2023-07-06 04:35:40 -05:00
AMay 78b6113d8e Added mini particles for teleporting. 2023-07-06 03:43:34 -05:00
AMay 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
AMay 46e3c7f7e7 Use pathfinding algorithm to determine teleport validity. 2023-07-06 03:22:05 -05:00
AMay c97886fbbe Fix collision tiles for secondary map sets with offset values based on other tilesets. 2023-07-06 02:38:43 -05:00
AMay 888d2a91a6 Teleport code added in Wizard. Needs more debugging. 2023-07-05 04:31:31 -05:00
AMay ba6bc74f1f Add energy bolt splash effect and fade out. 2023-07-05 05:34:21 -05:00
AMay 8c34640e52 Fixed bug with bullet events deleting other unrelated bullets. 2023-07-05 02:31:34 -05:00
AMay 42c5043163 Death animation now tied to monster data. 2023-07-05 02:18:58 -05:00
AMay 9aef66db47 Refactored all the game classes into derived classes. 2023-07-02 08:42:18 -07:00
AMay 5566eced77 Consolidated jump and shoot animations for monsters into MonsterData. 2023-07-01 20:47:18 -07:00
AMay 1a441914ca Bullets now have derived types. 2023-06-30 15:44:41 -07:00
AMay db7744dad3 Wizard energy bolt attack implemented. 2023-06-24 02:14:11 -07:00
AMay 9a8859ffe8 Adjusted shoot afar AI to account for collision tiles. 2023-06-24 01:18:21 -07:00
AMay 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
AMay 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
AMay d9e8c6ddbd Add line to rectangle collision detection in geom2d header. 2023-06-23 01:34:26 -07:00
AMay 5a8527f51b Add line collision checking to geom2d functions. 2023-06-23 01:08:09 -07:00
AMay 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
AMay 5ffcf3126a Basic foreground layer hiding code implementation. 2023-06-22 22:09:11 -07:00
AMay 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
AMay d254e169c4 Added ellipse contains function to Geometry2D. 2023-06-22 16:42:23 -07:00
AMay e6268b0edc Can now load maps from other directories. 2023-06-22 05:38:44 -07:00
AMay 0294fdb8bc Flipped logic for firstgid checking with multiple tile layers. 2023-06-22 04:42:55 -07:00
AMay 2613a9ea33 Load a level using its tileset instead. 2023-06-22 04:34:23 -07:00
AMay 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
AMay cf87c25f63 Parse TSX files and link map data to map tilesets in Tiled. 2023-06-22 01:30:26 -07:00
AMay 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
AMay 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
AMay 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
AMay 66d8b9050c Parse spawn groups from tiled map data. 2023-06-21 01:50:28 -07:00