Download presentation
Presentation is loading. Please wait.
1
Nate Brunelle Today: Games
CS1110 Nate Brunelle Today: Games
2
Questions?
4
What do boxes “have” Position Velocity Appearance
Shape (square, circle, etc) Color Image text
5
How movement happens Draw everything Move things around
Draw everything again Do this many times per second (usually 30 times)
6
How we draw things We don’t want to see a half-finished scene
Draw the scene on a piece of paper camera.draw Once done, show people the piece of paper camera.display
7
Jumping Obstacles Random things Lives Levels Text Collecting items Timer Mouse Select character screen Keep things in frame Health bar Side scrolling Character animation Resizing boxes collisions
8
Gamebox notes Camera: stuff that you can see
Camera.draw receives a box We need to draw the scene We need to show the user what we drew The coordinate 0,0 is in the upper-left hand corner of the screen Going right means positive x Going down means positive y
9
Topic Requests Screen scrolling First person shooting
Change background Dangerous obstacles Mouse Buttons Randomness Collisions Score How to animate a character Win/lose conditions Multiplayer
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.