Leslie Apland

Open World Slasher

23 Aug 2023 - Leslie Apland


In January of 2023 I used a UE5 game dev course as a base to build a variety of systems into a basic open world game where the user, armed with a sword, killed mobs, collected materials, could sell and purchase things from a merchant, could loot POIs, and was led through a simple tutorial to kill the boss.



In particular I built out an item system using a DataTable which held information about all items, like their icons and Blueprints, price the user would get for selling, price the user would pay for purchasing, whether they were usable or not and what type of use they were (Equip vs "Direct" and if they were Direct use items, which other item did they gain and how many).


As part of the item system I built out an interaction system where the user could pick up items on the ground, including showing information about the item when the user moused over it, and an inventory component where the user could interact with it. The user could move the item from one inventory slot to another, use the item, or drop the item. I created containers which the user could interact with, and when opened the user would see their inventory next to the container's inventory. The player could move items back and forth from their inventory to the container, either by using keyboard keys while clicking, or by clicking and dragging with the mouse.


I also built a Merchant system where the user can sell items in their inventory to the Merchant for Gold and purchase items from the Merchant with that Gold.


My favorite part was building the AI Alerting system. Most of the AI system was from the course I took, but I felt that the change from the AI being aggro'd on the player to the AI going back to their patrolling was too fast, and I instead added a new "Alerting" state where the AI would go from Aggro'd to Alerting to Patrolling instead, after a few seconds. And when the AI heard the player they enter the Alerting state until they actually see the player. To accomplish that I added the AI Perception Component's Hearing Sense and added Anim Notifies to the player's footsteps - when the player is running they make noise, and when they land after jumping or falling they also make noise. Although the system can still use some work, I like how it turned out.


Overall creating and releasing the game was a fun experience and my first "completed" game in UE5.

Open World Slasher Game on itch.io

Open World Slasher Game devlogs on Youtube

Open World Slasher Game code on Github


Check out my latest game: Wind's Heartbeat

And join the mailing list to stay updated! Wind's Heartbeat mailing list