Skip to content

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rectangle physics

Note

This is a simple, experimental project written in early version of Duckling (currently migrated to Duckling dev-weekly@57f76bb9b). It was initially created as one of a first experiments with the language. See Duckling at https://duckling.pl/.

Rectangle physics – rotating, rigid, 2D rectangle physics simulation written in Duckling.

The physics itself is not actually correct, but it was made good enough to look natural.

Demo

demo.mp4
demo22.mp4

Building and running

Dependencies:

  • Duckling toolchain (duck and duckc)
  • SFML 2 (e.g. 2.6; SFML 3 is not supported by the C++ port)
  • g++-14

To build and run the project, you can use the following commands:

./build_cpp.sh        # Builds simple C++ sfml port (build/c/libsfml_port.a)
duck build --release  # Builds the Duckling code (with optimizations)
duck run --release

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages