itch.io is community of indie game creators and players

Devlogs

Positioning a randomized object

Lustrat Somnia
A downloadable game for Windows

Dev: Jacob Zhu

This week the challenge was to place the houses into proper positions in the levels, by assigned them their randomized positions.
Problem is that taking reference to the world matrix means you have to be tie the position of the position "actor" to the level in a specific way to be called properly. Previous attempts have been to take it's native world transform with varying degrees of success.

The way to move forward is to figure out a system that allows for taking accurate transforms and solidying them as permanent positions to the level, in reference to the level "grid" itself.

Download Lustrat Somnia
Leave a comment