aboutsummaryrefslogtreecommitdiff
path: root/sprite.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-05 09:25:39 +1000
committerquou <quou@disroot.org>2023-05-05 09:25:39 +1000
commit280552fa4750b5dac9243782f9c0a7e0b7eea6f8 (patch)
tree6385dc740cc965dad7dc628e8b10738724ec0a42 /sprite.c
parent0a083f5a9a747083bbc3a1f0689e76ac5fc3a3b9 (diff)
Add a basic enemy.
Diffstat (limited to 'sprite.c')
-rw-r--r--sprite.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/sprite.c b/sprite.c
index 8289fd2..c14f717 100644
--- a/sprite.c
+++ b/sprite.c
@@ -20,6 +20,46 @@ static const Sprite sprites[] = {
{
asset_id_bullet,
{ 14, 14, 14, 9 }
+ },
+ /* sprite_skull_left */
+ {
+ asset_id_enemy,
+ { 16, 0, 16, 16 }
+ },
+ /* sprite_skull_right */
+ {
+ asset_id_enemy,
+ { 0, 0, 16, 16 }
+ },
+ /* sprite_skull_debris_1 */
+ {
+ asset_id_enemy,
+ { 32, 0, 5, 8 }
+ },
+ /* sprite_skull_debris_2 */
+ {
+ asset_id_enemy,
+ { 38, 0, 6, 6 }
+ },
+ /* sprite_skull_debris_3 */
+ {
+ asset_id_enemy,
+ { 32, 8, 5, 8 }
+ },
+ /* sprite_skull_debris_4 */
+ {
+ asset_id_enemy,
+ { 38, 11, 5, 5 }
+ },
+ /* sprite_skull_debris_5 */
+ {
+ asset_id_enemy,
+ { 44, 10, 3, 6 }
+ },
+ /* sprite_enemy_bullet */
+ {
+ asset_id_bullet,
+ { 18, 0, 5, 5 }
}
};