aboutsummaryrefslogtreecommitdiff
path: root/dc/dc.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-14 21:11:21 -0400
committeriamcheeseman <[email protected]>2026-05-14 21:11:21 -0400
commit27202a3c293f4b4d5a2cd88171c7e00860c4b1d1 (patch)
tree180d507643a1d3bfe4764b5bb34b560a57bd60b0 /dc/dc.c
parented4f96cc6df493480596074dcc18043fe7b35d38 (diff)
fix rotated sprites
Diffstat (limited to 'dc/dc.c')
-rw-r--r--dc/dc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dc/dc.c b/dc/dc.c
index fb640bb..a654fbe 100644
--- a/dc/dc.c
+++ b/dc/dc.c
@@ -37,8 +37,7 @@ void tick(void)
img,
ty_vec2i(SCREEN_WIDTH/2, SCREEN_HEIGHT/2),
ty_vec2i(-img.width/2, -img.height/2),
- TY_PI / 4
- //ty_get_time()
+ ty_get_time() * TY_PI / 2
);
ty_draw_text(&font, ty_vec2i(5, SCREEN_HEIGHT - 5 - 8), "hello, world!");