JoeStrout / miniscript-physics

2D physics package for MiniScript (especially Mini Micro)

Home Page:https://miniscript.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

miniscript-physics

2D physics package for MiniScript (especially Mini Micro)

This is a very early project to create a 2D physics package for MiniScript. Initially we are targeting Mini Micro, though it should work with Soda too.

The goal is to produce enough of a physics engine to support games like Angry Birds and Crush the Castle.

Current State

A very basic foundation has been laid, including calculating linear and angular momentum. Collisions can be detected between simple (rectangular) physics bodies, but we do not yet have any collision response. (Colliding physics bodies are tinted red for now.)

The test program shows two dynamic blocks falling onto one giant static block (the ground). But because there is no collision response, the smaller blocks just fall right through the ground and keep on accelerating downward forever.

Help Wanted

Help in this project is very much appreciated! Please see the open issues and pitch in where you can.

About

2D physics package for MiniScript (especially Mini Micro)

https://miniscript.org

License:The Unlicense


Languages

Language:MAXScript 100.0%