WASD and arrow keys P.S If you want to add lava make a new local variable called type then when projecting the sprite into a 3D world add the parameter type. When the game checks for physics make another check for type. If (type = danger) then do what you want to do upon dying
@TheGreenFlash for rotation matrix and enemies and art