Skip to content

Commit

Permalink
Update raylib_game.c
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Oct 21, 2024
1 parent dd93012 commit 193d281
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/raylib_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 193d281

Please sign in to comment.