Difference between revisions of "CS1 - 1112 - September"
From WLCS
(Created page with "== Wednesday - Friday (9/28/11 - 9/30/11) == '''Agenda:''' * Begin work on your Basic Frogger Game *# Give your game a simple background *# You will need several sprites. *# 1 pl...") |
(No difference)
|
Latest revision as of 21:32, 16 November 2011
Contents
- 1 Wednesday - Friday (9/28/11 - 9/30/11)
- 2 Monday - Tuesday (9/26/11 - 9/27/11)
- 3 Back to School Night (9/26/11)
- 4 Monday (9/26/11)
- 5 Friday (9/23/11)
- 6 Tuesday - Thursday (9/20/11 - 9/22/11)
- 7 Friday - Monday (9/16/11 - 9/19/11)
- 8 Thursday (9/15/11)
- 9 Tuesday - Wednesday (9/13/11 - 9/14/11)
- 10 Friday - Monday (9/8/11 - 9/12/11)
- 11 Wednesday - Thursday (9/7/11 - 9/7/11)
- 12 Tuesday - Thursday (9/6/11 - 9/8/11)
Wednesday - Friday (9/28/11 - 9/30/11)
Agenda:
- Begin work on your Basic Frogger Game
- Give your game a simple background
- You will need several sprites.
- 1 player sprite will be the player and it will cross the screen by using the keyboard.
- 3-5 enemy sprites will be used to move back and forth vertically across the screen (the number depends on how big you make them)
- When you play your game, you want to cross the entire screen without hitting the enemy sprites.
- Start the player off with 3 lives (HINT: use a variable)
- If you hit any of the enemy sprites:
- Subtract one life away
- Say "Ouch!"
- Move the player back to its starting location
- If lives hits 0, then say "Game Over" and end the game
- If the player reaches the other side of the screen, then say "You win!"
- Hint: You can use all sorts of different ways to detect how you hit the other side of the screen
- Create a long sprite that you detect hitting OR...
- Check the y-coordinate of the sprite and if it is greater than the upper bound of the screen
Monday - Tuesday (9/26/11 - 9/27/11)
Agenda:
- Complete your Animations and Evaluations
- Introduction to Basic Game Programming (Coin Toss)
- Start game
- Run forever (game loop)
- Include rules in your game loop
- Do the above for every sprite
- Ask and Wait
- Introduction to Conditionals
- Booleans - things that are True or False
- if statement blocks
- if-else statement blocks
- Go to Mouse X and Y
- Introduction to Variables
- Avoidance Game Example
- Add a background to the example
- Change the sprites
- Add a lives variable that starts at 10 when you start the game
- If the player touches the ball, then decrease lives by 1
- Add another if that checks if lives is equal to 0
- If so, say Game Over and end the game (stop all scripts)
Back to School Night (9/26/11)
Monday (9/26/11)
Agenda:
- Complete your Animations and Evaluations
- Introduction to Basic Game Programming
- Start game
- Run forever (game loop)
- Include rules in your game loop
- Do the above for every sprite
- Introduction to Conditionals
- Booleans - things that are True or False
- if statement blocks
- if-else statement blocks
- Introduction to Variables
Friday (9/23/11)
Warmup:
- We will experiment with using the 'next costume' block
- Copy the Scratch program on the board
- What illusion have we created?
Agenda:
- Animation Evaluations
- Bring up your animation and make sure it plays with a single-click of the green flag.
- Receive an evaluation sheet from Mr. Bui
- Be sure to put your name at the top. As we go around evaluating each others' animations, leave your evaluation sheet sitting at your computer.
- At the gong, go to another computer and play the animation
- Complete an evaluation on the original author's evaluation sheet. Be sure you write your name on the author's evaluation sheet.
- There will be a gong every 5 minutes
- At the end of class, your computer should have 3 evaluations by other people.
Tuesday - Thursday (9/20/11 - 9/22/11)
Warmup:
- Make one sprite move and bounce from left to right across the screen
- Make another sprite move and bounce from top to bottom across the screen
Agenda:
- Sprite Looks
- Changing costumes
- Saying and Thinking
- Graphics and Size effects
- Wait command
- Sprite Look Practice - Create an animation that retells a movie/story in simplified terms. In your animation, you must employ the following:
- Background image
- Sprites that move around
- Sprites that change costume
- Sprites and say/think
- A graphic or size effect being applied to sprites
Friday - Monday (9/16/11 - 9/19/11)
Warmup:
- Copy the Scratch program that Mr. Bui has posted on the board
- Do you see a pattern?
- What do you think we can do to simplify the code?
Agenda:
- Demo Scratch - Moving and Drawing Assignment
- Demo Scratch - Sound Board Assignment
- Iteration / Repeating
- Iteration Practice Assignment
- Create a Scratch program that uses the repeat block to draw a staircase
- Create a Scratch program that draws a circle (HINT: Repeat 360 times turning and moving)
- Create a Scratch program that repeatedly draws squares across the screen
Thursday (9/15/11)
Warmup:
- Take out your headphones or borrow a pair of headphones from Mr. Bui
- Plug in the headphones to the backside of your computer
Agenda:
- Demo your Scratch - Moving and Drawing Assignment
- Key pressing
- Sounds
- Downloading a sound (e.g. Mario sound clips)
- Record your own sound
- Playing sounds in Scratch
- Scratch - Sound Board Assignment
Tuesday - Wednesday (9/13/11 - 9/14/11)
Warmup:
- Use Google Image Search to find a school-appropriate image that you would like to use as a sprite. Don't worry if you need to crop (cut out the image.)
Agenda:
- Introduction to Scratch
- Sprites (costumes and direction)
- Basic movement
- Pen
- Scratch - Moving and Drawing Assignment
- Please bring headphones/earphones to your next class
Friday - Monday (9/8/11 - 9/12/11)
- How do we solve problems?
- Pair up
- Write out the steps involved in making a PB&J sandwich.
- How many steps are necessary in making a PB&J sandwich?
- Share sandwich stories
- What lessons/problems did we run into?
- What does programming mean?
- Introduction to Scratch
Wednesday - Thursday (9/7/11 - 9/7/11)
Warmup:
- If you have not done so, complete the Student Survey
Agenda:
- Introductions
- Misc logistics
- 20/10 no pass policy
- Location of bathrooms
- Sign in/out sheets
- Computer Science I Syllabus
- IT Resources for Students (UserID: StudentID# and Password: Birthday)
- Google Apps - http://www.apsva.us/google
- School Web Lockers - http://wlhs.schoolweblockers.com
- Blackboard - http://apsva.blackboard.com
- What is computer science?
- List people/things/systems that use computers (e.g. air traffic control)
- For each of the above people/things/systems, write down the information that they use (e.g. flight information)
- List things you have done in any science class
- Define the term: "to compute" or "computation"
- Share the document with
Homework:
- Signed syllabus sheet due by the end of next week (9/16/11). You may turn it in anytime before then.
Tuesday - Thursday (9/6/11 - 9/8/11)
- Introductions
- Name cards
- Lab setup/config
- Login username is your first initial and lastname (e.g. pbui)
- Your password is your student ID number
- Go to Apple (upper left) -> System Preferences -> Accounts -> Change Password
- Acceptable-use policies apply in this lab!
- Complete the Student Surveys