Tinyraycaster

486 lines of C++: old-school FPS in a weekend
Alternatives To Tinyraycaster
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Tinyraycaster1,233
4 years ago1wtfplC++
486 lines of C++: old-school FPS in a weekend
Glgame49
9 months agomitC++
A Tiny 2D OpenGL based C++ Game Engine that is fast, lightweight and comes with a level editor.
Subtitleworkshop24
10 years ago2Delphi
The most complete, efficient and convenient subtitle editing tool!
Yame13
2 months ago8TypeScript
A generic 2D map editor for any kind of 2D map.
Joyeusecodebase9
2 years ago1GDScript
FPS Framework for Godot. Provides nodes for AI, Navigation and interactions with areas and Workstations. (Code Base)
Voraldo V1.15
2 years agoC++
Voraldo is an interactive volume editor - it provides realtime interaction with volume models and renders them using OpenGL compute shaders. Broadly, the goal of this version is to improve the user interface and create a more extensible structure for further experimentation.
Automovie4
11 years agoC++
very rough wip movie editor.
Pro3dcamerapack3
5 years agoC#
Unity3D Asset Store Camera Package [Deprecated]
Alternatives To Tinyraycaster
Select To Compare


Alternative Project Comparisons
Readme

Project based learning: build your own 3D shooter in a weekend

Check the wiki for the detailed description of what is under the hood. Screw the source code, read the wiki.

If you are interested by this project, you might want to check my other tiny* repositories, they were fun for me to make, I hope it will be fun for you to read.


This video shows what lies in this repository: TinyRayCaster

At the time I write this text, the repository contains mere 486 lines of code:

[email protected]:~/tinyraycaster$ cat *.cpp *.h | wc -l
486

Few things tinyraycaster is NOT:

  • it is NOT a game, it is a mere stub;
  • it is NOT even a 3d engine;
  • it is NOT a place for design patterns lectures;
  • it is NOT a competitor for id Software products. People, please, I am not John Carmack and neither my students are. Focus on the word "initiation".

Few things tinyraycaster IS:

  • it IS fun;
  • it IS a blank you can start from;
  • it IS created in one day, check the commit history. I broke my leg, so I wrote some code instead of walking!
  • it IS a project you can participate to, pull requests are welcome, and anyone can edit the wiki;
  • it IS full of bugs. Bugreports are welcome!

As an example, here are the sources for the game made by my students Salih Nascimento and Stephane Hulot, also check the following youtube video for a preview:

Thanksgiving party

Compilation

sudo apt install -y libsdl2-dev git
git clone https://github.com/ssloy/tinyraycaster.git
cd tinyraycaster
mkdir build
cd build
cmake ..
make

You can open the project in Gitpod, a free online dev environment for GitHub:

Open in Gitpod

On open, the editor will compile & run the program as well as open the resulting image in the editor's preview. Just change the code in the editor and rerun the script (use the terminal's history) to see updated images. Note how awesome Gitpod is, it allows to run SDL2 games directly in the browser!

Popular Fps Projects
Popular Editor Projects
Popular Graphics Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Editor
Tutorials
3d Graphics
Wiki
Opengl
Rendering
Graphics
School
Fps
Computer Graphics
Rendering Engine