Añadidos los enemigos
This commit is contained in:
@@ -27,7 +27,7 @@ Player::Player(SDL_Renderer *renderer, Asset *asset, Input *input, Map *map)
|
||||
const SDL_Rect rect = {(int)x, (int)y, 16, 24};
|
||||
sprite->setPos(rect);
|
||||
sprite->setCurrentAnimation("stand");
|
||||
sprite->setFlip(SDL_FLIP_HORIZONTAL);
|
||||
sprite->setFlip(SDL_FLIP_NONE);
|
||||
|
||||
jumpStrenght = 2.0f;
|
||||
gravity = 0.3f;
|
||||
|
||||
Reference in New Issue
Block a user