forked from jaildesigner-jailgames/jaildoctors_dilemma
Creando tiles y escenarios
This commit is contained in:
@@ -24,10 +24,10 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Asset *asset, Input *input, D
|
||||
// currentRoom = "06.room";
|
||||
// spawnPoint = {14 * 8, 9 * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
|
||||
|
||||
// currentRoom = "60.room";
|
||||
// const int x = 16;
|
||||
// const int y = 13;
|
||||
// spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
|
||||
currentRoom = "57.room";
|
||||
const int x = 30;
|
||||
const int y = 13;
|
||||
spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
|
||||
// ****
|
||||
|
||||
// Crea los objetos
|
||||
@@ -390,7 +390,7 @@ void Game::killPlayer()
|
||||
return;
|
||||
}
|
||||
|
||||
board.lives--;
|
||||
//board.lives--;
|
||||
|
||||
// Destruye la habitacion y el jugador
|
||||
delete room;
|
||||
|
||||
Reference in New Issue
Block a user