Articles by Liana P

Writing about things


Unity Project: Procedural Hack'n'slash with voxels

Liana P

Published on May 08, 2014

screen This is a prototype of a procedural hack n slash with a voxel-based map, made with Unity.

One rule in this project is to try to make reusable code. To that end, I used Unity’s editor API to extend the editor with a “spell creator” that defines properties of a spell (animations, particles, physics, damage or other effects…). It is very easy for me to create all sorts of new spells without any code (or barely any if it really needs new behaviour).


I’ve been really surprised at how good the editor scripting is in Unity. Creating new spells that look good is only a matter of minutes when iterating on the gameplay.

© 2023 Liana P, Built with Gatsby