summaryrefslogtreecommitdiff
path: root/space_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'space_game.c')
-rw-r--r--space_game.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/space_game.c b/space_game.c
new file mode 100644
index 0000000..bbe51cd
--- /dev/null
+++ b/space_game.c
@@ -0,0 +1,21 @@
+#include <raylib.h>
+
+#define SCREEN_WIDTH 800
+#define SCREEN_HEIGHT 600
+
+int main()
+{
+ InitWindow(SCREEN_WIDTH, SCREEN_HEIGHT, "SPACE INVADERS");
+ SetTargetFPS(60);
+
+ while(!WindowShouldClose())
+ {
+ BeginDrawing();
+ ClearBackground(BLACK);
+
+ EndDrawing();
+ }
+
+ CloseWindow();
+ return 0;
+}