From 193d281421e50b6c31cd6ce739b7e740b995cc94 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 21 Oct 2024 12:21:24 +0200 Subject: [PATCH] Update raylib_game.c --- src/raylib_game.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/raylib_game.c b/src/raylib_game.c index 2f35b08..fdf1c5f 100644 --- a/src/raylib_game.c +++ b/src/raylib_game.c @@ -49,8 +49,8 @@ typedef enum { //---------------------------------------------------------------------------------- // Global Variables Definition //---------------------------------------------------------------------------------- -static const int screenWidth = 1280; -static const int screenHeight = 720; +static const int screenWidth = 800; +static const int screenHeight = 450; static RenderTexture2D target = { 0 }; // Render texture to render our game @@ -125,7 +125,8 @@ void UpdateDrawFrame(void) ClearBackground(RAYWHITE); // TODO: Draw your game screen here - DrawRectangle(10, 10, screenWidth - 20, screenHeight - 20, SKYBLUE); + DrawText("Welcome to raylib NEXT gamejam!", 150, 140, 30, BLACK); + DrawRectangleLinesEx((Rectangle){ 0, 0, screenWidth, screenHeight }, 16, BLACK); EndTextureMode();