
当我还是个孩子的时候,我曾经玩过很多小行星,这是一个简单的街机游戏,你的太空船绕着一堆小行星运行。在游戏中,您必须四处移动您的太空船以避免撞到它们,或者使用太空船上的激光摧毁它们。每当我玩它时,我都很开心。
在本课程中,您将学习如何使用 Python 编程语言制作 Asteroids 游戏。您不需要任何 Python 的高级知识,也不需要任何面向对象的编程知识,这是一门初学者课程。只需要基本的 Python 知识,如函数和循环。
本课程将向您介绍 PyGame,一个游戏编程库。您将学习如何加载和显示图像、如何创建动画、如何创建游戏、如何添加文本等等。在本课程结束时,您将拥有一个使用 Python 编程语言制作的完整小行星游戏。
该课程包括所有代码示例和图形,因此您可以按照每个步骤进行操作。如果你想用 Python 制作游戏,你还在等什么?今天注册,我会在课程中见到你。
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 16 lectures (1h 1m) | Size: 644.1 MB
PyGame for total beginners
What you’ll learn:
Basics of PyGame
Load and display images
Handle keyboard input
Game loop
How to make the Asteroids game
Requirements
Basic Python knowledge (no OOP required)
Description
When I was a kid, I used to play a lot of Asteroids, a simple arcade game where your space ship was orbiting around a bunch of asteroids. In the game you had to move your space ship around to avoid crashing into them or get onto them to destroy them with the lasers on the space ship. Whenever I played it I had fun.
In this course you will learn how to make the Asteroids game with the Python programming language. You don’t need any advanced knowledge of Python nor any object orientated programming knowledge, it’s a beginners course. Only basic Python knowledge is required like functions and loops.
The course will introduce you to PyGame, a game programming library. You will learn how to load and display images, how to create animations, how to create game play, how to add text and so on. By the end of this course, you will have a complete asteroids game made with the Python programming language.
The course includes all the code examples and graphics so you can follow along with each step. If you want to make games with Python, what are you waiting for? Enroll today and I’ll see you inside the course.
Who this course is for
Python beginners that want to learn PyGame
原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/19263.html