Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add raycaster experiment to community examples
- Loading branch information
1 parent
664e637
commit 704acac
Showing
3 changed files
with
572 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# raycaster | ||
|
||
A raycaster made by [Peter Hellberg](https://github.com/peterhellberg/) as part of his [pixel-experiments](https://github.com/peterhellberg/pixel-experiments). | ||
|
||
Based on Lode’s article on [raycasting](http://lodev.org/cgtutor/raycasting.html). | ||
|
||
## Controls | ||
|
||
WASD for strafing and arrow keys for rotation. | ||
|
||
Place blocks using the number keys. | ||
|
||
## Screenshots | ||
|
||
![raycaster animation](https://user-images.githubusercontent.com/565124/31828029-798e6620-b5b9-11e7-96b7-fda540755745.gif) | ||
|
||
![raycaster screenshot](screenshot.png) | ||
|
||
## Links | ||
|
||
- https://github.com/peterhellberg/pixel-experiments/tree/master/raycaster | ||
- https://gist.github.com/peterhellberg/835eccabf95800555120cc8f0c9e16c2 |
Oops, something went wrong.