Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activities/Develop
(view source)
Revision as of 04:59, 28 March 2014
32 bytes added
,
04:59, 28 March 2014
→Sugargame
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
44
to:
+
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())
Tonyforster
2,486
edits