Download presentation
Presentation is loading. Please wait.
Published byDennis Frank Bailey Modified over 9 years ago
1
A first program Sept 14, 2010 – Day 3 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/14/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/14/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. http://www.doodle.c om/pnsrdq94494mhb r8 9/14/10OOP thru Video Games - Harry Howard - Tulane University 4
5
A FIRST PROGRAM Dann, Cooper & Pausch §I.2.2, pp. 29-43 9/14/10OOP thru Video Games - Harry Howard - Tulane University 5
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. 9/14/10OOP thru Video Games - Harry Howard - Tulane University 6
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 9/14/10OOP thru Video Games - Harry Howard - Tulane University 7
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 9/14/10OOP thru Video Games - Harry Howard - Tulane University 8
9
ORIENTATION & MOVEMENT INSTRUCTIONS Tips & techniques 2 Dann, Cooper & Pausch §I.2.2, pp.. 43-57 9/14/10OOP thru Video Games - Harry Howard - Tulane University9
10
Other concepts Nesting Comments 9/14/10OOP thru Video Games - Harry Howard - Tulane University10
11
EXERCISES 2-2 p. 59ff 9/14/10OOP thru Video Games - Harry Howard - Tulane University11
12
§I.3 PROGRAMMING: PUTTING THE PIECES TOGETHER Next time 9/14/10 12 OOP thru Video Games - Harry Howard - Tulane University
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.