Changes

Jump to navigation Jump to search
113 bytes added ,  03:16, 28 March 2014
Line 111: Line 111:  
*44 pantalla.blit(texto, ((x / 2) - (x / 10), (y / 2) - (y / 10))) #the location on the screen
 
*44 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.
+
Read the documentation at pygame.org, there are lots of exciting things to try. For example, change line 44 to:
 +
 
 +
  pantalla.blit(texto, pygame.mouse.get_pos())
 +
 
 +
the text will follow the mouse.
    
===Going further===
 
===Going further===
2,486

edits

Navigation menu