aboutsummaryrefslogtreecommitdiff
path: root/dc/dc.c
diff options
context:
space:
mode:
Diffstat (limited to 'dc/dc.c')
-rw-r--r--dc/dc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/dc/dc.c b/dc/dc.c
index a654fbe..a532f0a 100644
--- a/dc/dc.c
+++ b/dc/dc.c
@@ -33,6 +33,18 @@ void tick(void)
)
);
+ ty_draw_image_ex(
+ img,
+ ty_recti(
+ 0, 0,
+ img.width, img.height
+ ),
+ ty_recti(
+ sin(-ty_get_time()) * 50, SCREEN_HEIGHT / 2,
+ 32, 64
+ )
+ );
+
ty_draw_image_rot(
img,
ty_vec2i(SCREEN_WIDTH/2, SCREEN_HEIGHT/2),