Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+4 votes

At the end of my game text pops up and says You win (or you lose). How do I get it so my text moves across the screen?

asked in CSC201 Spring 2021 by (1 point)

1 Answer

+2 votes
 
Best answer

Let's assume you assigned the Text object to a variable:

endGameText = Text(...)

Then you can call

endGameText.move(dx,dy)

Repeatedly in a loop, with time.sleep(...) between each move...

answered by (3.2k points)
selected by
...