Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
使用python制作你的第一个游戏 【Build Your First Game with Python】中文

使用python制作你的第一个游戏 【Build Your First Game with Python】中文

Learn Python programming from scratch by creating fun games with Pygame
Created by旭 王
Last updated 8/2026
Chinese (Simplified)

What you'll learn

  • Learn the fundamentals of Python programming, including variables, data types, conditions, loops, functions, and basic object-oriented programming.
  • Understand how to use Python to create interactive programs and solve simple programming problems.
  • Learn the basics of Pygame and how to create a 2D game with graphics, keyboard controls, and game logic.
  • Build a complete airplane shooting game project from scratch using Python and Pygame
  • Understand important game development concepts, including game loops, player movement, enemy movement, collision detection, and scoring systems.
  • Gain the confidence to continue learning Python and develop your own simple games and applications.

Course content

4 sections • 31 lectures • 9h 0m total length
  • python开发工具安装15:23

    python环境配置和开发工具安装

Requirements

  • No prior programming experience is required. This course is designed for complete beginners.
  • A computer with Windows, macOS, or Linux is required.
  • Students should have basic computer skills, such as installing software and managing files.
  • 需要有学习编程并制作自己游戏的兴趣和热情。

Description

本课程专为零基础学习者设计,通过学习 Python 基础知识,并使用 Pygame 完成一个完整的飞机大战游戏项目。

课程将从 Python 编程基础开始,包括变量、数据类型、条件判断、循环、函数、列表以及基础面向对象编程。学习过程中,学生将把所学知识应用到真实游戏开发中,逐步实现游戏窗口、飞机控制、子弹发射、敌机移动、碰撞检测和计分系统。

完成课程后,学生将掌握 Python 编程基础,并拥有一个自己制作的 2D 飞机大战游戏项目,为继续学习 Python 和游戏开发打下基础。

Python Programming for Beginners: Build Your First Game with Pygame

Have you ever wanted to learn programming and create your own game? This course is designed for complete beginners who want to start learning Python in a fun and practical way.

In this course, you will learn Python programming fundamentals step by step, including variables, data types, conditions, loops, functions, lists, and basic object-oriented programming concepts.

Instead of only learning programming theory, you will apply your knowledge by building a real 2D airplane shooting game using Pygame. You will learn how to create a game window, display images, control a player aircraft, create bullets, move enemies, detect collisions, and build a scoring system.

By the end of this course, you will have a complete Python game project that you can run, modify, and use as a foundation for creating your own games.

What you will learn:

  • Python programming basics from scratch

  • How to use Python to create interactive applications

  • The fundamentals of Pygame game development

  • How to build a 2D airplane shooting game step by step

  • Basic game programming concepts such as game loops, movement, collision detection, and scoring

This course is perfect for beginners, teenagers, and anyone who wants to learn coding by creating something fun and exciting.

No previous programming experience is required. All you need is a computer and the curiosity to start your programming journey.

Who this course is for:

  • Complete beginners who want to learn Python programming from scratch.
  • Students who are interested in creating their own games and want to learn programming through hands-on projects.
  • Kids, teenagers, and adults who have no previous coding experience but want to start their programming journey.
  • Anyone who wants to understand Python basics and build a simple 2D game using Pygame.
  • Beginner programmers who want to practice Python by creating a real-world project.