https://github.com/ezroot/sdl2engine
SDL2 + OpenGL 2D/3D Game Engine with Box2D Physics, ImGui, and Networking capabilities
https://github.com/ezroot/sdl2engine
crossplatform engine game gui physics sdl2
Last synced: over 1 year ago
JSON representation
SDL2 + OpenGL 2D/3D Game Engine with Box2D Physics, ImGui, and Networking capabilities
- Host: GitHub
- URL: https://github.com/ezroot/sdl2engine
- Owner: EZroot
- License: mit
- Created: 2025-01-06T10:25:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T17:05:29.000Z (over 1 year ago)
- Last Synced: 2025-02-19T18:22:42.248Z (over 1 year ago)
- Topics: crossplatform, engine, game, gui, physics, sdl2
- Language: C#
- Homepage:
- Size: 84.8 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# SDL2Engine
An advanced SDL2 / OpenGL engine implemented in C#, designed for creating high-performance 2D and 3D games and applications.
## Features
- **Window and Input Management**: Utilizes SDL for handling window operations and input events.
- **Rendering Support**: Offers both 2D rendering via SDL and 2D/3D rendering through OpenGL.
- **Advanced Graphics**: Implements 3D lighting and shadow effects, along with special effects like post processing and world space godrays.
- **Physics Engines**: Integrates Box2D for 2D physics and BepuPhysics-v2 for 3D physics simulations.
- **Networking**: Basic networking capabilities for multiplayer game support.
## Library Prerequisites
Ensure the following libraries are correctly placed in the `/libs` directory of your project, and configure your .NET project to reference them:
- `SDL2_image.so`
- `SDL2_mixer.so`
- `SDL2_ttf.so`
- `cimgui.so`
- `SDL2-CS.dll`
For guidance on building each DLL/library, refer to the [Building DLLs / Libraries Tutorial](docs/DLLCMAKEHELP.md).
## Showcase and Examples
### OpenGL 3D Renderer
Explore advanced 3D rendering features like shadows, godrays, and physics simulations with Bepu3D in:
- [TreeDee Repository](https://github.com/EZroot/TreeDee).


### SDL 2D Renderer
Discover the capabilities of the SDL 2D renderer combined with GUI elements and Box2D physics in:
- [SDL2Game Repository](https://github.com/EZroot/SDL2Game)


### Music Player Example
Check out the Music Player demonstrating audio playback integration in:
- [MusicPlayer Repository](https://github.com/EZroot/MusicPlayer).
