Files
demo5_sprites_bouncing/source/defines.h
Sergio Valor 36cb6154d7 Primer commit
la pilota no deixa de botar mai
2024-08-21 10:42:37 +02:00

12 lines
160 B
C

#pragma once
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
#define BALL_SIZE 8
#define GRAVITY 0.2f
#define LOSS 0.75f
struct color_t
{
int r,g,b;
};