Program Arcade GamesWith Python And Pygame
Dutch - Nederlands
Portuguese - Português
Russian - Русский
Spanish - Español
Turkish - Türkçe
Lab 17: Final Lab - Video Game Option
This is it! This is your chance to use your creativity and really show off what you can create in your own game. More than just passing a test, in this class you actually get to do something, and create something real.
This final lab is divided into three parts. Each part raises the bar on what your game needs to be able to do.
Requirements for part 1:
- Open up a screen.
- Set up the items to be drawn on the screen.
- Provide some sort of rudimentary player movement via mouse, keyboard, or game controller.
- If your program will involve things running into each other, start by using sprites. Do not start by using drawing commands, and expect to add in sprites later. It won't work and you'll need start over from scratch. This will be sad.
- If you are coding a program like mine sweeper or connect four, do not use sprites. Since collision detection is not needed, there is no need to mess with sprites.
- Under “longer game examples” I have two programs that show how to create pong or breakout style games. Don't just turn these in as Part 1 though; you'll need to add a lot before it really qualifies.
- OpenGameArt.org has a lot of images and sounds you can use royalty-free.
- Including this lab, there will be a total of three parts.
- Part 1 - Get the screen set up and some basic interaction.
- Part 2 - Get the game mostly functional.
- Part 3 - Add items like the display of the score, sound, and make it look nice.
For Final Lab Part 2, your game should be mostly functional. A person should be able to sit down and play the game for a few minutes and have it feel like a real game. Here are some things you might want to add:
- Be able to collide with objects.
- Players can lose the game if something bad happens.
- On-screen score.
- Some initial sound effects.
- Movement of other characters in the screen.
- The ability to click on mines or empty spots.
For the final part, add in the last polish for your game. Here are some things you might want to add:
- Multiple levels
- Multiple “lives”
- Title and instruction screens
- Background music
- Heat seeking missiles
- Hidden doors
- A “sweep” action in a minesweeper game or the ability to place “flags”
You are not logged in. Log in here and track your progress.
|About||Buy the Book||Help Translate||My College||My Twitter|