And now you too can enjoy this bad 400LOC ray caster directly in your web browser through the power of WASM.
marioslab.io/dump/lilray/
WASD "controls". Web demo source:
github.com/badlogic/lilra
Conversation
Replying to
See e.g. here:
Quote Tweet
The projection seems right. Red line == top edge. E.g. the projected top left corner coordinate is monotonically decreasing in x and y as the camera gets closer to the sprite. Width and height of the sprite also increase monotonically. So it must be texture mapping?
Show this thread
0:32
139 views
1
Show replies



