Continuing from previous Accelerating and Rotating Spaceship project, make the spaceship fire the bullets. Each bullet have limited range and there should be some time gap between the firings so that spaceship won’t destroy asteroids too easily in the future game. You may need to use list structure in Python to store the bullets.
Tag Archives: keyboard events
Accelerating and Rotating Spaceship
Continuing from the rotating spaceship project, allow the spaceship to accelerate by using the ‘up’ arrow key. Also show the rocket fuel when the thrust happens. When the spaceship goes out of the screen, wrap it around on the opposite side of the screen. Also set the maximum speed for the spaceship.
What’s next?
Firing, Accelerating, and Rotating Spaceship
Rotating Spaceship
Draw a similar spaceship as in the Asteroids game. Use Turtle’s keyboard event to rotate the spaceship left or right.
What’s Next?
Accelerating and Rotating Spaceship
Game of Snake with Python Turtle
Develop a Game of Snake with Python Turtle with multiple difficulty levels.
You may need to use features or libraries: List, Random, Keyboard Event, Timer Event, Colorsys.
Capture The Flags Game
In this Python Turtle project, you are going to develop a simple game. In this game, you create 11 flags in random positions. The player will control an emoji by keyboard to collect as many flags as possible before the timer expires.
To be able to finish this project, you need to know the basics of animation, timer and keyboard events in Turtle. You will also need to know list in Python and how to display unicode characters.
Check out animation of this project here: