DATA STRUCTURES/ COLLECTIONS
ARRAYS, LISTS and HASHTABLES are DATA STRUCTURES. You will also hear them referred to as COLLECTIONS.
Since Unity uses 3 different programming languages, what you use, or what Unity-variation of, is based on
CIS125GA Introduction to Gaming
(AKA Programming Basics)
Where am I?
What is a computer program?
Week 1 FAQS:
Where am I? Why am I here?
Introduction to Programming Basics For Be
TIME AND COLLISION
Although this is a programming concepts class, we ARE making games, so it's important to understand some game- engine specific concepts.
UPDATE VS. FIXED UPDATE
So far, we've been using Update() for all our collision
FLOW CHART "BOARD GAME"
Sometimes, IF statements (and code) can get really complicated to keep track of. One way, as mentioned before, is to make a flow chart.
Flowcharts have specific symbols for different types of inputs/ outputs. There
Playing a game is really asking a lot of questions, millions even, and then modifying the game based on those answer.
A METHOD can do several things:
= Compares if 2 things are equal
UNITY SCRIPT ANATOMY
ANATOMY OF A SCRIPT
The first 2 lines tells us which libraries we need to get our scripting keywords
In order to add some interactivity, we need things to happen based on in game conditions.
EVENTS are something (exciting) that happens, that the code can react to. KeyPresses, Collisions, Mouseclicks and Scor
UNITY LAYOUT AND TERMS
Keep in mind, these menus can be configured to your preferences, so the menu location in your file may not be the same as mine.
Main Menu: Basic Open/ Close/ New /Create
Hierarchy: Contains everything IN your sc
We will be making a small, generic RPG battle over 2 weeks. Ensure you keep all your files, encapsulated correctly, to build upon for the next assignment. This project
will use a lot of Nested If statements that need to be kep
INTRODUCTION TO PROGRAMMING
WHAT IS PROGRAMMING?
A COMPUTER PROGRAM is a set of instructions that tell the computer what to do. Like a Recipe.
An INSTRUCTION is an action to be performed.
OOP (OBJECT ORIENTED PROGRAMMING): Objects and t