WASD, Arrow Keys First of all big respect to @76finding_ the original renderer was already very good. I know it is a bit late to change the renderer but I really want this to run on 30 fps. I also dont know if you even want to use this renderer but if you want and have quaestions just ask. I tried to keep everything as close to the original as possible but I changed most of the renderer. Now it uses less lists and more variables which are faster and I also added the ability to render billboards, dots and perspective correct lines. I will try to readd the features that I have distroyed as quickly as possible. I just focused to get this to run on near 30 fps. I dindt use the tri filler from the original project but we can easily change that. I also used a differend sorting algorithm but that can also be changed if the old one is faster. I think the base engine runs on around 24 fps on my devise but the temporal sorting brings it 30 fps.
quick note to erveryone: I think the matrix vector multiplication in the controls sprite is messed up. If you input z = 1 and yaw = 0 it outputs -1 but it should be 1. I fixed it for now by inverting yaw to set the matrix and also switching w and s.