Portal-Raycaster
engine
Portal-Raycaster | engine | |
---|---|---|
3 | 1 | |
54 | 7 | |
- | - | |
0.0 | 6.8 | |
about 4 years ago | about 2 years ago | |
Kotlin | Kotlin | |
- | 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
engine
-
Welcome to Featurea
Star it on https://github.com/featurea/engine
What are some alternatives?
raycast - HTML5 raycasting demo using React
ktx - Kotlin extensions for the libGDX game framework
DIYDoom - An attempt to understand how DOOM engine works
VoxelSpace - Terrain rendering algorithm in less than 20 lines of code
wasm4-raycaster - A demo raycaster for the WASM-4 engine.
rustenstein - Wolfenstein 3D port written in Rust