Game Development Reference
In-Depth Information
Location-dependent animation - edge
check
In certain games, players traverse dangerous areas where a fall off from a ledge could lead
to their deaths. Sometimes, in these games, the player is not meant to fall off and their
movement is restricted when they are close, or the player gets an extra warning before they
plummet.
The control we'll develop can be used for any of those things, but since this chapter is
about animations, we'll use it to play a special animation when the player gets too close to
the edge.
Search WWH ::




Custom Search