From 280552fa4750b5dac9243782f9c0a7e0b7eea6f8 Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 5 May 2023 09:25:39 +1000 Subject: Add a basic enemy. --- sprite.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'sprite.c') 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 } } }; -- cgit v1.2.3-54-g00ecf