Arreglado un fallo en el salto al cambiar de pantalla hacia arriba

This commit is contained in:
2022-07-14 19:17:31 +02:00
parent 446dc9941f
commit 01d96ec1ce
12 changed files with 117 additions and 47 deletions

View File

@@ -4,8 +4,8 @@
Game::Game(SDL_Window *window, SDL_Renderer *renderer, Asset *asset, Lang *lang, Input *input)
{
// Inicia variables
mCurrentRoom = "01.room";
mSpawnPoint = {2 * 8, 12 * 8, 0, 0, 0, STATUS_STANDING, SDL_FLIP_NONE};
mCurrentRoom = "02.room";
mSpawnPoint = {2 * BLOCK, 12 * BLOCK, 0, 0, 0, STATUS_STANDING, SDL_FLIP_NONE};
mDebug = false;
// Copia los punteros