Commit Graph
100 Commits
Author SHA1 Message Date
AMay e4a1cddd77 Added Monster unit tests relating to the damage formula, crit rates, and special survival cases. 2024-06-22 10:49:17 -05:00
AMay e33b3552f1 Add in Monster Unit tests verifying move speed is adjusted properly. 2024-06-22 10:15:50 -05:00
AMay dcea90fedb Implement unit tests for the project. Fix Display Name bug (found in InternalNameCheck unit test). Add Monster Unit Tests. 2024-06-22 09:45:59 -05:00
AMay abb18767d4 Accidental copying of triangles in collision checking loop. 2024-06-21 03:03:42 -05:00
AMay 1f635a667d Add in missing placeholder item images. Finish collision checking for shockwave attack. Release Build 9715. 2024-06-20 22:27:47 -05:00
AMay ddeef9973a Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-06-20 21:03:23 -05:00
AMay 2a8bc4cdcb Chapter 2 Boss shockwave safe spot location indicators added. 2024-06-20 21:03:22 -05:00
AMay a82d06940d Implemented centroid and signed_area functions to the geom2d util. Just a bunch of maths, I don't know why it works. Release Build 9683. 2024-06-20 18:01:44 -05:00
AMay 8699f1b808 Fix a bug with stone elemental burrow rise bullet ring color not respecting the configuration value. Add bullet rings to chapter 2 boss pillars when they are broken. Release Build 9678. 2024-06-19 02:46:42 -05:00
AMay 64823fb2f3 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-06-19 02:30:10 -05:00
AMay 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. 2024-06-19 02:30:09 -05:00
AMay c83aff8962 More casts to make gcc happy. Change 2nd chapter bonus boss mob counter from using std::reduce to std::accumulate (Apparently gcc is ambiguous about argument order?? wtf) 2024-06-18 15:57:00 -05:00
AMay c6c3e5cf72 gcc does not like the promotion from float to double in std::max... 2024-06-18 15:43:15 -05:00
AMay 0eb28bd029 const in wrong spot for TMXParser::GetOptimizedMap. Release Build 9666. 2024-06-18 15:40:20 -05:00
AMay 5f77321d3d Forgot std::endl flush for logging on web build. Add deterministic keycode sum comparisons to keep proper ordering of input groups. Release Build 9665. 2024-06-18 15:35:58 -05:00
AMay 9dcfa55407 Checkbox decal now scales with the size of the menu component (Fixes the "Online Mode" checkbox, which was smaller than the rest). Release Build 9660. 2024-06-18 15:00:42 -05:00
AMay c8e74cb647 Fix distance check mismatch with actual hurt range of the large stone toss. Knockback collisions now match the Hurt collisions. Add a universal knockback function. Release Build 9659. 2024-06-18 11:55:36 -05:00
AMay a740d6eb01 Add RepeatingSoundEffect class to allow easy creation and handling of looping sound effects ingame. Add rock breaking, rock toss cast, pillar rise, dig sound effects. Fix typo on Hawk Feather item description key name. Placeholder item icons added. Add sound effects to Stone Elemental's attacks. Release Build 9656. 2024-06-18 11:38:03 -05:00
AMay cd1a734b19 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-06-18 09:47:20 -05:00
AMay 0fd1d5ee8a Finish stone throw phase/animation for 2nd chapter boss. Adjust animation frames slightly. Correct stone positioning of rock before throw. Rock throw no longer continues rerolling every game frame while Bear AI is running. Release Build 9648. 2024-06-18 09:47:18 -05:00
AMay eb3562eca3 Knockbacks are disabled on solid monsters. Add in small knockback effect on stone throw hit. Release Build 9641. 2024-06-15 18:28:45 -05:00
AMay c625b0767e Monsters that ignore terrain collision should not be moved by other solid objects. Hide fade timers and the internal UpdateFadeTime function from inherited bullet types. Add large stone graphic. Apply fixed time step to large stone throw. Add in physics for large stone throw attack. Release Build 9630. 2024-06-15 18:01:44 -05:00
AMay 4a77391dec Create a SpellCircle effect to consolidate the two separate effects. Add a type identifier system for Effects. Finish spawn pillar phase of second chapter boss. Fix bug with the boss display info still appearing despite no longer being in a boss stage if the player leaves a boss level before the text has expired. Release Build 9622. 2024-06-09 12:33:16 -05:00
AMay 09d3b2b233 Fix bug with monsters being able to move solid objects. Make second chapter boss ignore terrain collision. Fix bug with bear slam attack causing knockback to the player when it would hit a monster. Release Build 9613. 2024-06-09 11:28:20 -05:00
AMay 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. 2024-06-09 11:06:19 -05:00
AMay 01df50e8da Setup second chapter boss spawn group, template, and map. Fix issues with being able to click stage plates that were hidden behind the menu or off-screen. Fix crash when item drops spawn in a certain position. Release Build 9585. 2024-06-08 16:44:22 -05:00
AMay c738bdac0b Feather bullet attack speed increased. Clarify why a stage overlay mask is not automatically created if attempting to use one prematurely. Adjusted level tiles, moving bonus boss to its proper tile. Release Build 9578. 2024-06-06 17:43:54 -05:00
AMay 96790c3073 Add 0.25s fade time to generic bullets. Add feather bullet type. Add feather spawning to tornado attack for second bonus boss. Addresses Issue #56. Release Build 9576. 2024-06-06 09:11:27 -05:00
AMay 6dc986d424 Remove test code for stage overlay mask implementation. Release Build 9574. 2024-06-06 03:49:07 -05:00
AMay 5af5cac7e8 Add middle() function for polygons in geometry util. Restructure stage mask overlays to be part of the stage mask polygon class. Reproduce sample using new class. Release Build 9572. 2024-06-06 03:42:23 -05:00
AMay 0dd8ca5ae9 Split up implementation of Pixel from the header file so that the entire pixel game engine header isn't required for Pixels. [WIP] Stage Mask polygon and overlay structures setup.
AreaHighlightTest branch.
2024-06-05 18:24:20 -05:00
AMay cea4372737 AreaHighlightTest branch created. Added test code for highlighting arbitrary areas via polygons within a map using optimization map rendering. Release Build 9561. 2024-06-05 00:09:22 -05:00
AMay 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. 2024-06-04 12:48:28 -05:00
AMay 82e8dca6ee Allow clicking to any unlocked locations on the Overworld Map rather than being forced to step through every adjacent stage to reach desired level. Release Build 9551. 2024-06-03 05:46:59 -05:00
AMay 5f0a516be5 Refactor redundant deactivation variable to now be tied to the fade out time. Make collision checks for bullets with radii of 0 no longer occur. Add mid phase tornado. Release Build 9546. 2024-06-02 15:51:35 -05:00
AMay 15cf736be0 Fix bug involving lingering tornado attack. Reduce size of boss arena so item drops and the end zone ring spawn within player reachable locations. Made item drop locations respect boss arenas. Added mid phase for 2nd chapter bonus boss. Fix boss indicator appearing when no boss is present. Release Build 9534. 2024-06-02 14:13:55 -05:00
AMay 5918846fbd Refactor manual typing of HP Ratios with an HP Ratio function for the monster and player classes. Release Build 9524. 2024-06-02 12:50:49 -05:00
AMay cfbd4dce97 Fix a bug where hp recovery when at full health still applied passive hp recovery effects. Fix bug with volume transitions not respecting the user's set volume controls when adjusting audio events. Add debris spawning for second bonus boss. Release Build 9522. 2024-06-02 12:31:55 -05:00
AMay c55a3a1e6b On death, Chapter 2 bonus boss clears the wind and overlay if it was in the middle of that attack. Wind speed gets reset when casting timer ends. Add an extra layer to bullet rendering so there is some consistency with rendering even when bullet Draws are overriden. Fix bug w/opening debug.log file once the AiL class has been initialized. Double the iframe time from getting hit by a tornado to prevent double-hits. Setup wind debris projectiles. Release Build 9515. 2024-06-01 05:46:42 -05:00
AMay f401138006 Must have at least 20 messages to be considered a successful run. 2024-05-30 21:07:42 -05:00
AMay 4af39499e4 Escape the backticks so they aren't interpreted when outputting the runGame.sh file for Linux. 2024-05-30 21:07:04 -05:00
AMay b6c88a0caa Flip argn and args in main function (to properly correspond to the main prototype). 2024-05-30 21:07:02 -05:00
AMay cd10f12590 Move get_Command_line_args function into WIN32 define macro (to allow building on Linux). 2024-05-30 21:06:56 -05:00
AMay 68778bac0a Fix redistribution scripts and Linux scripts. Linux scripts now detect if Steam is installed and if the game properly initializes with steam. If it does not, it will restart itself to run in nosteam mode. Added the ability to read command line arguments into the game. Release Build 9441. 2024-05-30 21:06:40 -05:00
AMay 8a12cc0c66 Implement Rendering fixes (Infinite iterator bugs) from demo fixes. Release Build 9509. 2024-05-30 21:02:37 -05:00
AMay a8bb30e12f Fix bug with double rendering. Not using iterator marker to determine what else to draw. Fix bug with maximum health not healing to maximum when health is affected by Health %. Refactored wind speed to be a global value within the game's engine. Included speed reduction properties for wind when warrior blocks. Include projectiles/player being affected by wind and casting to be allowed when pushed by wind. Release Build 9507. 2024-05-30 18:01:38 -05:00
AMay 05caa062e1 Add player projectile auto attack flag to identify bullets for wind affecting. Release Build 9497. 2024-05-30 10:42:47 -05:00
AMay 5150f4f218 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-05-30 09:44:51 -05:00
AMay 92a3c463f7 Add player velocity adjustment function. Add Wind attack functionality for second bonus boss. Add overlay ease-in transparency. Release Build 9494. 2024-05-30 09:44:49 -05:00
AMay d500e48e67 Tuned wind streak spawns and settings. Good to go. Release Build 9491. 2024-05-29 17:15:03 -05:00
AMay df56fec448 Setup wind debris random variables. On the Overworld map selection, the currently selected stage now shows the selection cursor when the mouse cursor is not hovering over another stage to better indicate what stage you are looking at. Release Build 9486. 2024-05-29 14:05:49 -05:00
AMay 35bcdb3ec2 Fix accidental removal of knockback reduction for Warriors while blocking. Also add in knockup reduction for Warrior block. Release Build 9484. 2024-05-29 09:06:13 -05:00
AMay 1f8c62188b Simplify fade in and fade out bullet code. Remove unnecessary variables. Release Build 9483. 2024-05-29 08:48:25 -05:00
AMay 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. 2024-05-29 04:03:49 -05:00
AMay 3a9bd4afff Move fadeouttimer for bullets to be private scope. Account for hits multiple flag for bullets that strike a player and adds them to the hit list. Coincidentally, this need also address Issue #17. Fix a bug with multi-hit bullets not applying additional hit effects to monsters. Tornado Attack Implemented. Release Build 9473. 2024-05-29 01:42:11 -05:00
AMay bbdef1cdfb Bullet fade in timer effects added. Added Tornado rings for second bonus boss. Release Build 9455. 2024-05-28 11:25:24 -05:00
AMay b956a103df Define tornado bullet type and attack. Release Build 9451. 2024-05-28 01:26:10 -05:00
AMay 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. 2024-05-27 15:45:22 -05:00
AMay e1ed802fed Setup Zephy AI phases. Added slight recoil when monsters take damage. Release Build 9434. 2024-05-27 04:12:00 -05:00
AMay f115786584 Indentation and fix includes for macros in Error.h Release Build 9427. 2024-05-27 03:08:41 -05:00
AMay e648c31dd2 Merge with master. 2024-05-24 20:53:19 -05:00
AMay 2b6201f641 Cherry pick health % not being applied bug from commit f0ea435562 into master branch. Release Build 9424. 2024-05-24 20:52:24 -05:00
AMay 17ab92eeee Fix bug with Health % item stats/set effects not being applied to the player. Release Build 9424. 2024-05-24 20:47:52 -05:00
AMay c7b5660a70 Add missing boss indicator to Ursule and fix Ursule's overlay sprite being mirrored to its main sprite. Fix Ursule facing direction not updating correctly before charging. Release Build 9416. 2024-05-24 14:03:02 -05:00
AMay 01ea60b3a5 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-05-24 13:48:41 -05:00
AMay 862d047b06 Move damage numbers to be rendered on top of the HUD instead of below it. Add in boss indicators that appear while a boss is off-screen. Fix bugs with knockback buffs being applied in the wrong location, making them effectively useless. Fix bugs with player velocity being nan when standing directly on top of a monster spawn. Fix idle animation during stone elemental rock toss cast. Reduce enemy collision hitboxes to more sensible and playable numbers with new collision system. Release Build 9413. 2024-05-24 13:48:39 -05:00
AMay 626a9ee742 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-05-22 09:12:36 -05:00
AMay 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. 2024-05-22 09:12:35 -05:00
AMay 6902852b51 Fix Major Hawk AI transition not working properly when only one remains. Release Build 9381. 2024-05-21 05:13:20 -05:00
AMay 21b8a9c3cb Update No XP/Drop Hawk labels in Tiled Editor. Added spawn controllers, setup multi-tiered spawns. Fixed collision radius bugs. Added Chapter 2 Bonus Boss and Major Hawks Tiled Templates. Fix Stone Elemental Casting circle radius. Release Build 9378. 2024-05-21 05:05:02 -05:00
AMay 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. 2024-05-20 17:34:16 -05:00
AMay 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. 2024-05-20 09:16:23 -05:00
AMay 153589a232 Fix new maps having embedded tilesets (unsupported feature). Add in new overworld stage connections to new maps. Slightly randomize stone elemental attack cycles to vary their attack timings. Release Build 9352. 2024-05-20 06:22:31 -05:00
AMay 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. 2024-05-19 23:22:39 -05:00
AMay 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. 2024-05-18 05:04:52 -05:00
AMay 177d62af58 Added casting spell circle graphic and AI for Stone Elemental Stone Pillar Attack. Added Stone Elemental configuration parameters. Release Build 9283. 2024-05-16 02:14:54 -05:00
AMay ea2dc34bb6 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-05-16 01:09:46 -05:00
AMay 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. 2024-05-16 01:09:44 -05:00
AMay 2903c45d16 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-05-14 10:12:11 -05:00
AMay 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. 2024-05-14 10:12:09 -05:00
AMay 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. 2024-05-13 22:02:54 -05:00
AMay 42b8cf5da7 Setup Stone Elemental AI framework. Fix spritesheet alignment for certain animations. Setup animation data. Added casting animations. 2024-05-13 12:05:57 -05:00
AMay 7292094358 Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-05-12 18:21:06 -05:00
AMay 5ef4b90b29 Add transparency effect for mismatching Z axis for bullets/monsters or if the player has iframes. Release Build 9266. 2024-05-12 18:21:04 -05:00
AMay 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. 2024-05-10 02:53:35 -05:00
AMay 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. 2024-05-10 01:38:19 -05:00
AMay 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. 2024-05-08 17:22:27 -05:00
AMay 3f463bcf2f Merge branch 'master' of http://sig.projectdivar.com/sigonasr2/AdventuresInLestoria 2024-05-08 16:51:28 -05:00
AMay ee2a66f5fe Make bomb explosion sizes be calculated independent of initial bomb size. Shrink down bomb size to be more reasonable. Bombs knock back players and monsters, regardless of the friendly flag. Only deals damage to opposing targets. Release Build 9237. 2024-05-08 16:51:27 -05:00
AMay 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. 2024-05-05 23:57:02 -05:00
AMay 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. 2024-05-04 18:19:47 -05:00
AMay 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. 2024-05-04 17:04:50 -05:00
AMay beb1bdfc79 Make Goblin Boar Rider sprite a bit more sensible. Mounted monster animations now properly update. Release Build 9200. 2024-05-04 00:59:13 -05:00
AMay 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. 2024-05-04 00:37:03 -05:00
AMay c83f84f29c Setup framework for the goblin boar rider. 2024-05-03 16:58:56 -05:00
AMay 3051422383 Change goblin dagger stab to match new sprite positions and modify animation speeds slightly. Release Build 9180. 2024-05-03 09:38:08 -05:00
AMay cc3a95094a Update knockback logic and formula again. Release Build 9177. 2024-05-03 07:49:20 -05:00
AMay 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. 2024-05-02 14:12:48 -05:00
AMay 253bbc610e Adjust all monster tilesets and presets with new sprites. 2024-05-02 03:05:57 -05:00
AMay 8827d1ca4e Fix bow goblin reload AI and changing facing direction while aiming at target. Release Build 9174. 2024-05-01 18:50:49 -05:00