LOTLW Blog #2: UI and combat

posted in Zuurix for project Light of the Locked World
Published June 16, 2019
Advertisement

This week I've been working on UI.

I've done two things:

1) Finished the first version of Items page. Items page is inventory + equipment + stats.

37a355e6325a8d1a2956897ffd364d8d0ee7301e

2) Changed the way game handles UI, fixing a lot of problems and making the process of developing UI much faster.

17e8b2986f88424cab73dbfd11174130ce251468

UI still needs a bit of work, but most of it is ready for the pre-alpha demo.
Now the only big obstacle left is area loading - I'm still stuck on that.

Anyway, I was suggested to write about the combat, so let's get into it.

This is how combat works:

Holding attack key - can be any mouse button, controller button, or keyboard key! - will charge up attack.
Once it is charged, animation plays and attack is executed.

Where it gets interesting is attacks themselves.
The player always has 3 combat spells: Melee position spell, limited position spell, and open position spell.

8ae007d92a21bb6e592742a57c01f1713033c4c7

To execute a melee position spell, your character must be in a melee range of an enemy character.
In pre-alpha demo melee spell simply deals weapon damage to the nearest enemy character.

dab67523f2794f61aa610bd3bfa9e3d955a2b29a

To execute a limited position spell, your character must be near something that you can't move through - rocks, walls, cliffs, bodies of water, etc.
In pre-alpha demo limited spell restores 10% of health. Currently, it's the only way to restore health.

9cb2dcf13b0e2e0d8e4c664b848d3d7035ca6077

To execute an open position spell, your character must not be in limited and melee positions - away from enemies, edges, and obstacles.
In pre-alpha demo, open spell teleports your character to nearest enemy melee range and binds the enemy for 4 seconds. Bound characters are unable to move.

In future combat spells will be determined by the equipped weapon - this is where limitless design space comes from.
To make weapons and combat have good variety all I need to do is add about 50 combat spells, which is not too difficult.

Another important aspect of this system is that level design changes the combat.

I can make long, narrow passages where open position spells are impossible to execute, fields with no limited positions to retreat to, and trap-filled mazes where enemies don't let you get close for melee spells.

So to summarize, in the end, combat should become varied, highly customizable, easy to learn, skill demanding, and PVP viable.
A combat system to be the core of an RPG =]

That's all for this entry!

If there's something you want me to write in the next entry - let me know in the comments.

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement