O
O
OccamaRazor2017-04-07 12:46:02
Python
OccamaRazor, 2017-04-07 12:46:02

Loop to display shapes, why don't the coordinates change in the loop?

All 16 shapes are displayed in the upper left corner. Although the loop sets different coordinates on each pass, why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sly_tom_cat ., 2017-04-07
@OccamaRazor

You need to first learn the pygame.sprite class and learn how to correctly position the sprite
https://www.pygame.org/docs/ref/sprite.html#pygame...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question