Oct-03-2023, 02:29 AM
If it collides with an object, then mark the tile as "illuminated" and go on to the next one. In its current form, it penetrates and illuminates whatever obstruction it encounters.
phrazle
phrazle
[PyGame] Breaking Raycasting loop
|
|
Messages In This Thread |
Breaking Raycasting loop - by XavierPlatinum - Aug-06-2022, 11:46 PM
RE: Breaking Raycasting loop - by deanhystad - Aug-07-2022, 09:41 PM
RE: Breaking Raycasting loop - by XavierPlatinum - Aug-08-2022, 12:37 AM
RE: Breaking Raycasting loop - by deanhystad - Aug-08-2022, 03:23 PM
RE: Breaking Raycasting loop - by XavierPlatinum - Aug-08-2022, 05:12 PM
RE: Breaking Raycasting loop - by squeamishfall - Oct-03-2023, 02:29 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Raycasting(again) walls with different heights | robie972003 | 0 | 2,513 |
Mar-23-2019, 01:18 AM Last Post: robie972003 |
|
raycasting error | robie972003 | 4 | 3,087 |
Mar-14-2019, 12:46 AM Last Post: robie972003 |