Forest Bomber
You are flying a secret air force mission when you discover that your fuel is running out and you will have to make an emergency landing.Can you clear a path in the forest and land your plane safely before it’s too late.
Learn to code the Forest Bomber arcade game in Python. This free Python coding project includes all of the code, images and audio files required.
Starter Code Files
Download “Starter Python File: Forest Bomber” File size: 178 B
Download and unzip this starter Python code file to your Forest Bomber project folder
Images and Audio
Download “Images and audio for Forest Bomber” File size: 78 KB
Download and unzip these image and audio files to your Forest Bomber project folder
Book of Code
Download “Book of Code: Forest Bomber” File size: 360 KB
Copy the Forest Bomber Python program from the Book of Code into your IDE
Video Tutorials
1. Variables
A variable stores a piece of data to be used by a program. The value in a variable can be changed by the program code. In this video we explore how Forest Bomber uses the score and level variables in the game code.
Watch first: N/A
Difficulty: 1
2. Integer Variables
An integer is a whole number. An integer variable is a variable which stores a whole number. This tutorial shows how the level integer variable is used to store the value of the current level.
Watch first: Forest Bomber Variables
Difficulty: 1
Buy the book
Forest Bomber is one of the four Python games covered in the book Game Programming with Code Angel, available on Amazon now.
3. Arithmetic Operators
Learn how the maths symbols + (add) – (subtract) * (multiply) and / (divide) can be used in Python game programming.
Watch first: Forest Bomber Integer Variables
Difficulty: 1
4. Making Decisions
The if statement is used in computer programs to make decisions.
In this tutorial we explain how the if statement has been used in Forest Bomber to check:
- if the plane has reached the edge of the screen, or
- if the player has levelled up
and what to do when either of these situations arise.
Watch first: Forest Bomber Variables
Difficulty: 2
5. Boolean Variables
A boolean can have one of two values: True, or False. A boolean variable is a variable which stores either True or False.
This tutorial shows how the boolean variables are used in Forest Bomber.
Watch First: Forest Bomber Variables
Difficulty: 2
6. Relational Operators
Relational operators are used in Python to compare two different values.
Watch first: Forest Bomber Making Decisions
Difficulty: 2
7. While True Loop
The while True: loop is used in Python game code to loop forever (or at least until the plager quits the game).
Watch first: Forest Bomber Variables
Difficulty: 1
8. Displaying Images
All of the Code Angel Python game projects use the Pygame library to display images. This video explains how to place an image onto the game screen.
Watch first: N/A
Difficulty: 1
9. Lists
A list in Python is a structure for storing multiple data items. In this video we explain how a list is used to store the layout of the forest in Forest Bomber.
Watch first: Forest Bomber Variables
Difficulty: 2
Introducing Echo Show 5 – Compact smart display with Alexa, White, available on Amazon