Investigating the TicketMachine: Download the TicketMachine project we have been building in lectures. Unzip it on your desktop and open the project with BlueJ. Create an instance of the TicketMachine class. Experiment with the addMoney() method. What happens if you: Add 0 cents? Add an negative amount? Is this behaviour correct? Experiment with the purchaseTicket() […]
Tutorial Wk 2 – Getting to know BlueJ
July 21st, 2011 · No Comments · Uncategorized
There are two tasks for this week’s lab: Activate your CSE account. Write your first program! Play with BlueJ
Tags:
Lecture Notes and Video
July 18th, 2011 · No Comments · Lectures
I have just uploaded the lecture slides from today’s class. I future you should be able to find slides on the web shortly before the lecture. Follow the link on the sidebar on the right of this page to access them. Lecture videos should also go up soon.
Tags:
Welcome to COMP1400 2011
July 18th, 2011 · No Comments · Uncategorized
Welcome everybody to the 2011 class of Programming for Designers. My name is Malcolm and I will be your captain on this flight. Your attendants are Tim Wiley and Sim Mautner. We’re all here to look after you and make sure you have a pleasant flight. Before we take off, please make sure you check […]
Tags:
Games Showcase Tue Oct 19
October 12th, 2010 · No Comments · Uncategorized
Time: 6-8pm, Tues Oct 19 Room: K17 Level 1 Seminar Room Every year the students in Game Design Workshop (COMP4431) are challenged to design and prototype innovative game ideas in under six weeks. This year the theme was “COLOUR AND EMOTION” which has inspired a number of wonderful arty games. They will be showcasing their […]
Tags:
Sample Exam
October 10th, 2010 · No Comments · Uncategorized
As requested, I have made a sample exam available for you to download. This contains the same number and variety of questions as in the final exam, and should be of about the same difficulty. In the actual exam you will be provided with copies of the Unity Scripting Manual pages for all the important […]
Tags:
Survey
October 10th, 2010 · No Comments · Uncategorized
I have put a web-survey up to get your feedback on the class. Please take a moment to fill it out. Your feedback will help improve the subject.
Tags:
Tut 11 – Source debugger
October 5th, 2010 · No Comments · Lab
I have arranged for Unity 3 to be installed on the CHI Lab Macs. It includes the debugger that I demonstrated in the lecture. We’ll use it to step through some code. Download the GrowFlowers.js script from the lecture. Create a project to run it in. Remember to save the scene. Set Preferences to use […]
Tags:
Weird Bug
September 28th, 2010 · No Comments · Lectures
In last week’s lecture I had some trouble with the script: // GUI.js var label : String; var rect : Rect; function Update() { GUI.Label(rect, label); } Unity was giving the error: Assets/GUI.js(5,13): BCE0019: ‘Label’ is not a member of ‘GUI’. I’ve finally worked out why. When you create this script it makes a new […]
Tags:
Lab 10 – GUI
September 28th, 2010 · No Comments · Lab
Task 1: Build a GUI with a label and a button. The label should show the number of times the button has been pressed. Task 2: Build a “Security Panel” GUI with buttons labelled “0” through “9” and an “Enter” button. Allow the player to unlock the panel by entering the correct 4 digit PIN. […]
Tags: