Activities/Develop: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) |
||
| Line 112: | Line 112: | ||
pantalla.blit(texto, ((x / 2) - (x / 10), (y / 2) - (y / 10))) #the location on the screen | pantalla.blit(texto, ((x / 2) - (x / 10), (y / 2) - (y / 10))) #the location on the screen | ||
Read the documentation at pygame.org, there are lots of exciting things to try. For example, change line | Read the documentation at pygame.org, there are lots of exciting things to try. For example, change the line that starts with pantalla.blit to: | ||
pantalla.blit(texto, pygame.mouse.get_pos()) | pantalla.blit(texto, pygame.mouse.get_pos()) | ||