1 / 17

Program design and implementation Sept 7, 2010 – Day 2

Program design and implementation Sept 7, 2010 – Day 2 Object-oriented Programming thru Video Games TIDE 1840 Harry Howard Tulane University Course organization http://www.tulane.edu/~howard/TIDE1840/ Please, no food or drink! Course organization

Télécharger la présentation

Program design and implementation Sept 7, 2010 – Day 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Program design and implementationSept 7, 2010 – Day 2 Object-oriented Programming thru Video Games TIDE 1840 Harry Howard Tulane University

  2. Course organization • http://www.tulane.edu/~howard/TIDE1840/ • Please, no food or drink! OOP thru Video Games - Harry Howard - Tulane University

  3. Course organization • The SD card on my camera screwed up, and I lost a few photos. OOP thru Video Games - Harry Howard - Tulane University

  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. OOP thru Video Games - Harry Howard - Tulane University

  5. Dann, Cooper & Pausch §I.1 GETTING STARTED WITH ALICE OOP thru Video Games - Harry Howard - Tulane University

  6. Exercises p. 19ff • Island • Winter • Snowpeople pile • Tea party • Soldiers on deck OOP thru Video Games - Harry Howard - Tulane University

  7. Dann, Cooper & Pausch §I.2 PROGRAM DESIGN AND IMPLEMENTATION OOP thru Video Games - Harry Howard - Tulane University

  8. Some terminology • Program • Instruction • Scenario • A statement of the problem or task that the animation addresses = requirement specification • Storyboard • Algorithm • Pseudocode OOP thru Video Games - Harry Howard - Tulane University

  9. Steps to creating an animation • Read the scenario • Design • Implement • Test OOP thru Video Games - Harry Howard - Tulane University

  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. OOP thru Video Games - Harry Howard - Tulane University

  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. OOP thru Video Games - Harry Howard - Tulane University

  12. Example of a storyboard OOP thru Video Games - Harry Howard - Tulane University

  13. Storyboard template OOP thru Video Games - Harry Howard - Tulane University

  14. Scene Number: 1 Description The initial scene. Sound: None Text: None OOP thru Video Games - Harry Howard - Tulane University

  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. OOP thru Video Games - Harry Howard - Tulane University

  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? OOP thru Video Games - Harry Howard - Tulane University

  17. Next time §I.3 PROGRAMMING: PUTTING THE PIECES TOGETHER

More Related