Skip to content

DissolveDZ/SpriteLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpriteLight WIP

2D/3D game-engine/framework using SDL2 (experimental SDL3 support) and OpenGL

Can be compiled statically and dynamically on Linux and Windows

A WIP game engine which will make developing games in opengl easier and more organized/structured while still allowing for low-level access

I will port all of my future games / and some existing games to this engine as a stress/compatibility test

Even though it might look 2D the main camera actually has a perspective projection while all screen-space objects will use an orthographic projection (a flat projection with no depth information)

On compile the headers will merge into one main header
enable SDF fonts by setting state->sdf_font to 1
It currently has a lot of useful text functions like DrawSubText(), MeasureText() and more to come!
The game engine syntax itself involves functions to be called during the main loop like UpdateEngine() etc. to handle input and supply global struct pointer which contains all kinds of useful data like frame-time
and an inbuilt camera system which can handle multiple camera types like panning etc.

image

image

About

2D/3D Game-creation Framework/library using SDL2 and OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages