Game programming with Code Angel : learn how to code in Python on Raspberry Pi or PC /: learn how to code in Python on Raspberry Pi or PC. ([2020])
- Record Type:
- Book
- Title:
- Game programming with Code Angel : learn how to code in Python on Raspberry Pi or PC /: learn how to code in Python on Raspberry Pi or PC. ([2020])
- Main Title:
- Game programming with Code Angel : learn how to code in Python on Raspberry Pi or PC
- Further Information:
- Note: Mark Cunningham.
- Authors:
- Cunningham, Mark
- Contents:
- 1. Setup and getting started Goal: for the user / reader to be able to set up their environment and understand some common errors in order that they can get started· Installing Python · Which IDE?· Bugs and debugging · Indentation· Internal comments 2. Forest Bomber part 1 - A first level Goal: learn how to create a simple first level for a 2D game· Variables· Arithmetic operators (+ - * /)· Lists / Arrays· Displaying images· 3. Forest Bomber part 2 - Is it a bird?Goal: learn how to display and move a plane across the screen· While True loop· Decisions 4. Forest Bomber part 3 - Bombs away Goal: learn how to capture user input (keypress) to perform an action (drop bomb) as well as handle end of level / game events · Keypresses· Relational operators (==., >=, <=, !=)· Level up · Game over 5. Forest Bomber part 4 - Wrapping it upGoal: learn how to display scoreboard information· Scoreboard 6. Snapper part 1 - In the woods Goal: learn how to set up a game level with randomly generated elements· Boolean variables· Storing data in a dictionary· Random events 7. Snapper part 2 - Say cheese Goal: learn how to control the mouse, and how to modularise code · Mouse events· More decisions· Functions 8. Alien Invasion part 1 - Defend planet earth Goal: learn how to control and move a player base (left/right) and fire a missile in the game Alien Invasion· Understanding coordinates· Firing missiles· Controlling the base· Logical operators (and) 9. Alien Invasion part 2 – Earth is under1. Setup and getting started Goal: for the user / reader to be able to set up their environment and understand some common errors in order that they can get started· Installing Python · Which IDE?· Bugs and debugging · Indentation· Internal comments 2. Forest Bomber part 1 - A first level Goal: learn how to create a simple first level for a 2D game· Variables· Arithmetic operators (+ - * /)· Lists / Arrays· Displaying images· 3. Forest Bomber part 2 - Is it a bird?Goal: learn how to display and move a plane across the screen· While True loop· Decisions 4. Forest Bomber part 3 - Bombs away Goal: learn how to capture user input (keypress) to perform an action (drop bomb) as well as handle end of level / game events · Keypresses· Relational operators (==., >=, <=, !=)· Level up · Game over 5. Forest Bomber part 4 - Wrapping it upGoal: learn how to display scoreboard information· Scoreboard 6. Snapper part 1 - In the woods Goal: learn how to set up a game level with randomly generated elements· Boolean variables· Storing data in a dictionary· Random events 7. Snapper part 2 - Say cheese Goal: learn how to control the mouse, and how to modularise code · Mouse events· More decisions· Functions 8. Alien Invasion part 1 - Defend planet earth Goal: learn how to control and move a player base (left/right) and fire a missile in the game Alien Invasion· Understanding coordinates· Firing missiles· Controlling the base· Logical operators (and) 9. Alien Invasion part 2 – Earth is under attack Goal: learn how to generate random enemy behaviours in the game Alien Invasion· Strings· UFO Dictionary· Random choice· Moving UFOs· Collisions· Parameter Passing 10. Golf part 1 - Out on the course Goal: Learn how to set up more complex and repeating levels in the game Golf· Meaningful variable names · Fixed loops· Placing the flag 11. Golf part 2 - It's in the hole Goal: learn the logic required to test if a ball has found the hole in the game Golf, and what to do thereafter· Logical operators (or)· Nested if statements · Moving the ball· Using a list to store the strokes 12. Tic Tac Toe part 1 - The board Goal: learn how to create a Tic Tac Toe game board using a 2D array· String concatenation· Displaying text· Drawing a grid· 2D Lists / Arrays· Nested loops· Parameter passing part 2 13. Tic Tac Toe part 2 - The game Goal: learn how to go about handling game logic for Tic Tac Toe, including the computer player logic and testing to see if there has been a winning line· Player turn· Overall game logic· Computer logic· Conditional while loops· Winning line logic 14. Jupiter Landing part 1 - The dawn of Jupiter Goal: learn how to generate a random planet surface from a list · Game variables· Looping through lists· A random planet 15. Jupiter Landing part 2 - Rocket man Goal: learn how to apply velocity and gravity in the game Jupiter Landing· Floating point variables· Predefined functions: round, abs· Lander start location· Rocket thrust· Rotating· Gravity and velocity· Planet collision· Level up 16. What next…?Goal: learn how to apply the learning from this book to develop games of your own. … (more)
- Publisher Details:
- New York : Apress
- Publication Date:
- 2020
- Copyright Date:
- 2020
- Extent:
- 1 online resource, illustrations
- Subjects:
- 794.8/1525
Computer games -- Programming
Python (Computer program language)
Electronic books - Languages:
- English
- ISBNs:
- 9781484253052
1484253051 - Related ISBNs:
- 9781484253045
- Notes:
- Note: Online resource; title from PDF title page (SpringerLink, viewed December 16, 2019).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.476359
- Ingest File:
- 02_628.xml