ah teaches game design and development (The grid lecture)
The grid
Lecture outline
User interface fundamentals for game design. Lecture slides will be made available on the day of the lecture.
Let's talk ideas
Questions?
Any questions about the critical play reflection?
Code tutorial
Today's tutorial covers using objects.
new
new is an operator that will specify we are building an object or class. In JavaScript this is the closest we get to 'object-oriented programming.'
Building objects
Creating a new object requires:
- We define some sort of prototype for the object.
- We create a '
new' object.
Break time!
Please return for class in 10 minutes