15
CSS 290: Video Games and Computer Programming

CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

Embed Size (px)

Citation preview

Page 1: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

CSS 290: Video Games and Computer Programming

Page 2: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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

Page 3: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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)

Page 4: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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

Page 5: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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

Page 6: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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

Page 7: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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

Page 8: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

CSS 290 8

A2 is *almost* graded• It will be mailed out later today

Page 9: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

CSS 290 9

A3 is due today• Hand that in now

Page 10: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

CSS 290 10

A4: due next Thursday

• Will be posted after class on Thursday

• Will be done IN PAIRS (required)

Page 11: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

CSS 290 11

Final project• Not posted (yet)

• Should be done in groups: 2-4 people per group

• Can either be GameMaker, or C#

Page 12: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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

Page 13: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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

Page 14: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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

Page 15: CSS 290: Video Games and Computer Programming. CSS 2902 Reading: Conditional Statements PLAD Ch 4 –The objective for this book is to provide you with

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.