I'm writing a wolfenstienish raycasting engine (grids), I've got a DHTML version here: www.elephantsneverforget.co.uk/SKYNET/lighting (GP32 version is the same thing, but looks nicer and is faster ), but am stuck on transforming world coordinates(x,y) to screen coordinates(x,y) for drawing bad guys, etc.. I've done 3D transformation/projection before but I can't get my head around transforming 2D to 2D..
I've looked around for some tutorials but none of them seem to get further than drawing walls..
Any help would be greatly appreciated
I've looked around for some tutorials but none of them seem to get further than drawing walls..
Any help would be greatly appreciated