Download presentation
Presentation is loading. Please wait.
Published byPhillip Lang Modified over 8 years ago
1
Program design and implementation Sept 7, 2010 – Day 2 Object-oriented Programming thru Video Games TIDE 1840 Harry Howard Tulane University
2
Course organization http://www.tulane.edu/~howard/TIDE184 0/ http://www.tulane.edu/~howard/TIDE184 0/ Please, no food or drink! 9/7/10OOP thru Video Games - Harry Howard - Tulane University 2
3
Course organization The SD card on my camera screwed up, and I lost a few photos. 9/7/10OOP thru Video Games - Harry Howard - Tulane University 3
4
Course organization We have a budget of $75 per enrolled student: 12 x $75 = $900. ◦ I suggest that we have dinner at Jacques- Imo’s some night ◦ I will invite you to a Doodle poll to find an evening when most people can attend. 9/7/10OOP thru Video Games - Harry Howard - Tulane University 4
5
GETTING STARTED WITH ALICE Dann, Cooper & Pausch §I.1 9/7/10OOP thru Video Games - Harry Howard - Tulane University5
6
Exercises p. 19ff Island Winter Snowpeople pile Tea party Soldiers on deck 8/23/10OOP thru Video Games - Harry Howard - Tulane University 6
7
PROGRAM DESIGN AND IMPLEMENTATION Dann, Cooper & Pausch §I.2 9/7/10OOP thru Video Games - Harry Howard - Tulane University 7
8
Some terminology Program Instruction Scenario ◦ A statement of the problem or task that the animation addresses = requirement specification Storyboard Algorithm Pseudocode 9/7/10OOP thru Video Games - Harry Howard - Tulane University 8
9
Steps to creating an animation 1. Read the scenario 2. Design 3. Implement 4. Test 9/7/10OOP thru Video Games - Harry Howard - Tulane University 9
10
Read the scenario What questions does a scenario answer? ◦ What story is to be told? ◦ What objects are needed? ◦ What actions take place? Take 10 minutes to make up a scenario and then share it with the class. 9/7/10OOP thru Video Games - Harry Howard - Tulane University 10
11
Design Create a storyboard ◦ See example of a visual storyboard on the next page. ◦ Each sketch is a snapshot of a scene, known as a state in computer science. ◦ It helps to use a template, see slides10 and 11. ◦ If making a visual storyboard is too time consuming, the alternative is to make a textual storyboard, see slide 12. 9/7/10OOP thru Video Games - Harry Howard - Tulane University 11
12
Example of a storyboard 9/7/10OOP thru Video Games - Harry Howard - Tulane University 12
13
Storyboard template 9/7/10OOP thru Video Games - Harry Howard - Tulane University13
14
Scene Number: 1 Sound: None Text: None 9/7/10OOP thru Video Games - Harry Howard - Tulane University14 Description The initial scene.
15
The book’s example, p. 28 Do the following steps in order ◦ alien moves up ◦ alien says “Slithy toves?” ◦ robot’s head turns around ◦ robot turns to look at alien ◦ Do the following steps together robot moves toward the alien robot legs walk ◦ etc. Note that this looks like pseudocode. 9/7/10OOP thru Video Games - Harry Howard - Tulane University15
16
Evaluate and revise Does the action flow from scene to scene as the story unfolds? Do any transitions need to be added to blend one scene to the next? Did you overlook any part of the story? Is there something about the story that should be changed? 9/7/10OOP thru Video Games - Harry Howard - Tulane University16
17
§I.3 PROGRAMMING: PUTTING THE PIECES TOGETHER Next time
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.