teaching machines

HNRS 304.503 Lecture 17 – Escaping from the island, keeping things visible, sound effects

November 16, 2012 by . Filed under fall 2012, honors 304.503, lectures.

Agenda

Player with jump control

We want to be able to turn our player’s jump ability on and off. That can be done through the First Person Controller’s Character Motor script component. Let’s simplify the process a bit with our own PlayerController component that wraps around the relevant operations:

show

Meet boat

We want a boat that we may or may not be able to jump into. If the player cannot jump, let’s pop up a message letting them know they’re destined to perish on the island.

show

Flip-up coins

We want the coins to dazzle up when we run into one.

show

Sound

Let’s play a sound on collect.

show

Disable jumping

We want to stop the player from jumping on a coin collect.

show

Keeping coins visible

Once a coin is collected, we want it to raise up in front of the player, always visible. That’s gratifying.

show

Haiku