Bunny mark intial files added

Need to add data folder still.
This commit is contained in:
2024-10-07 20:15:20 +00:00
parent fab958c963
commit 8aa0e38486
3 changed files with 156 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#ifndef STATE_H
#define STATE_H
#include "twn_game_api.h"
#define MAX_BUNNIES 50000 // 50K bunnies limit
#define BUNNY_W 26
#define BUNNY_H 37
#define SPRITE_SCALE 1
typedef struct Bunny {
Vec2 position;
Vec2 speed;
Color color;
} Bunny;
typedef struct State {
Bunny bunnies[MAX_BUNNIES];
int bunniesCount;
InputState mouse_state;
} State;
#endif