Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python Course - Doing Flappy Bird Game with Turtle Module
Rating: 4.4 out of 5(9 ratings)
2,034 students

Python Course - Doing Flappy Bird Game with Turtle Module

Flappy Bird Game with Python Turtle Module, Python Game Development
Last updated 8/2022
English
English [Auto],

What you'll learn

  • You will be able to do games by using Turtle Module.
  • Can use "Class" to make projects.
  • Learn how to write your own Python programs.
  • Be confident in your Python programming abilities and knowledge so that you may apply for Python programming jobs.
  • Use Python to make your daily life easier.
  • You will learn Turtle Module very well.

Course content

1 section14 lectures1h 49m total length
  • Screen Setup2:20

    Set up a turtle screen for the game by creating a screen object, sizing it to 800 by 600, and using a white background with exit on click.

  • Create Player8:27

    Create a player class that inherits from turtle, define its initialization, and manage drawing and movement. Use a game loop with gravity and walls, handling collisions to end the game.

  • Control Turtle with keypress4:14

    Bind a jump function to a key press, such as space, to make the turtle rise. Start adding randomly generated walls for a Flappy Bird-style game.

  • Creating Walls16:48

    Learn how to create and arrange walls for a turtle-based Flappy Bird game using a wall crater class, turtle, and coordinate math to set width, length, spacing, and motion.

  • Use "Tracer" and "Update" method2:25

    Learn to use turtle tracer(0) and the update method to control when walls appear and move toward the player in a Python Flappy Bird game.

  • Create Walls radomly6:51

    Learn to generate random vertical gaps for walls in a turtle-based flappy bird game by selecting a random y coordinate between -400 and -100 and spacing walls 500 units apart.

  • Make the wall move left side7:19

    Create and manage multiple walls in a turtle game, add new walls to a list, and move them left using a move function with adjustable speed.

  • Create many walls7:05

    Create many walls with random x coordinates using turtle, refresh to generate new walls, track the last wall's x coordinate for interval placement, and plan random colors later.

  • Change wall color randomly6:44

    Change the wall colors in the turtle-based Flappy Bird game by using random RGB values with color mode 255, creating varied visuals.

  • Detect Collision18:24

    Learn how to detect collision between the player turtle and walls by checking x and y coordinates, wall bounds, and conditional logic, stopping the game and planning a scoreboard.

  • Show the Score17:55

    Create a Python turtle scoreboard for a Flappy Bird game using a Scoreboard class with inheritance and positioning. Update and clear the score as walls pass, then show game over.

  • Create GAME OVER text3:12

    Display the game over text at the center of the screen in a turtle-based Flappy Bird game by defining a game_over function and triggering it on collision via if statements.

  • How to make turtle go up continously?2:35

    Learn to make the turtle rise continuously in a Flappy Bird style game by using space key press and hold events in Python turtle.

  • Convert the py files to exe file5:27

    Convert your Python turtle game into a single executable with pyinstaller. Copy the main files, set the main file name, and build a portable one-file exe to share.

Requirements

  • You should know the basic Python knowledge.

Description

Python is a programming language that is intended for both total beginners who have never coded before and experienced programmers who wish to broaden their career choices by learning Python. Python is, in reality, one of the most widely used programming languages in the world, with major corporations such as Google using it in mission-critical systems such as Google Search to great effect. Python, on the other hand, is the most popular programming language for machine learning, data science, and artificial intelligence. If you want to get one of those high-paying positions, you'll need to be an expert in Python, which is exactly what you'll learn from this course.

You will master the Turtle module with Python programming language in this course. Firstly, we will learn the basics about the Turtle module, then we will make Flappy Bird Game by using "Turtle Module". In this way, you will understand how the "class" work in Python.

Once you've completed the course, you'll be ready to submit applications with confidence for Python programming positions. And, sure, this is true even if you have never coded in your life before to now. You may become employable and useful in the eyes of future employers if you have the appropriate abilities, which you will acquire in this course and practice.

If you have any questions about this course, please contact me as soon as possible and I will respond to you the same day. With the help of this course, you will learn how to make your lives simpler by becoming familiar with the Python programming language. This will keep you motivated on a daily basis and prevent you from becoming bored while studying Python.

Who this course is for:

  • Who want to learn Turtle Module.
  • Who want to learn OOP very well.
  • Who want to learn Python in an effective way.
  • Who want to communicate with computer.
  • Who want to use Python skills to get better jobs.