test/snake/snake.c

changeset 159
da7ebfcdd159
parent 158
f650994ec543
equal deleted inserted replaced
158:f650994ec543 159:da7ebfcdd159
198 198
199 // TODO: play around with the test rectangle 199 // TODO: play around with the test rectangle
200 asc_ink_rgb(255, 0, 0); 200 asc_ink_rgb(255, 0, 0);
201 asc_scene_add_node(MAIN_SCENE, 201 asc_scene_add_node(MAIN_SCENE,
202 asc_rectangle(.x = 200, .y = 250, .width = 100, .height = 75, 202 asc_rectangle(.x = 200, .y = 250, .width = 100, .height = 75,
203 .thickness = 4, .radius = 15) 203 .thickness = 4, .radius = 15, .filled = true, .border_color = asc_col4i_new(0, 255, 0, 255))
204 ); 204 );
205 205
206 // Main Loop 206 // Main Loop
207 do { 207 do {
208 // quit application on any error 208 // quit application on any error

mercurial