Portal-Raycaster
raycast
Portal-Raycaster | raycast | |
---|---|---|
3 | 2 | |
54 | 350 | |
- | - | |
0.0 | 6.9 | |
about 4 years ago | 6 months ago | |
Kotlin | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Portal-Raycaster
-
Write a First Person Game in 2KB with Rust
Nice writeup! Building raycasting engines is fun and rewarding. You can get a lot of visual impact with very small and easy to understand code. I took a stab at it and ended up adding portals which I thought was really fun (https://github.com/gh123man/Portal-Raycaster).
I've been thinking about re-writing my raycasting engine in Rust but never really found the time - glad to see someone has done it and documented it so well!
If anyone else is interested in raycasting this page is also worth a read: https://lodev.org/cgtutor/raycasting.html
-
Rustenstein 3D: Game programming like it's 1992
Ray casting is close to my heart as it's easy to understand and has a very high "effort to reward" ratio, especially to someone who is new to graphics programming. I built a game + engine around ray casting portals [1] (think the game Portal). It was a lot of fun trying to figure out how to bounce rays around a scene and intersect with different objects in the environment and immensely satisfying to have built the whole engine from the ground up. Though I'd probably not do it again. Your top-down ray debug view is very similar to one I came up with!
Some of the interesting bits of the engine are open source: https://github.com/gh123man/Portal-Raycaster
1. https://blog.sb1.io/gateescape/
-
Raycasting in JavaScript and React
If you find this sort of thing interesting, I implemented a "Portal" raycasting engine akin to Valves portal game. You can read more about how it works here: https://github.com/gh123man/Portal-Raycaster
raycast
What are some alternatives?
DIYDoom - An attempt to understand how DOOM engine works
js-xlsx - :green_book: SheetJS Community Edition -- Spreadsheet Data Toolkit [Moved to: https://github.com/SheetJS/sheetjs]
VoxelSpace - Terrain rendering algorithm in less than 20 lines of code
react-portfolio - React Portfolio made with love ❤ from India
ktx - Kotlin extensions for the libGDX game framework
lpmj6 - Examples from Learning PHP, MySQL & JavaScript Ed 6 by Robin Nixon (plus all examples from previous editions)
engine - Featurea is a game engine in Kotlin
raycasting-js - A raycasting made with p5.js
wasm4-raycaster - A demo raycaster for the WASM-4 engine.
SheetJS js-xlsx - 📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs
rustenstein - Wolfenstein 3D port written in Rust