So I’m fiddling with some “3D” rendering using FlashPunk - never learned 3D in my life, just seeing what I can make. Honestly it’s more 2.5D than 3D since all of the Images only rotate around one axis. I have a special Wall
class that extends a Tilemap
and can be scaled in the X direction depending on the screen rotation. This all works fine.
Thing is, I’m treating each Wall
as a Graphic
, with each entity holding multiple walls and rendering them using a Graphiclist
. Obviously the major problem here is render depth - while it’s easy enough to detect render order, graphiclists lack built-in layering.
What do you think? Should I customize the FP library to handle render distance, or make each wall a separate entity?