game dev techniques

Created: Apr 05, 2023Last modified: Apr 20, 2023
No tags
Word count: 19Backlinks: 1

A list of techniques for game dev - patterns and features used to accomplish common tasks.


Backlinks

A raycast is a fast collision check along a straight line.

It is useful for determining line-of-sight for an entity, i.e., can this entity see something along this line?

It can also be used to see if an entity is near a wall or floor. For example, it's helpful to determine if the walking goomba should turn around or not.