Learn Before
Concept
Surfaces in Pygame
You can think of a Surface as a blank piece of paper. There are plenty of methods you can call to draw on the Surface using graphics manipulation. This means altering pixel color values and their alphas. In order to actually make a game, you will have to decide which Surface you want to be your screen by calling a method on the Display (which handles the main game screen). You can only have one Surface as your screen. Additionally, all images must be displayed on a Surface.
0
1
Updated 2021-08-09
Tags
Python Programming Language
Data Science