Corregido un bug con las colisiones entre un punto y una linea diagonal
This commit is contained in:
@@ -15,9 +15,15 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Asset *asset, Input *input, D
|
||||
this->input = input;
|
||||
this->debug = debug;
|
||||
|
||||
// this->debug->setEnabled(true);
|
||||
// ****
|
||||
this->debug->setEnabled(true);
|
||||
|
||||
currentRoom = "11.room";
|
||||
spawnPoint = {2 * 8, 5 * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
|
||||
|
||||
// currentRoom = "06.room";
|
||||
// spawnPoint = {240, 96, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
|
||||
// spawnPoint = {14 * 8, 9 * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
|
||||
// ****
|
||||
|
||||
// Crea los objetos
|
||||
scoreboard = new ScoreBoard(renderer, asset, &board);
|
||||
|
||||
Reference in New Issue
Block a user