test/snake/snake.c

changeset 158
f650994ec543
parent 156
bd15eeaa88c0
equal deleted inserted replaced
157:d6c2f028d8c9 158:f650994ec543
197 create_spaceship(); 197 create_spaceship();
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 ); 204 );
204 205
205 // Main Loop 206 // Main Loop
206 do { 207 do {
207 // quit application on any error 208 // quit application on any error

mercurial