From 0e533fd2675af9abb1ef2883102e598dd44920be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pol=20Mart=C3=ADnez?= <118733255+polmarrod@users.noreply.github.com> Date: Wed, 13 Dec 2023 08:02:37 +0100 Subject: [PATCH] release no se crea se vuelve a crear --- images.g.ts | 4 ++-- main.py | 1 + main.ts | 1 + tilemap.g.ts | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/images.g.ts b/images.g.ts index 390d87f..923ddc0 100644 --- a/images.g.ts +++ b/images.g.ts @@ -1,4 +1,4 @@ -// Auto-generated code. Do not edit. +// Código generado automáticamente. No editar. namespace myImages { helpers._registerFactory("image", function(name: string) { @@ -1332,4 +1332,4 @@ f f f f f f f f f f f f f f f f }) } -// Auto-generated code. Do not edit. +// Código generado automáticamente. No editar. diff --git a/main.py b/main.py index 4487194..6495b61 100644 --- a/main.py +++ b/main.py @@ -418,6 +418,7 @@ def deathMario(): sprites.destroy_all_sprites_of_kind(SpriteKind.Shroom) sprites.destroy_all_sprites_of_kind(SpriteKind.Turtle) sprites.destroy_all_sprites_of_kind(SpriteKind.Shell) + marioLevel.set_image(assets.image("""mario_right""")) marioLevel.vy = 0 marioLevel.ay = 350 controller.move_sprite(marioLevel,100,0) diff --git a/main.ts b/main.ts index b9e01a0..d498a22 100644 --- a/main.ts +++ b/main.ts @@ -447,6 +447,7 @@ function deathMario() { sprites.destroyAllSpritesOfKind(SpriteKind.Shroom) sprites.destroyAllSpritesOfKind(SpriteKind.Turtle) sprites.destroyAllSpritesOfKind(SpriteKind.Shell) + marioLevel.setImage(assets.image`mario_right`) marioLevel.vy = 0 marioLevel.ay = 350 controller.moveSprite(marioLevel, 100, 0) diff --git a/tilemap.g.ts b/tilemap.g.ts index f695221..2b1460a 100644 --- a/tilemap.g.ts +++ b/tilemap.g.ts @@ -1,4 +1,4 @@ -// Auto-generated code. Do not edit. +// Código generado automáticamente. No editar. namespace myTiles { //% fixedInstance jres blockIdentity=images._tile export const transparency16 = image.ofBuffer(hex``); @@ -293,4 +293,4 @@ namespace myTiles { }) } -// Auto-generated code. Do not edit. +// Código generado automáticamente. No editar.