Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Activities/Pilas
(view source)
Revision as of 21:09, 21 April 2012
268 bytes added
,
21:09, 21 April 2012
→Running Pilas from Pippy or Terminal
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>
Tonyforster
2,486
edits