This week in development I worked on getting the weapon crafting system working, as well as giving the player the ability to collect supplies which can be used to construct walls and doorways. Last week’s update showed the ability to construct those building elements, but there was no way to actually gather the raw materials necessary for them. Now, every time you destroy an object in the game, there’s a chance it may drop some useful raw materials that can be picked up.
New weapons can also be crafted now, by combining various pieces together in the crafting window. For example, you can combine a box of nails and a baseball bat to create a nail bat, or a pool cue, some duct tape and a knife to create a lance. Right now there are about ten craftable weapons that I’ve added to the game, but in the future there will be many more.
Also, the construction mallet shown in last week’s update has been given two modes: repair and destroy. Using it to repair an object costs money, and in destruction mode it can damage solid objects faster than most other weapon types.
Finally, new particle systems have been implemented, which generate debris every time an object is damaged. The type of particle emitted depends on the substance of the object being hit. A door will emit shards of wood, a wall will emit chunks of concrete, etc.
Here’s a video demonstrating all of the above features!