Changes

Jump to navigation Jump to search
296 bytes added ,  08:04, 10 April 2012
Line 68: Line 68:  
Link to Spanish [http://readthedocs.org/docs/pilas/en/latest/empezando.html]
 
Link to Spanish [http://readthedocs.org/docs/pilas/en/latest/empezando.html]
   −
  mono.sonreir()   //monkey smile
+
  mono.sonreir()             //monkey smile
  mono.gritar()   //monkey shout
+
  mono.gritar()               //monkey shout
 
  mono.decir("Hello World!")
 
  mono.decir("Hello World!")
 
  mono.x = 100
 
  mono.x = 100
 
  mono.y = 100
 
  mono.y = 100
  mono.escala = 2   //set scale
+
  mono.escala = 2             //set scale
 +
mono.rotacion = 40          //rotate 40 degrees
 +
mono.rotacion = [360]      // the [] means animate
 +
mono.x = [-200, 200]        //animate horizontally
 +
mono.x = [-200, 200] * 5    //go side to side 5 times
 +
mono.x = [-200, 200], 10    //animate over 10 seconds
2,486

edits

Navigation menu