Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sukruciris/skr_physics

SKR_Physics is a lightweight and easy to use 2D physics engine which is written in C.
https://github.com/sukruciris/skr_physics

2d-physics-engine c

Last synced: about 2 months ago
JSON representation

SKR_Physics is a lightweight and easy to use 2D physics engine which is written in C.

Awesome Lists containing this project

README

        

# Warning
This library has been added to SKR framework (https://github.com/SUKRUCIRIS/SKR) and this repository won't be updated anymore.

# SKR_Physics
SKR_Physics is a lightweight and easy to use 2D physics engine which is written in C.

# Features
It has a rectangle based collision detection system which is almost perfect.

You can create a world with gravity and air friction. You can create static, kinematic and dynamic objects inside this world. (If you aren't familiar with these terms, check the header file of the library.)

You can simulate the world for the time you set.

It has no dependency.

# How to use it
You should examine the header file and the examples to learn how to use it. The examples are SDL implementations of this library. Also there are demos in the files, you can download and quickly check if the engine works well.

# License
This library is developed by Şükrü Çiriş, and uses the Apache 2.0 license.