Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's amazing what you can do in so few lines of code. If you have the time you ought to do a tutorial on how to make this sort of game, it would be a great read.


There is a great tutorial (it's actually a series of them) which I used: http://lodev.org/cgtutor/raycasting.html

It's old and C++ but explains raycasting very well.

And there is also a similar project in just 265 JS lines: http://www.playfuljs.com/a-first-person-engine-in-265-lines/


Thanks, I'll check it out.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: