itch.io is community of indie game creators and players

Devlogs

Escape By Any Means Devlog pt12

Escape By Any Means
A downloadable game

This is a new version of the knife throwing script

When a knife is thrown the number of knives decreases.

If the number reaches 0 they can no longer throw knives

A line renderer is now used to visualise the direction that the knife will go in.

The line renderer will not travel through walls as it uses a raycast to set the second point of the line renderer.

If the raycast hits a wall the line renderer is drawn to the hit.position.

Download Escape By Any Means