A simple IWBTG fangame engine written in C. As per usual the code is messy but I'll tidy it up if I decide to continue this project.
C C++ GLSL Batchfile
Switch branches/tags
Nothing to show
Latest commit f16d982 Jun 19, 2016 @Jools64 More levels and starting lighting
- Designed five more levels
- Added second boss graphic
- Implemented wall geometry calculation for lighting
- Implemented jump refereshers
- Some other stuff
Permalink
Failed to load latest commit information.
adventureAssets
assets
engine
.gitignore
README.md
boss.c
boss.h
build.bat
collision.h
controller.c
controller.h
defaultMap.h
editor.c
editor.h
entity.c
entity.h
lighting.c
main.c
main.h
menu.c
menu.h
player.c
player.h
script.c

README.md

I Wanna Be The Guy C Engine

An "I Wanna Be The Guy" engine written in C. As per usual, since this is just me playing around and testing some stuff, most of the code is quite messy and thrown together. I might decide to tidy it up if I continue this project.

The engine attempts to emulate the standard movement of IWBTG fangames. This is why the framerate is locked to 50 and the movement is heavily tied to the framerate. Almost all player movement constants have been taken from existing engines for as close to frame for frame accuracy as possible. Some things have been adjusted however such as hitboxes.

Currently the engine uses the built in SDL2 hardware renderer functionality for portability but I will probably switch over to opengl at some point for performance, more precise rendering and shaders.

Dependencies

Requires SDL2, SDL2_Image and SDL2_Mixer.

Binaries

I will make some of these availible when the project is closer to being finished.