Hi @shantih19.
I'm not sure but I think it's possibly you can travel through the walls for this cart.
Cool! Would love to check out the code sometime (don't know how lol). I watched this video on Doom's raycasting (https://www.youtube.com/watch?v=hYMZsMMlubg&t=1280s) and this reminded me of that. Cool idea to implement in Pico!
If you want to fix the fish eye effect here is a video explaining how Wolfenstein 3D did ray casting. And the solution is at 3:21 mark.
https://www.youtube.com/watch?v=eOCQfxRQ2pY
@dw817 This is just a tech demo for the raycasting implementation, so it would seem likely that collision (among other things) was entirely skipped on purpose.
@mgrange1998 There is a "Code 🔽" button underneath the cart player at center that reveals a flyout containing the source.
[Please log in to post a comment]