https://github.com/pascalcorpsman/kraft_examples
Provide examples for the kraft physics engine
https://github.com/pascalcorpsman/kraft_examples
Last synced: 3 months ago
JSON representation
Provide examples for the kraft physics engine
- Host: GitHub
- URL: https://github.com/pascalcorpsman/kraft_examples
- Owner: PascalCorpsman
- Created: 2023-07-09T05:38:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T06:13:07.000Z (almost 3 years ago)
- Last Synced: 2025-06-28T17:10:36.920Z (11 months ago)
- Language: Pascal
- Size: 343 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# kraft examples
This repository tries to give some easy to understand examples to get into the kraft physics engine.
Each example is made in that way that it has as less "structure" code possible so that you can easily see the corresponding topic.
The directories are labeled with increasing numbers, the higher the number the more complex is the topic of the example.
# What do i need to compile the examples
- Lazarus IDE (2.2.0 or grater) and FPC Compiler (3.2.2 or greater) installed and running
- kraft physics engine from here: https://github.com/BeRo1985/kraft
- DGLOpenGl.pas from here: https://github.com/saschawillems/dglopengl
- LazOpenGLControl installed into the Lazarus IDE
# TODO's in the code
As this is a self learning / documentation process, i often also do not understand why the code behaves like it does. To point to this out, i marked all the corresponding code locations with a TODO tag. If you know the answer to a todo question please share it to me.
# How to contribute
If you want you can contribute further examples or answer some open todo questions to the repository, keep in mind, that all examples use the same license and your contribution will automatically get this license.
As i tried to organize all examples in the same way i encourage you to do it in the same way, so that the next user of this examples gets not confused.
At best to see how i organized the examples is by looking into the existing ones (e.g. 000_Basic) and do it the same way.
# License
See the license.md file located at https://github.com/PascalCorpsman/Software_Licenses/blob/main/license.md for details about the license.