Ya detecta las plataformas móviles bajo los pies

This commit is contained in:
2022-08-26 20:41:48 +02:00
parent 5ff62a6950
commit dda1e049c6
9 changed files with 122 additions and 18 deletions

View File

@@ -74,6 +74,9 @@ bool checkCollision(circle_t &a, SDL_Rect &b);
// Detector de colisiones entre un dos rectangulos
bool checkCollision(SDL_Rect &a, SDL_Rect &b);
// Detector de colisiones entre un punto y u rectangulo
bool checkCollision(SDL_Point &p, SDL_Rect &r);
// Carga un archivo de imagen en una textura
bool loadTextureFromFile(LTexture *texture, std::string path, SDL_Renderer *renderer);