Destructible Statues - They don't make them like they used to


Destructible statues was a feature I wanted to add a long time ago, but held off to make sure if was something I really wanted to do and not purely feature creep. With destructible statues, that leaves less to cling on to near the center, making it easier to drag players into the recycling center as the match goes on.

 

Some challenges while adding this feature included:

• Figuring out a decent way for the collision detection wall area to communicate with the statue sprite. They’re separate to allow player sprites to hide behind the back of a statue.

• Collision detection objects didn’t break before and I had to add in programming to delete them, plus to release other harpoons attached to them

• Not so hard but tried using a shader for the first time as the fading white flash when a statue is hit

 

Surprisingly, the most fun part to add in was not drawing all the cracked versions of the statues but programming the statue shards that break out when the statues are hit. At first, I had them simply spread out and turn invisible, but then went on to add bounces and rotation with a lot of friction-like variable tweaking to get something that felt right. Later, I might add the exploding shard bits for any wall that gets harpooned and use a shader to match the colour.

Files

Carpoon6i.exe --Updated w/ statues that break 14 MB
Feb 15, 2019

Get Carpoon [Early Access]

Buy Now$4.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.