FPS in Command Line
A downloadable project for Windows
Download NowName your own price
Here is the Source Code for the project.
Implemented a renderer for a camera in 3D space, completely shaded by Unicode symbols.
- A Map is generated by hard coding locations of:
- # Hashtag for a wall
- . Period for empty space
- Due to the absence of a world space light and the complexities it's implementation would bring, the player acts as a light source.
- Rays are cast to detect the distance of the player position and the distance from the player's eye (camera) is used to shade the wall by light shed on it (derived from how close the player is to it)
- Rudimentary collision detection so we don't walk through walls and subsequently out of "world".
Status | Released |
Category | Other |
Platforms | Windows |
Author | Harsh Dulani |
Download
Download NowName your own price
Click download now to get access to the following files:
CmdFirstPerson.exe 18 kB
Comments
Log in with itch.io to leave a comment.
this is really cool