the-butterfly-effect / tbe

The Butterfly Effect, a realistic physics simulation game
http://the-butterfly-effect.org
GNU General Public License v2.0
95 stars 13 forks source link

Add styrofoam block and styrofoam wedges #266

Closed Wuzzy2 closed 8 years ago

Wuzzy2 commented 8 years ago

This PR does a part of #123. Styrofoam is fairly common, so I turned them into default objects. This adds a styofoam block and two styrofoam wedges (left and right).

Styrofoam has low mass and high bounciness.

I have replaced most wedges and RectObjects in existing levels with the new styrofoam objects, I also adjusted physical properties (if possible) to have more “unified” styrofoam stuff. I preserved properties when the level would break otherwise. All modified levels were tested again.

The “fixed” styrofoam wedges seen in a few levels (i.e. styrofoam.xml) is kept since they are a somewhat special case.