Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sukruciris/skr_physics
- Owner: SUKRUCIRIS
- License: apache-2.0
- Created: 2021-12-18T01:19:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-02T21:29:13.000Z (almost 3 years ago)
- Last Synced: 2023-05-11T21:22:42.681Z (over 1 year ago)
- Topics: 2d-physics-engine, c
- Language: C
- Homepage:
- Size: 1.05 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.