![]() |
Raycasting 3D Maze |
My raycaster thing o-o [More] |
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Kozuma3.Raycasting3DMaze##version=12 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://Kozuma3.Raycasting3DMaze##version=12 |
Bumblemore: (Jan 1 2024, 4:07 am)
I am really impressed by this Kozuma
Kozuma3: (Aug 1 2021, 9:10 pm)
![]() Kozuma3: (Dec 4 2020, 10:38 am)
I've just updated the source.
I went through it and renamed everything and cleaned it up for others to look at. [edit] Also the StepForward() isn't used, just left it in. Magicsofa: (Dec 4 2020, 6:16 am)
I was thinking, you could reduce CPU usage by making a lookup table for all those trig calculations? For example here:
for(i = (ANG-ARC) to (ANG+ARC)) you could have a list of sin and cos results for all 360 possible angles (or was it including non-integer angles?) and here: StepForward() Why not calculate DX and DY only when the player turns, then only addition is needed for each step? Kozuma3: (Nov 30 2020, 10:01 pm)
Magicsofa wrote:
I love it Thank you :D |
Copyright © 2025 BYOND Software.
All rights reserved.