aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-15 22:48:44 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-15 22:48:44 +0100
commitbd0db15eaf467546207484008a70ea102f8100e7 (patch)
treef59a84dc1846605506f2aa11381a4c31f4d14930
parentffb12588e9af6435306a1cdfabc1bf67e8e33dfd (diff)
downloadgold-mine-run-bd0db15eaf467546207484008a70ea102f8100e7.tar.gz
gold-mine-run-bd0db15eaf467546207484008a70ea102f8100e7.zip
Change the order of rendering
The "READY?" should be on top.
-rw-r--r--src/game.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index 06cea08..609299f 100644
--- a/src/game.c
+++ b/src/game.c
@@ -257,11 +257,13 @@ next_stage:
wait_vsync();
blit_copy_all();
+ entities_sort();
+
blit_target(TARGET_SCREEN);
- put_text(136, 100, "READY?", 1);
+ wait_vsync();
- entities_sort();
entities_draw();
+ put_text(136, 100, "READY?", 1);
/* wait some time */
wait_frames(96);