A downloadable game for Windows

This is my game engine which I titled "Scotch Engine". It is a port of the Python version of the engine into C using SDL2, with much greater performance and some more nice features with the guarantee that I will finish this project. I have used AI for this project, just to fill a palette, and to get pushed in the right direction as I wrote the code for the engine. The engine runs at 500 FPS on my Ryzen 5 5500 at 1920x1080, and is not multithreaded. It is best to close all applications that consume processing power in the background for the best experience.

Performance enhancements were difficult to figure out, but surprisingly simple. Lookup tables were used as much as possible, faster versions of trigonometric functions were created, and variables were either hardcoded or precomputed - this is why r_dispatcher.c is so big (I apologise to those who dare see it) 

Features

  • Very Basic AI (WIP) 
  • Depth Shading 
  • 8 bit Colour Palette 
  • Entities 
  • Scripted Sectors 
  • Y Shearing 
  • Raycasting 
  • Portal Culling
  • Collisions
  • Texture Mapping

I am planning to implement a Level Editor with a Level Loader, and a GUI system.

Controls

Mouse - for camera movement

Arrow Keys - for lateral movement

E - to interact (does nothing currently)

Credits

  • mutantleg for their LAB textures
  • PlusZero on Reddit for helping me with the texture mapping
  • Yuriy Georgiev for their clipping function

This project will never be paid, and I will not enable donations until I start using textures that I have either paid for, or created myself.

Source: https://github.com/GooseyMcGoosington/Scotch-Engine-C

Updated 3 days ago
Published 12 days ago
StatusIn development
PlatformsWindows
AuthorGoosey
Made withSDL
Tags3D, Game engine, Retro
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse

Download

Download
Scotch Engine V1 C.zip 31 MB

Development log

Leave a comment

Log in with itch.io to leave a comment.