Activities/Pilas: Difference between revisions

Tonyforster (talk | contribs)
Tonyforster (talk | contribs)
Line 66: Line 66:


==From the Pilas documentation in Spanish==
==From the Pilas documentation in Spanish==
Link to Spanish [http://readthedocs.org/docs/pilas/en/latest/empezando.html]
Link to Spanish doc [http://readthedocs.org/docs/pilas/en/latest/empezando.html]


  mono.sonreir()              //monkey smile
  mono.sonreir()              //monkey smile
Line 79: Line 79:
  mono.x = [-200, 200] * 5    //go side to side 5 times
  mono.x = [-200, 200] * 5    //go side to side 5 times
  mono.x = [-200, 200], 10    //animate over 10 seconds
  mono.x = [-200, 200], 10    //animate over 10 seconds
help(mono)
pilas.ver(mono)            //view source
mono.eliminar()            //delete monkey
mono = pilas.actores.Mono() //create monkey
There is much more, read the Spanish.