Trabajando en la clase screen. Ya pone borde en la pantalla

This commit is contained in:
2021-09-08 23:12:08 +02:00
parent 726a1b3064
commit 850b4e2a12
6 changed files with 53 additions and 11 deletions

View File

@@ -15,12 +15,16 @@
#define HALF_BLOCK 4
// Tamaño de la pantalla real
#define REAL_SCREEN_WIDTH 320
#define REAL_SCREEN_HEIGHT 240
// Tamaño de la pantalla virtual
#define SCREEN_WIDTH 256
#define SCREEN_HEIGHT 192
// Tamaño de la pantalla que se muestra
const int VIEW_WIDTH = SCREEN_WIDTH * 3;
const int VIEW_HEIGHT = SCREEN_HEIGHT * 3;
const int VIEW_WIDTH = REAL_SCREEN_WIDTH * 3;
const int VIEW_HEIGHT = REAL_SCREEN_HEIGHT * 3;
// Zona de juego
const int PLAY_AREA_TOP = (0 * BLOCK);