CS 491 Lecture 4 – Finishing Mathch, Really
September 11, 2015 by Chris Johnson. Filed under fall 2015, gamedev2, lectures.
Agenda
- what ?s
- win logic
- switching between sprites
- adding sounds (sfxr)
TODO
- Monday is our first lab. This weekend I’ll send out an email with teams.
- For Wednesday, read up on Transform, vector arithmetic, and Rigidbody. Check out both the manual and the scripting reference on Transform and Rigidbody. On a 1/4 sheet, answer these questions, making sure you try out the answers in Unity:
- In a script, how do you set the game object’s position to (10, 3, 5)?
- In a script, how do you push a game object in the direction it’s currently facing with 50 units of force?
- In a script, how do you rotate a game object 45 degrees around the z axis?
Code
7ad9ab3
Haiku
Death threats from parents
My game makes kids violent?
I’ll add GAME OVER
show