Upload
carol-greer
View
213
Download
0
Embed Size (px)
Citation preview
CSS 290: Video Games and Computer Programming
CSS 290 2
Reading: Conditional Statements• PLAD Ch 4
– The objective for this book is to provide you with a clear, CONCEPTUAL understanding of what the different programming concepts are
– We will then use GameMaker, and then C#, to see concrete examples of them.
– 4.1: Really good – flowchart aspect is really nice, as are the ‘relational operators’
– 4.2: If / Else– 4.4: Nested and “Chained” decisions
– SKIP: 4.3, 4.5, 4.6, 4.7
CSS 290 3
Reading: Conditional Statements• GMA Ch 3, Ch 4
• We won’t cover all of this exactly, so you don’t need to read this in excruciating detail
– Title/Finish Screen: pg 60-61– ‘Next Room’ example: Pg 58-60
– Ch 7 (the Koala-BR8 game) is a nice maze game that demonstrates more complicated use of conditionals
• (It may be helpful to read through for the conditionals)
CSS 290 4
This Lecture: More C#• PLAD, Ch 4 (4.1, 4.2, 4.4)
• GMA Ch 3, Ch 4
• C#: Chapter 5– Conditional Branching Statements
CSS 290 5
Next Lecture• Finish ‘conditionals’ topic
• Game Design:– Gender issues in game design– Exploring Work Roles Within The Video game
Industry– Genres of video games
CSS 290 6
Tutor Now Available• Mondays, Wednesdays, from noon till 2pm
– Starting THIS week (April 14)
• In the Windows lab
• Feel free to drop by & do homework, study, surf the web, etc, etc
CSS 290 7
A1 revision• You have until next Tuesday (April 22nd) to get
it done
• This is due now
• If you have any issues, let me know, and we’ll get it ironed out
CSS 290 8
A2 is *almost* graded• It will be mailed out later today
CSS 290 9
A3 is due today• Hand that in now
CSS 290 10
A4: due next Thursday
• Will be posted after class on Thursday
• Will be done IN PAIRS (required)
CSS 290 11
Final project• Not posted (yet)
• Should be done in groups: 2-4 people per group
• Can either be GameMaker, or C#
CSS 290 12
Final project: Expectations
• GameMaker:– Should be ‘glitzy’
• Sound, animated sprites, etc
– Should go beyond just what we’ve covered in class
• C#:– Should be presentable– More focus on the code, rather than the glitz
CSS 290 13
Final project: Expectations
• GameMaker:– Should be ‘glitzy’
• Sound, animated sprites, etc
– Should go beyond just what we’ve covered in class
• C#:– Should be presentable– More focus on the code, rather than the glitz
CSS 290 14
Final project: Expectations
• GameMaker:– Should be ‘glitzy’
• Sound, animated sprites, etc
– Should go beyond just what we’ve covered in class
• C#:– Should be presentable– More focus on the code, rather than the glitz
CSS 290 15
And now… the quiz!• Download the provided project, and fix/set up
the code so that the two bugs do NOT leave the room.– The egg/bug must still move to the edge of the
screen– The must not move beyond it– You need to solve this problem using the
conditional statements we saw last lecture– It’s ok if they move partially off-screen, then stop– It’s ok if you only fix this for the particular
direction egg/bug are moving in.