Activities/Pilas: Difference between revisions

Tonyforster (talk | contribs)
Tonyforster (talk | contribs)
 
(6 intermediate revisions by the same user not shown)
Line 36: Line 36:
  mono.x = 100
  mono.x = 100
  mono.y = 100
  mono.y = 100
mono.z = 1                          //depth or drawing order
  mono.escala = 2                      //set scale
  mono.escala = 2                      //set scale
  mono.rotacion = 40                  //rotate 40 degrees
  mono.rotacion = 40                  //rotate 40 degrees
Line 48: Line 49:
  pilas.iniciar()                      //initialise the game engine
  pilas.iniciar()                      //initialise the game engine
  pilas.iniciar(gravedad=(0, 0))      //initialise and set gravity
  pilas.iniciar(gravedad=(0, 0))      //initialise and set gravity
  //with pilas.actores you can create
  //with pilas.actores you can create:
  //Mono Bomba Pingu Pelota Banana      Monkey Bomb Penguin Ball Banana
  //Mono Bomba Pingu Pelota Banana      Monkey Bomb Penguin Ball Banana
//Caja Tortuga Moneda Estrella        Box Turtle Money Star
//Nave Piedra                          Plane Rock
pilas.ejemplos.Piezas ()            //starts a demonstration game


There is much more, read the Spanish. [http://www.pilas-engine.com.ar/]
There is much more, read the Spanish documentation. [http://www.pilas-engine.com.ar/]


==Status==
==Status==
Line 98: Line 102:
This is not working, help please!
This is not working, help please!


<s>
Pippy:
Pippy:
  import sys
  import sys
Line 112: Line 117:
In Terminal type  
In Terminal type  
  python myprogram.py
  python myprogram.py
</s>