From 11a3b4ae3f4830d533b45de027f4933520b74230 Mon Sep 17 00:00:00 2001 From: MNVallone Date: Wed, 2 Oct 2024 19:35:38 -0300 Subject: [PATCH] un commit --- main.wpgm | 8 +++++--- pepita.wlk | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/main.wpgm b/main.wpgm index 4337325..8329ade 100644 --- a/main.wpgm +++ b/main.wpgm @@ -4,13 +4,15 @@ import pepita.* program PepitaGame { game.title("Pepita") - game.height(10) - game.width(10) - game.cellSize(100) + game.height(18) + game.width(25) + game.cellSize(50) game.addVisual(pepita) keyboard.w().onPressDo({ pepita.fly(1) }) + + game.start() } diff --git a/pepita.wlk b/pepita.wlk index 8763973..74141a0 100644 --- a/pepita.wlk +++ b/pepita.wlk @@ -1,6 +1,6 @@ object pepita { var energy = 100 - const position = new MutablePosition(x=0, y=0) + const position = new MutablePosition(x=2, y=2) method image() = "golondrina.png" method position() = position