Computer Science, asked by mesumit2110, 6 months ago

Which of the following functions manages key mapping on pygame?

Answers

Answered by rutbajan
0

Explanation:

In the first article in this series, I explained how to use Python to create a simple, text-based dice game. In the second part, you began building a game from scratch, starting with creating the game's environment. And in the third installment, you created a player sprite and made it spawn in your (rather empty) game world. As you've probably noticed, a game isn't much fun when you can't move your character around. In this article, you'll use Pygame to add keyboard controls so you can direct your character's movement.

There are functions in Pygame to add other kinds of controls (such as a mouse or game controller), but since you certainly have a keyboard if you're typing out Python code, that's what this article covers. Once you understand keyboard controls, you can explore other options on your own.

plzz Mark me Brainlist

Similar questions
Math, 11 months ago