Tuesday, January 27, 2009

Computations with Functions

Today is the starting point for chapter 6. We are digging deeper into functions. In chapter 3 we already used the built-in functions Alice has to offer. Today we will realize that those are not sufficient, that we need more functions. So we will learn how to create our own.
Use the vocabulary sheet to fill in all the new words.
In the lab we will be working on exercise 2: Rotating Tires on a Car or Truck, P. 196-197.

Homework

  • Read the introduction to chapter 6 and section 6.1, pages 171-178.
  • Answer the review questions 6.1.

Monday, January 26, 2009

Test the Clean-Up Robot

Today you will continue to develop and test the interactive The Clean-Up Robot.

Test the methods, one after the other. Then link them to the events and test the whole animation.

At the end of the class the project is due. Make sure to hand the project report in according to the standards described.


Homework

  • Read the introduction to chapter 6 and section 6.1, pages 171-178.

Tuesday, January 20, 2009

Continue the Interactive Clean-Up Robot

Today you will continue to develop the interactive The Clean-Up Robot.

After the scene set up start writing the event-handling methods according to your storyboards. Test the methods, one after the other. Then link them to the events and test the whole animation.

Monday, January 19, 2009

An Interactive Clean-Up Robot

In the first half of the class today you will be working on catching up with the missing exercises.

In the second half of our class we are starting our first Term 2 project:
The Clean-Up Robot.
This robot will help you clean up a messy room and store whatever object you click on in a closet.

After the scence set up, an interactive program with three event-handling methods each having one parameter needs to be developped and tested.




Homework

Design the storyboards for the three methods (Part 2 of the project).

Tuesday, January 13, 2009

Zeus' Wrath


To develop the game of the Greek God Zeus strinking people of your choice will be our challenge today.
To conquer the task to animate this quite difficult game we want to apply stepwise refinement.
Testing if everything is working well (and what can go wrong) is part of today's development.
(... and of course: methods with parameters will participate in the game again.)
In the lab we will be modifying the animation as described in exercise 9, page 161 and we will be learning about the "let the mouse move objects" event in exercise 10, p. 161-162.

Monday, January 12, 2009

Events and Event-Handling


Today we are looking at the example of a firetruck saving people from a burning house.
This is to understand the concepts of event-handling with methods that have parameters.
In the lab we will be working on exercise 5, page 160 and, as an alternative, find a solution using only one event-handling method (with a parameter for more flexibility).


Homework


  • Read section 5.2: Parameters and Event-Handling Methods, pages 146-155.

  • Answer the review questions section 5.2.

Tuesday, January 6, 2009

Interactive Programming

Today we will be taking our first step to become a game programmer.

In chapter 5 a flight simulator will be used to introduce interactive animations, where the user can influence the sequence of the actions by pressing a key or using the mouse. These actions generate events and the interactive-program responds to those with event-handling methods.
The vocabulary sheet to be filled in will help you to understand all the new words that are presented today.

In the lab we will be improving the flight simulator (Ex. 1 and Ex. 2, P. 158) presented the chapter 5.1.


Homework
  • Read section 5.1: Parameters and Event-Handling Methods, pages 140-145.
  • Answer the review questions section 5.1.

Monday, January 5, 2009

Snow Day

Too much snow in Vancouver - no classes today!!!