test/snake/snake.c

changeset 173
bd57fe3f6360
parent 165
590a9e822b6b
--- a/test/snake/snake.c	Tue Jul 01 00:00:50 2025 +0200
+++ b/test/snake/snake.c	Tue Jul 01 20:28:49 2025 +0200
@@ -194,41 +194,6 @@
     // create spaceship
     create_spaceship();
 
-    // TODO: play around with the test rectangles
-    asc_ink_rgb(255, 0, 0);
-    asc_scene_add_node(MAIN_SCENE,
-        asc_rectangle(.x = 200, .y = 250, .width = 100, .height = 75,
-            .thickness = 4, .radius = 15, .filled = true, .border_color = asc_col4i_new(0, 255, 0, 255))
-    );
-    asc_scene_add_node(MAIN_SCENE,
-    asc_rectangle(.x = 50, .y = 150, .width = 100, .height = 75,
-        .thickness = 4, .radius = 15, .filled = false, .border_color = asc_col4i_new(0, 255, 0, 255))
-    );
-    asc_scene_add_node(MAIN_SCENE,
-    asc_rectangle(.x = 50, .y = 25, .width = 100, .height = 75,
-        .thickness = 4, .filled = false, .border_color = asc_col4i_new(0, 255, 0, 255))
-    );
-    asc_scene_add_node(MAIN_SCENE,
-    asc_rectangle(.x = 250, .y = 25, .width = 100, .height = 75,
-        .thickness = 4, .filled = true, .border_color = asc_col4i_new(0, 255, 0, 255))
-    );
-    asc_scene_add_node(MAIN_SCENE,
-    asc_rectangle(.x = 350, .y = 250, .width = 100, .height = 75,
-        .radius = 15, .filled = true)
-    );
-    asc_scene_add_node(MAIN_SCENE,
-    asc_rectangle(.x = 350, .y = 50, .width = 100, .height = 75,
-        .filled = true)
-    );
-    asc_scene_add_node(MAIN_SCENE,
-    asc_rectangle(.x = 50, .y = 350, .width = 100, .height = 75,
-        .radius = 15)
-    );
-    asc_scene_add_node(MAIN_SCENE,
-    asc_rectangle(.x = 350, .y = 350, .width = 100, .height = 75)
-    );
-
-
     // Main Loop
     do {
         // quit application on any error

mercurial