Elden Blox is a combat demo inspired by soulslike games. I built it to explore melee combat, enemy behavior, and boss mechanics, with a focus on making combat feel responsive and rewarding.
Five gameplay systems from the project. Select a topic or use the arrows to explore each system.
01 / GAMEPLAY PROGRAMMING
Combat System
The combat system uses a combo of three sword attacks. The server controls when players can chain attacks, resets the sequence when the timing window expires, and adds extra recovery after the final strike.
LUAU EXCERPT / 01
02 / GAMEPLAY PROGRAMMING
Enemy AI
Enemies make combat decisions based on distance, cooldowns, and their current state. They can dodge incoming attacks, reposition after taking damage, or attack when an opportunity opens up.
LUAU EXCERPT / 02
03 / GAMEPLAY PROGRAMMING
Player Movement
The dodge system calculates movement direction using camera orientation and player input. When no movement keys are pressed, it falls back to the character's movement or facing direction.
LUAU EXCERPT / 03
04 / GAMEPLAY PROGRAMMING
Camera & Lock-on
The lock on system keeps the player and target in view by adjusting camera rotation, distance, and position. Smooth transitions prevent sudden camera movements when tracking enemies.
LUAU EXCERPT / 04
05 / GAMEPLAY PROGRAMMING
Boss Mechanics
The boss switches to its second phase when its health reaches a certain threshold, unlocking additional attacks. Its behavior depends on distance, visibility, cooldowns, and the current combat phase.
LUAU EXCERPT / 05
01 / 05SELECT A SYSTEM ABOVE OR USE THE ARROWS
02 / VISUAL DESIGNSUPPORTING WORK
Make the fight readable.
Composition and level layout support the gameplay. The in-game captures show how the fortress layout, attack cues, and lighting support readable combat.
Guarded approachIN-GAME CAPTURE / ELDEN BLOX
01 / LEVEL LAYOUT
A clear path forward.
Two guardians protect the door to the boss area. Their placement gives the player a concrete goal before entering the next encounter.
FORTRESS APPROACH
Impact zonesIN-GAME CAPTURE / ELDEN BLOX
02 / ATTACK CUES
Hazards with a warning.
The boss marks where falling rocks will land. The signal gives players time to understand the danger and choose a safe route.
BOSS ATTACK TELEGRAPH
Readable contrastIN-GAME CAPTURE / ELDEN BLOX
03 / ATMOSPHERE
Depth without losing clarity.
Cool ambient light and localized warmth give the courtyard depth while keeping opponents, projectiles, and attack cues visible.
CASTLE LIGHTING
01 / 03SELECT A VISUAL TOPIC ABOVE OR USE THE ARROWS