1 / 12

A first program Sept 14, 2010 – Day 3

A first program Sept 14, 2010 – Day 3. 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.

fausta
Download Presentation

A first program Sept 14, 2010 – Day 3

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. A first programSept 14, 2010 – Day 3 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. • http://www.doodle.com/pnsrdq94494mhbr8 OOP thru Video Games - Harry Howard - Tulane University

  5. Dann, Cooper & Pausch §I.2.2, pp. 29-43 A FIRST PROGRAM OOP thru Video Games - Harry Howard - Tulane University

  6. Getting started • What is a program? • Create an initial scene • Space template + SciFi > spiderRobot, alienOnWheels, lunarLander + Nature > rocks • All the worlds for the examples in the book are on the CD, but not the code that makes stuff happen. OOP thru Video Games - Harry Howard - Tulane University

  7. Programming • Program code editor • the bottom right window • defaults to World.my first method • Our story • expand textual storyboard as on p. 31 & convert to flowchart p. 32 • translate the storyboard to program code OOP thru Video Games - Harry Howard - Tulane University

  8. Control statements, methods, arguments, properties • Do in order, Do together • move, turn to face, say, orient to, point at, move to • duration, style, asSeenBy, onlyAffectYaw • vehicle OOP thru Video Games - Harry Howard - Tulane University

  9. Tips & techniques 2 Dann, Cooper & Pausch §I.2.2, pp. . 43-57 ORIENTATION & MOVEMENT INSTRUCTIONS OOP thru Video Games - Harry Howard - Tulane University

  10. Other concepts • Nesting • Comments OOP thru Video Games - Harry Howard - Tulane University

  11. p. 59ff EXERCISES 2-2 OOP thru Video Games - Harry Howard - Tulane University

  12. Next time §I.3 PROGRAMMING: PUTTING THE PIECES TOGETHER OOP thru Video Games - Harry Howard - Tulane University

More Related