News for hackers. Stuff that matters.
Re:Ask HN: What Are You Working On? (March 2026) by 2muchclout on Monday March 09, 2026 @11:37AM (#47310463)
This looks awesome! From the isometric perspective, how did you do the walls or vertical stuff in general? I have done a few game like that and always find it to be a struggle in 2D.
Re:Ask HN: What Are You Working On? (March 2026) by YesBox on Monday March 09, 2026 @12:25PM (#47311199)
Thanks! The vertical axis is also broken down into a grid in a sense. Each "cell" is placed in a specific floor as far as the engine is concerned.

So like (C++):

   vector<uo_map<int, ObjStruct>>
Each vector element is a floor. You just need to move the sprite up in screen space to position it.

Though I wish I went with a vector<vector<vector<ObjStruct>>> approach now a days <chunk_id>, <floor>, <object>