GAME-1377 Scripting for Game Developers
Garry Gaber
Credit Spring 2024
Section(s)
GAME-1377-001 (75627)
LEC TuTh 6:00pm - 6:55pm DIL DLS DIL
LAB TuTh 6:55pm - 8:40pm DIL DLS DIL
Course Requirements
Prerequisites: GAME 1270, GAME 1406, GAME 1475.
This is an intermediate to advanced class and requires skills learned in other classes for the student to gain the most from the experience. It is expected that the student will have completed the necessary prerequisites for this class. If they have not, the instructor may, at his or her discretion, drop the student from the class.
Readings
There are no readings in this class - however the following youtube links will prove useful:
Helpful Websites:
- http://unity3d.com/learn/tutorials
- https://unity3d.com/learn/tutorials/topics/scripting
- http://forum.unity3d.com/
- http://answers.unity3d.com/
- Good YouTube channels to subscribe to and watch:
- Code Monkey https://www.youtube.com/c/CodeMonkeyUnity
- Jason Weimann https://www.youtube.com/c/Unity3dCollege
- Jimmy Vegas https://www.youtube.com/c/JimmyVegasUnity
- Thomas Brush https://www.youtube.com/c/AtmosGames
Course Subjects
Class Outline/Course Calendar:
- Week 1:
- Discussion: Introduction to course; Syllabus; Equipment; Supplies, Roundtable – who are you, why are you here, who am I?
- In Class: Game Of Thrones Riddle
- Discussion: Introduction to Unity, Scripts as Behavior Components, Intro to Variables and Functions, Debug.Log/Warning/Error, Syntax, Code Folding, Commenting
- In Class: Your First Project; Your first script
- Videos: Learn Unity in 17 Minutes!, Scripts as Behaviour Components, Variables and Functions, Conventions and Syntax, Scope and Access
- Discussion: Introduction to course; Syllabus; Equipment; Supplies, Roundtable – who are you, why are you here, who am I?
- Week 2:
- Discussion: Variables and Functions Revisited, Objects, Instantiation (Intro), IPO Methods
- Discussion: Input GetKey – Trigger an Event in the World, FBX Import, Instantiation (Revisited), Transforms, Update, Prefabs, Randomization - spawning in different spots,
- In Class: Spawn an Object In the world
- Videos: GetButton and GetKey, Update and FixedUpdate, Instantiate, If Statements, Translate and Rotate, Loops, Enabling and Disabling Components, Activating GameObjects
- Quiz #1 (Tuesday)
- Week 3:
- Discussion: Input – GetKey – WASD Movement, Concept of a player object, Camera attached to Player, Prefabs, Move the player object, More Randomization, Weighted Spawns
- Discussion: Camera – look at specific target, LookAt, Awake and Start, Switch and Enumeration
- In Class: Script for Player, GameManager, Review for Test 1
- Videos: Awake And Start, LookAt, GetAxis, Switch, Enumeration
- Week 4:
- Discussion: Methods revisited, GetComponent,Communicating between different objects and scripts, Weighted Spawns
- Discussion: Projectiles, Damage to enemy (passing values), Destroy, Collision, GUI (Pt 1)
- In Class: Script for Inventory, UI Elements – access to menus in game, health
- Videos: GetComponent, Scope and Access Modifiers
- Videos: Destroy
- Quiz #2 (Tuesday)
- Test #1 (Thursday)
- Week 5:
- Discussion: Taking our shooter further, GUI (Pt 2)
- Videos: Arrays
- Discussion: Taking our shooter further, GUI (Pt 2)
- Week 6:
- Discussion: ForEach, Dealing with finding objects in the world, different ways of establishing a link to objects
- Discussion: Finding Nearby
- In Class: Find the nearest object
- Videos: Vector Maths, Invoke, DataTypes, DeltaTime, Classes, OnMouseDown
- Quiz #3 (Thursday)
- Week 7:
- Discussion: What more can we do with our shooter?
- Week 8:
- Presentation: Shooter
Please note that schedule changes may occur during the semester. Any changes will be announced in class and posted as a Google Classroom.
Review: Midterm (Tuesday)
-
- Midterm (Thursday)
Springbreak!!! Week 9:
- Discussion:, Unity Survival Shooter, Setup and Pt 1 – 2
- Discussion: Survival Shooter, Pts 3 - 4
Week 10:
- Discussion: Survival Shooter, Pts 5 – 6
- Discussion: Survival Shooter, Pts 7 - 8
- Midterm (Thursday)
Week 11:
- Discussion: Survival Shooter, Pts 9 -10
- Discussion: Taking the Unity Shooter Further – Planning
- Lab
- Quiz #4 (Thursday)
Week 12-15: Taking the Shooter Further, Exploration of more advanced concepts Week 16:
- Discussion: Wrapping the Shooter, Review for Final
- Final (Thursday)
- Final Presentation Due (Thursday)
Student Learning Outcomes/Learning Objectives
Course Student Learning Outcomes
Construct working C# scripts in a commercial game engine.
Discipline/Program Student Learning Outcomes
1. Identify and demonstrate the fundamental skills and concepts in game design and development.
2. Define, design and produce scripts in a commercial game engine.
3. Efficiently complete projects within deadlines.
Office Hours
M F 11:00 AM - 7:00 PM Virtual
NOTE Please send email to set up an appointment in advancePublished: 01/15/2024 13:32:23