Commit Graph

69 Commits (9dbc5b46f8251a3dc044758295243cfe185341da)

Author SHA1 Message Date
sigonasr2 a8d04d258f Convert monster stats to calculate using stat up bonuses instead of manual calculations. Release Build 9922. 5 months ago
sigonasr2 6ea8588feb Add Heal function for monsters. Make player stat functions const return. Add Missing Health bonus stat from buffs. Refactor names of stat functions to be more explicit. Add more stat buff and pct buff checks. Fix up discrepancies with how stat up buffs work for the player. 53/53 passing tests. 5 months ago
sigonasr2 e4a1cddd77 Added Monster unit tests relating to the damage formula, crit rates, and special survival cases. 5 months ago
sigonasr2 e33b3552f1 Add in Monster Unit tests verifying move speed is adjusted properly. 5 months ago
sigonasr2 dcea90fedb Implement unit tests for the project. Fix Display Name bug (found in InternalNameCheck unit test). Add Monster Unit Tests. 5 months ago
sigonasr2 dc2394cd17 Only adjust DPS boss damage counter for monsters spawned and considered part of the boss fight. Add in ability for attacks to deal true damage. Change hurt function to handle a True Damage Flag. Stone Throw now breaks pillars it hits. Release Build 9675. 5 months ago
sigonasr2 1066a7a37d Revamp Player vs Monster collision code. Add in handling for solid objects causing the player to run against the object instead of bouncing off of it. Make solid monsters (pillars) have transparency like foreground terrain when looking behind them. Add terrain collision boxes for these as well. Release Build 9610. 6 months ago
sigonasr2 8c5438b73b Add Chapter 2 boss AI setup. Add Chapter 2 Boss Monster Entry. Add Boss Pillar Monster Entry. Setup Breaking Pillar Monster Strategy. Release Build 9554. 6 months ago
sigonasr2 5918846fbd Refactor manual typing of HP Ratios with an HP Ratio function for the monster and player classes. Release Build 9524. 6 months ago
sigonasr2 d3374062fe Added an overlay control class. Optimize and rearrange rendering order of bullets and effects such that all bullets now appear above monsters. Fix a bug involving some objects that are supposed to appear behind the player end up in front when they are aligned on the same tile row. Preparations for wind attack. Release Build 9482. 6 months ago
sigonasr2 ad14544418 Add rotation parameter and hit iframe time to bullets. Iframe timers now compares current iframes to the new duration and keeps only the larger amount. Fix bug allowing monsters with jump attacks to still cause knockback and iframes even when the hit does not land. Fly Across attack implemented for second bonus boss. Release Build 9447. 6 months ago
sigonasr2 4720f59ba7 Make 4-way directional facing directions updating a bit more lenient. Framework for boss arrow indicators when bosses go off-screen. Release Build 9382. 6 months ago
sigonasr2 64ea11b4af Change monster data image storing to use an unordered_map instead. Create an optional display name for monsters to use when monster data is being generated to allow for name overrides while retaining unique monster types. Added No XP variant of Hawks. Setup Chapter 2 Bonus Boss spawn. Release Build 9362. 6 months ago
sigonasr2 38efe127be Setup framework and stats for Major Hawk and Bonus Chapter 2 Boss. Add in override Hawk strategy behaviors for Major Hawk strategy. Release Build 9353. 6 months ago
sigonasr2 45be6e80e6 Implement Stone Elemental Burrowing attack, fixed Stone Elemental pathfinding towards target location, slightly increased visual indicator for stone pillar cast circle. Fixed sorted rendering for objects that appear before elements with collision. Refactored iteration loops for drawing so they don't cause multiple unnecessary draw iterations. Do not draw monsters that are marked for deletion anymore (prevent sudden pop-in when drawing on the last frame of fading out). Release Build 9350. 6 months ago
sigonasr2 fa0caa5fa9 Implement rock toss and stone pillar spawning behaviors for stone elemental. Refactor HurtEnemies functions to instead hurt any target with targeting flags. Fix bug with player to monster collision not respecting new collision radii. Release Build 9318. 6 months ago
sigonasr2 29a36770aa Change Bullet collision function name to make more sense. Implement collision radius property with a default value when unspecified, and allow setting to custom values individually from the size of the monster. Release Build 9272. 7 months ago
sigonasr2 c2b2652810 Update Stone Pillar graphic. Update Stone Pillar Monster data. Include a do nothing strategy. Implement immovable property for monsters. Implement Invulnerable property for monsters. Implement lifetime property for monsters. Include a fadeout timer for when the lifetime expires. Implement capability for monsters to be deleted from the map. Release Build 9271. 7 months ago
sigonasr2 39303e2438 Adjust fade effect so monsters are unaffected while on the title screen. Add in Stone Pillar graphic and setup stone pillar monster/sprite data. Release Build 9270. 7 months ago
sigonasr2 081bc71612 Add in Hawk attack sequence. Add wing flap sound effects. Fix bug with charging towards ground attack not quite reaching ground level. Release Build 9256. 7 months ago
sigonasr2 e9ed495d39 Setup Hawk AI. Fix Hawk Animations. Added a property to ignore tile collisions for monsters. Add in monster artist name in credits. Release Build 9252. 7 months ago
sigonasr2 b2b1fa81cf Add bomb explosion sound effect. Fix bug with the player getting knocked back whenever a monster's proximity knockback function is called. Release Build 9247. 7 months ago
sigonasr2 79b595bbef Added overrides for playing default animations in move towards and run away scripts. Implemented Bomb Goblin AI. Include convenience methods for proximity knockback functions. Prepped AI functions for the Hawk and Stone Elementals. Release Build 9230. 7 months ago
sigonasr2 f5bfc0d34d Fix bug with monsters not facing the player on spawn and incorrectly adjusting their directions initially with the previous facing direction not matching their starting facing direction. Fixed Issue #54 . Mounted animations can be specified for the encounter spawn labels so that their combined sprites display properly now. Release Build 9220. 7 months ago
sigonasr2 cb35d2c1fa Resolve Issue #53. Flipped directional value so monsters face west when their target is west and east when their target is east. Add error checking to detect when a missing monster strategy value is found in MonsterStrategies.txt to prevent potential future game crashes. Fix Turret monster strategy not utilizing shooting animation, replace with new animation duration code. Release Build 9207. 7 months ago
sigonasr2 5c7e5a3ab3 Implement mounted monster behavior and animations that run separately from the main monster itself. Added Goblin Boar Rider AI and Goblin Bow (while on Boar Rider) AI. Added spawn of submonster on death of main mounted monster. Release Build 9199. 7 months ago
sigonasr2 c83f84f29c Setup framework for the goblin boar rider. 7 months ago
sigonasr2 365d66098e Prevent monster facing directions from changing so rapidly and only allow directional changes when enough directional change has been reached for less choppy facing animations. Release Build 9176. 7 months ago
sigonasr2 dbe52a2a4a Incorporated multi-directional sprites in-game. Included a method to change the current display animation sprite while retaining elapsed frame time information. Release Build 9146. 7 months ago
sigonasr2 cdda8c9a99 Change the radius of ranger's auto attack to use pixel units instead of tile units. Remove hardcoded player acceleration on shooting a player arrow. Refactor monster animation system to incorporate custom animations as part of the main set of animations and handle future 4-way directional animations easily. Release Build 9115. 7 months ago
sigonasr2 c37d52d186 Goblin (Dagger) dagger stab attack implemented. Release Build 9033. 7 months ago
sigonasr2 7320fe9348 Goblin Dagger AI basic behaviors implemented. Release Build 9027. 7 months ago
sigonasr2 5912efeb4f Enforce const-ness across tilesets to ensure copies and writes are explicitly allowed. Release Build 8990. 7 months ago
sigonasr2 adb35f2ce5 Boar test behaviors and general AI implemented. Release Build 8958. 7 months ago
sigonasr2 119efab573 Add animation utilities for getting current animation frame index and total animation duration. 8 months ago
sigonasr2 4fb84cf365 First half of Boar AI completed. 8 months ago
sigonasr2 a88b0b810b Modified TMX Parser to read new map spawn format. Fix missing spawns. Added errors when spawns are missing from a monster. 8 months ago
sigonasr2 2d3b506556 Add slight knockback effect to Warrior's ground slam. Release Build 7885. 9 months ago
sigonasr2 2d0702af2c Mouse auto aim mode no longer occurs if a mouse button is held down but the mouse hasn't moved for 2 or more seconds. Fix bug with background sound not respecting BGM volume during fade-in / fade-out. Fix non-combat sound effects not playing while on the title screen. Combine unused foresty stems for now. Add in follow-directions for defensive abilities when using controller or keyboard inputs as well as an inversion direction flag. These are desirable for the retreat types since aiming defensives towards the target is not what the player prefers. Limited pathfinding frequency for monsters and wizard pathfinding ability. Fixed bug with shared pointer being passed into two separate inventories, causing double item duplication everytime a stackable item was added to the player's inventory. Release Build 7795. 9 months ago
sigonasr2 b96b5735e9 Implemented Death menu. Release Build 7668. 9 months ago
sigonasr2 53b5c1f967 Redo rendering pipeline so all tile groups are now interweaved with game objects such that objects in front of foreground tiles are now properly displayed after stuff in the background. Release Build 7635. 9 months ago
Nic0Nic0Nii 8149db260b Update copyright 2024 for FreeType. Equipment can now have an initial crafting cost. RowItemDisplays will have a craftable and upgradeable tag. 10 months ago
sigonasr2 a6e8ec872c Added blacksmith's inventory for display underneath player's equipment for crafting. Fix bug with loadout item slot 2 not being reset properly (missing ability set function). Release build 6604. 10 months ago
sigonasr2 dcabc05702 Creating a new character in the desktop build is now fixed. Added NPC interact functionality. 10 months ago
Nic0Nic0Nii 973813f0b5 Player no longer bounces off of NPCs. Bonus boss no longer continues charging if it makes contact with the player. Fix undefined pointer in TMXParser. 10 months ago
sigonasr2 ebf7fcf395 Added NPC structures and new NPCs to the hub map. 10 months ago
sigonasr2 fed07eddd6 Fix boss text display for longer names. Add in GameEvent handling class. Finish second boss AI. Release build 6380. 10 months ago
sigonasr2 5ed991ec88 Boss Phase 3 completed. 10 months ago
sigonasr2 7705a64624 Fix bullet patterns, add transition sound effect. Fix bug involving accidental multi-hit bullets. 10 months ago
sigonasr2 4d3b3b4930 Phase 1 and 2 implemented. 10 months ago