Mejorar aspecto visual y configurar filtro nearest neighbor

- Cambiar tamaño de pelota de 8x8 a 10x10 píxeles
- Aclarar color de fondo de (32,32,32) a (64,64,64)
- Redibujar textura ball.png con mejor definición
- Implementar filtro nearest neighbor para texturas píxel-perfect
- Actualizar README.md con documentación completa del proyecto

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-15 08:25:18 +02:00
parent dd73ca3514
commit bd40109f57
5 changed files with 5 additions and 2 deletions
+3
View File
@@ -79,6 +79,9 @@ bool Texture::loadFromFile(const std::string &file_path)
// Obtiene las dimensiones de la imagen
width_ = loaded_surface->w;
height_ = loaded_surface->h;
// Configurar filtro nearest neighbor para píxel perfect
SDL_SetTextureScaleMode(new_texture, SDL_SCALEMODE_NEAREST);
}
// Destruye la superficie cargada