SE 320 – Introduction to Game Development Lecture 2: Introduction to Unity Lecturer: Gazihan Alankuş Please look at the last two slides for assignments (marked with TODO) 2/10/20121
Outline Quiz Unity Homework Lab 2/10/20122
Quiz Turn off your monitors Do not speak 5 min 2fall/se320/material/day2/ 2fall/se320/material/day2/ 2/10/20123
Projects Form your groups Come up with project ideas by next week – Check the TODO item at the end for more details 2/10/20124
Introducing Unity You have watched the tutorial videos Now let’s see them in action and make sure we understand everything 2/10/20125
Unity Background for game development A game needs – Various assets Visuals, effects, sounds, etc. – Meaningful organization of such assets Levels, scenes, etc. – Code to give life to these assets Game mechanics, rules, etc. 2/10/20126
Unity What it is and what it is not Unity organizes assets and gives life to them – Create assets elsewhere – Organize them in Unity to make them into a game 2/10/20127
Unity 3D virtual world – View – Manipulate 2/10/20128
Unity Using the UI 2/10/20129
Unity Creating things – 3D objects – Lights – Camera 2/10/201210
Unity Projects Scenes Game objects Components Assets 2/10/201211
Unity Useful components 2/10/201212
Unity Some built-in packages 2/10/201213
Unity Terrain 2/10/201214
Unity Particles 2/10/201215
Unity Interactivity! – 3 rd person controller – Colliders and triggers – Activate Trigger script 2/10/201216
Unity Sharing your game – Sending your sources Assets -> Export package – Putting your game up on the web File -> Build settings -> Web player -> Build Upload the files to any website – Dropbox public link also works 2/10/201217
TODO: Projects Form groups of 2-3 people Together, come up with game ideas as many as members of the group (e.g. 2 people -> 2 ideas) For each game idea – Find a way to explain it to people Draw it on paper, use physical props, etc. – Record a video in which you explain your game idea. Submit it to Özkan before next week’s lecture. 2/10/201218
TODO: Homework 2 Re-watch video 9 from Digital Tutors – Learn how to show/hide an object using activate/deactivate Use the Activate Trigger script from standard assets to open a secret door in the maze (use Özkan’s maze if you don’t have one) – While the character is walking straight in a corridor, the secret door should open right when the character is in front of the secret door. The door should be to the right or to the left of the character when the character is walking straight. Get Özkan to grade it – – Subject (paste this): SE 320 Homework 2 – What to send: Assets -> Export package File -> Build Settings -> Web player -> Build 2/10/ When he gets here the door opens