Creative Coding - VinMeld/2D-Raycasting GitHub Wiki

There are numerous possible applications for 2D raycasting. The most notable usage of 2D raycasting is creating pseudo-3D perspectives using 2D maps. This was most common with games like Wolfenstein 3D (1992) and Doom (1993), in which the processing power of computers at the time were not capable of rendering 3D perspectives in real time. That being said, because most computers today are capable of rendering 3D in real time, the use of 2D raycasting for rendering 3D has faded over time, though it is definitely still possible to create games with the technique. In addition, 2D raycasting can also be used as a means of determining and limiting a character’s field of vision.

2D raycasting can also incorporate factors such as light and shadows. This can be useful for artists and the like as it allows for simple manipulation.

Implementation of 2D raycasting in a game

In terms of our Coding Challenge, there are numerous ways to be creative with it. A list of possible ideas can be found in this repository’s contributorExamples folder.