Explain "sprites" in pygame python | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Explain "sprites" in pygame python

What are sprites used for and how

26th Apr 2021, 3:51 AM
Joachim Bharathi
Joachim Bharathi - avatar
2 Respostas
+ 2
Joachim Bharathi It is used when the object is first created to initalise the main properties of the object (e.g. its x and y position, dimensions, colour, etc.) class Car(pygame. sprite. ... # Fetch the rectangle object that has the dimensions of the image.
27th Apr 2021, 10:41 PM
ā¤ļøšŸ˜PreranašŸ˜ā¤ļø
ā¤ļøšŸ˜PreranašŸ˜ā¤ļø - avatar
0
thanks. Mirielle
27th Apr 2021, 1:17 PM
Joachim Bharathi
Joachim Bharathi - avatar