Exploration and experimentation with implementing ray-casting using Fennel in Love2D (and possibly TIC-80).
Find a file
Bill Niblock e763bae3b2 raycaster.fnl: Next big update
- Added mouse look thanks to Love's `translate` function
- Included code for multi-level vertical rendering
- Updated movement to include/default to strafing
- Changed mapped keys to ESDF for ease of play.
  - TODO: implement remapping?
- Included floor/ceiling rendering code, but not yet using it
  - TODO: draw a textured floor
  - TODO: draw a textured skybox
2024-10-16 17:24:25 -04:00
assets Initial dump 2024-10-10 14:17:16 -04:00
buildtools Initial dump 2024-10-10 14:17:16 -04:00
lib Initial dump 2024-10-10 14:17:16 -04:00
pics Initial dump 2024-10-10 14:17:16 -04:00
scripts Initial dump 2024-10-10 14:17:16 -04:00
textures/walls Initial dump 2024-10-10 14:17:16 -04:00
.gitignore Initial dump 2024-10-10 14:17:16 -04:00
conf.lua conf: Lower resolution to maintain framerate 2024-10-16 17:23:24 -04:00
error-mode.fnl Initial dump 2024-10-10 14:17:16 -04:00
license.txt Initial dump 2024-10-10 14:17:16 -04:00
main.lua Initial dump 2024-10-10 14:17:16 -04:00
makefile Initial dump 2024-10-10 14:17:16 -04:00
mapper.fnl Initial dump 2024-10-10 14:17:16 -04:00
min-love2d-fennel-readme.org Initial dump 2024-10-10 14:17:16 -04:00
mode-intro.fnl Initial dump 2024-10-10 14:17:16 -04:00
notes.md Initial dump 2024-10-10 14:17:16 -04:00
old-raycaster.fnl Initial dump 2024-10-10 14:17:16 -04:00
overlay.fnl Initial dump 2024-10-10 14:17:16 -04:00
ray-cast-vectors.fnl Initial dump 2024-10-10 14:17:16 -04:00
ray-cast.fnl Initial dump 2024-10-10 14:17:16 -04:00
raycaster.fnl raycaster.fnl: Next big update 2024-10-16 17:24:25 -04:00
raycaster_flat.cpp Initial dump 2024-10-10 14:17:16 -04:00
raycaster_textured.cpp Initial dump 2024-10-10 14:17:16 -04:00
README.md Initial dump 2024-10-10 14:17:16 -04:00
sample-macros.fnl Initial dump 2024-10-10 14:17:16 -04:00
state.fnl Initial dump 2024-10-10 14:17:16 -04:00
wrap.fnl wrap.fnl: include mouse logic 2024-10-16 17:24:15 -04:00

Ray-Casting Learning

This repository holds my learning of implementing ray-casting in Love2D using Fennel. I hope also to implement a similar technique in the TIC-80, also using Fennel; I suspect much of the code will be replicated.

This learning depends primarily on the work of Lode (Raycasting Tutorial), and supplemented by wojciech-graj and their Wolf-80 project.

This project was started with the min-love2d-fennel project authored by Alex Griffith.

A huge thank you to all aforementioned. You have made my learning possible, and my exploration into game-dev and Fennel/Love2D much more accessible and enjoyable!