User prompt
haz que a lo que llege a los 300 segundos, gane el juego y aparezca su score tambien
User prompt
haz que cada 10 segundo se sume 1 de score
User prompt
y haz que cada 10 segundos aparezcan mas moneditas cada segundo
User prompt
haz que cada 10 segundos, monedita se mueva mas rapido
User prompt
Please fix the bug: 'LK.saveGame is not a function' in or related to this line: 'return child instanceof Monedita;' Line Number: 87
User prompt
Please fix the bug: 'fueguito is not defined' in or related to this line: 'LK.saveGame({' Line Number: 66
User prompt
Please fix the bug: 'fueguito is not defined' in or related to this line: 'LK.saveGame({' Line Number: 66
User prompt
guarda el juego
User prompt
cuando asset fueguito toque al asset monedita, pierda el juego
User prompt
haz que cuando el bullet haga desaparecer a monedita, el desaparezca tambien
User prompt
haz que cuando el asset monedita toque el asset bullet, el asset monedita desaparese
User prompt
haz que cuando se toque el mouse, lanze un asset bullet y va para arriba hasta que despaparezca
User prompt
haz que cuando el asset fueguito toque el asset monedita, pierdas el juego
User prompt
haz que el asset fueguito le siga al mouse
User prompt
haz que cada segundo aparezca el asset Monedita y baje hasta el piso y desaparezca
User prompt
haz el background blanco
User prompt
mas grande
User prompt
necesito hacer que aparesca el asset fueguito
User prompt
quiero quitar el codigo
Initial prompt
MoneditaFueguitoXD
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});
/****
* Game Code
****/
// Create an instance of the 'fueguito' asset and increase its size
var fueguito = LK.getAsset('fueguito', {
anchorX: 0.5,
anchorY: 0.5,
x: 1024,
y: 1366,
scaleX: 2,
scaleY: 2
});
// Add the 'fueguito' asset to the game
game.addChild(fueguito); ===================================================================
--- original.js
+++ change.js
@@ -7,13 +7,15 @@
/****
* Game Code
****/
-// Create an instance of the 'fueguito' asset
+// Create an instance of the 'fueguito' asset and increase its size
var fueguito = LK.getAsset('fueguito', {
anchorX: 0.5,
anchorY: 0.5,
x: 1024,
- y: 1366
+ y: 1366,
+ scaleX: 2,
+ scaleY: 2
});
// Add the 'fueguito' asset to the game
game.addChild(fueguito);
\ No newline at end of file