Module 3 Examples: Autonomous behaviors 

Link to GitHub

Coverage

Concepts you will explore and understand include

·         The lerp function: gradual rotation and chasing

·         Simple implementation of a finite state machine

·         Randomness and simple examples in games

·         Sprite sheets and sprite atlas: for efficiency loading and animation

·         Keyframe and Sprite animation


Unity specific skills you will be exposed and begin learning include

·         Sprite Editor: extracting individual tiles and sprites

·         Animation Window: defining keyframe animaitons

·         Animator: defining animation states, transitions, and, finite state machine

 

 

  1. Gradual Rotation and Chasing
  2. Autonomous Movement with Randomness:
  3. Finite State Machine
  4. FSM + Randomness

§  Ease of expansion when well abstracted

 

  1. Keyframe Animation + FSM
  2. Sprite Animation
  3. Orbiting (rather unrelated example)