WASD for movement left and right arrow keys to change direction --WARNING-- Going Out of the rooms might cause them to flash rapidly so i do not recommend doing so. Note: if it has low frame rate use turbowarp: https://turbowarp.org/472342584 ----Updates---- 1.9: added room api 1.8: added wall api 1.7: made mouse looking togglable 1.6: made entities editable thru blocks you still have to use replace item with the correct value index but it works (Change __SPIN value to see) 1.5: added rotation for entities :) 1.4: added triangle filling :)) creds to -Rex-Test 1.3: added mouse looking 1.2: fixed MOST drawing bugs/ implemented portal collision detection (will use for collision later on) 1.1: ADDED ENTITY DATA CLASS RENDERING AND DEPTH SORTING 1.0: Made portal casting the best it can be, fixed lots of visual bugs, removed old portal casting method and drawing and replaced with new one 0.9: portal detection uses other method and now doesnt render if its not looking to it 0.8: Made portal detection WAY more reliable 0.7: fixed depth sorting 0.6: (Read Below for context) Added third room! fixed most invisible room glitches, depth still looks messed up so i will visit that later 0.5: made portal making and entering way better, will be adding THIRD Room really soon, casts ray into portal instead of old method soon enough we will be able to add 5-6 rooms easily, will also be adding blocks to setup portals instead of manual 0.4: Overall code clean-up, might add more rooms soon :) 0.3: Added another room with depth! (If you go in it you'll see that the lines from the room overlap the ones on the main room and viceversa) 0.2: readded sides :) 0.1b: added xy clipping but i had to remove the sides for *now* 0.1a: added player viewplane clipping :) beta: added a way to enable topdown view alpha: added fullly rendered wall (Ill probably use @CodePingu 's rasterizer to fill it )