97 Commits

Author SHA1 Message Date
1f69848049 Prep player class structure refactor. Add default destructors to all parent classes. 2023-07-13 17:46:01 +00:00
0dfb58a777 Add in inherited class structure for effects, so effects can have customized behaviors. 2023-07-13 01:35:51 -05:00
228a3caa0e Upper level and lower level spawning now distinguished in map editor. 2023-07-10 19:22:33 -05:00
0349e5d16e Tidy up map zones, fix upper and lower level collision interactions. 2023-07-10 19:07:59 -05:00
0529de4bf9 Add in pathfinding abilities to monster movement strategies. 2023-07-10 18:40:51 +00:00
debf151c46 Pathfinding now returns the nodes to reach a destination in preparation for use w/AI pathfinding
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-07-10 14:38:31 +00:00
57d7f3344b Implemented reading spawn zones on maps. Monsters now spawn according to spawn zones. 2023-07-07 21:35:44 -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
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
ef83e7f865 Bridge flags properly enabled and working. Fix image paths in maps. 2023-07-06 14:59:21 -05:00
46e3c7f7e7 Use pathfinding algorithm to determine teleport validity. 2023-07-06 03:22:05 -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
888d2a91a6 Teleport code added in Wizard. Needs more debugging. 2023-07-05 04:31:31 -05:00
9aef66db47 Refactored all the game classes into derived classes. 2023-07-02 08:42:18 -07:00
5566eced77 Consolidated jump and shoot animations for monsters into MonsterData. 2023-07-01 20:47: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
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
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
ccfeae19d4 Sonic Slash implemented for Warrior. Build updated w/new features. 2023-06-20 19:13:45 -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
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
c81040494c Fix Player::Hurt not having a return value. Web build created. 2023-06-17 23:29:04 -05:00
9e6573729e All underlying class differences now applied to code. Preparation for other class implementations. Implemented class swapping via mouse wheel. 2023-06-17 23:07:26 -05:00
21368f6f95 Define and setup internal class attributes. 2023-06-17 22:03:20 -05:00
e090bc775d Implemented blocking. Made player abilities dynamic instead of fixed for class expansion preparation. 2023-06-17 21:19:08 -05:00
75b763e87b Implement Iframes for the player when performing a Ground Slam. 2023-06-17 19:51:56 -05:00
4b98518fcf Added Warrior swing sword animation 2023-06-17 19:34:16 -05:00
2f95e71114 Fix bug with missing return value for effect updating. 2023-06-16 02:33:12 -05:00
df1681b051 Bounce collisions occur between units. 2023-06-15 23:44:34 -05:00
7c542740cc Auto attacking now based on click position. Damage numbers will stop when they reach a certain height. Monsters not counted in range if dead. 2023-06-15 04:53:57 -05:00
3aebde6287 Finished implementing Ground Slam effect, cooldown display, and range hit. 2023-06-15 00:47:11 -05:00
7e543a3021 Implement ground slam animation 2023-06-15 00:11:39 -05:00
0fa77fa944 Spin attack refinements. 2023-06-13 06:29:32 -05:00
c680d52431 Add Spinning attack animation 2023-06-12 18:14:22 -05:00
306473ff9a Shadow added when player is in air
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-06-12 20:22:40 +00:00
15c246689f Monsters in front/behind now sorted proper. 2023-06-12 00:37:55 -05:00
6584a240b1 Large refactoring and implemented hurt on monsters 2023-06-11 22:57:43 -05:00