I’ve added first buildings. It looks like I need a building editor because coding them is cumbersome.
The most important building is your castle which you can now place with a spell. When you die (there’s player health now), you’ll respawn in the castle. If there’s no castle, you’ll be banished to another world (it would be universe map instead in the full game). The castle also accelerates health regeneration significantly. For now, the castle is indestructible.
I’m going to shape the gameplay further in the next updates. The goal is gatherable mana that’ll open a way to another world when you gather some critical amount of it.