Old school Raycast rendering using the JavaFX canvas.
Please find a short video demonstration in my YouTube channel.
- 2D camera
- Player
- Show a wall in the grid
- Load map from an external image file
- Add collisions (simple implementation. just avoid walking through walls.)
- 2d raycast
- rendering
- fix fish eye effect
- texturing (optional)
mvn compile
mvn javafx:run
| Key | Effect |
|---|---|
| W | move forward |
| S | move backward |
| A | strafe left |
| D | strafe right |
| Q | rotate view to the right |
| E | rotate view to the left |
