From a5adf1ba018115692b4586f43cae1b23918d932f Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Tue, 4 Oct 2022 19:11:31 +0200 Subject: [PATCH] La maquina de cafe no toca el suelo --- source/game.cpp | 2 -- source/item.cpp | 4 ++-- todo.txt | 6 ++++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/game.cpp b/source/game.cpp index ed53921..563b49e 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -2814,8 +2814,6 @@ void Game::render() renderFlashEffect(); - mText->write(0, 0, std::to_string(balloons.size())); - // Pinta la informacion de debug renderDebugInfo(); diff --git a/source/item.cpp b/source/item.cpp index 2a9c675..bab95ba 100644 --- a/source/item.cpp +++ b/source/item.cpp @@ -53,8 +53,8 @@ Item::Item(SDL_Renderer *renderer, Asset *asset, Uint8 type, float x, float y) if (type == ITEM_COFFEE_MACHINE) { - width = 32; - height = 32; + width = 23; + height = 29; posX = (((int)x + (PLAY_AREA_WIDTH / 2)) % (PLAY_AREA_WIDTH - width - 5)) + 2; posY = PLAY_AREA_TOP - height; velX = 0.0f; diff --git a/todo.txt b/todo.txt index 77a3f41..d402d62 100644 --- a/todo.txt +++ b/todo.txt @@ -1,5 +1,5 @@ los items se quedan pegados en el techo -la maquina de cafe no toca el suelo +x la maquina de cafe no toca el suelo las bolas verdes nacen naranja al explotarlas falta el aura de superguerrero al pillar la maquina de cafe x la powerball deja la mascara al explotarlas @@ -12,4 +12,6 @@ que cicle la musica en el titulo, demo, instrucciones que guarde el progreso del juego que aumente la velocidad de las nubes conforme avanzas retocar un poco la distancia entre los cambios de color del cielo, se llega al oscuro muy pronto -las balas deberian llegar a salir de la pantalla \ No newline at end of file +x las balas deberian llegar a salir de la pantalla +hacer desaparecer los accesos a disco en el juego. cargar todos los recursos previamente y pasarlos por punteros +la powerball nace rodando \ No newline at end of file