-
Notifications
You must be signed in to change notification settings - Fork 3
/
dino_sprites.h
90 lines (86 loc) · 2.46 KB
/
dino_sprites.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#define DINO_SPRITE_WIDTH_BLOCK 3
#define DINO_SPRITE_HEIGHT 24
#define DINO_SPRITE_JUMPING_HEIGHT 27
#define DINO_CR_WIDTH 2
#define DINO_CR_HEIGHT 24
static char frame_1[] = {
0, 0, 0,
0, 0, 0,
0, 0, 0,
0b0000, 0b00000001, 0b11111110,
0b0000, 0b00000011, 0b01111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11100000,
0b0000, 0b00000011, 0b11111100,
0b1000, 0b00000111, 0b11000000,
0b1000, 0b00001111, 0b11000000,
0b1100, 0b00111111, 0b11110000,
0b1110, 0b01111111, 0b11010000,
0b1111, 0b11111111, 0b11000000,
0b1111, 0b11111111, 0b11000000,
0b0111, 0b11111111, 0b11000000,
0b0011, 0b11111111, 0b10000000,
0b0001, 0b11111111, 0b00000000,
0b0000, 0b11111110, 0b00000000,
0b0000, 0b01110011, 0b10000000,
0b0000, 0b01100000, 0b00000000,
0b0000, 0b01000000, 0b00000000,
0b0000, 0b01100000, 0b00000000
};
static char frame_2[] = {
0, 0, 0,
0, 0, 0,
0, 0, 0,
0b0000, 0b00000001, 0b11111110,
0b0000, 0b00000011, 0b01111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11100000,
0b0000, 0b00000011, 0b11111100,
0b1000, 0b00000111, 0b11000000,
0b1000, 0b00001111, 0b11000000,
0b1100, 0b00111111, 0b11110000,
0b1110, 0b01111111, 0b11010000,
0b1111, 0b11111111, 0b11000000,
0b1111, 0b11111111, 0b11000000,
0b0111, 0b11111111, 0b11000000,
0b0011, 0b11111111, 0b10000000,
0b0001, 0b11111111, 0b00000000,
0b0000, 0b11111110, 0b00000000,
0b0000, 0b01100110, 0b00000000,
0b0000, 0b00110010, 0b00000000,
0b0000, 0b00000010, 0b00000000,
0b0000, 0b00000011, 0b00000000
};
static char frame_3[] = {
0, 0, 0,
0, 0, 0,
0, 0, 0,
0b0000, 0b00000001, 0b11111110,
0b0000, 0b00000011, 0b01111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11111111,
0b0000, 0b00000011, 0b11100000,
0b0000, 0b00000011, 0b11111100,
0b1000, 0b00000111, 0b11000000,
0b1000, 0b00001111, 0b11000000,
0b1100, 0b00111111, 0b11110000,
0b1110, 0b01111111, 0b11010000,
0b1111, 0b11111111, 0b11000000,
0b1111, 0b11111111, 0b11000000,
0b0111, 0b11111111, 0b11000000,
0b0011, 0b11111111, 0b10000000,
0b0001, 0b11111111, 0b00000000,
0b0000, 0b11111110, 0b00000000,
0b0000, 0b01110110, 0b00000000,
0b0000, 0b01100010, 0b00000000,
0b0000, 0b01000010, 0b00000000,
0b0000, 0b01100011, 0b00000000,
0, 0, 0,
0, 0, 0,
0, 0, 0
};