aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2025-04-11 21:17:07 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2025-04-11 21:17:07 +0200
commita6bc7a7697ac4745d9f724811cecfafb98b9f209 (patch)
tree7feef2a3b4a537591a6690965ef702ff3e9cc82f /content
parent62f954cf1afc8bfc17ef3622154f3ec025a1b69e (diff)
downloadmitjafelicijan.com-a6bc7a7697ac4745d9f724811cecfafb98b9f209.tar.gz
Update
Diffstat (limited to 'content')
-rw-r--r--content/posts/2025-04-08-embedding-game-assets-within-your-binary.md (renamed from content/notes/2025-04-08-embedding-game-assets-within-your-binary.md)16
1 files changed, 2 insertions, 14 deletions
diff --git a/content/notes/2025-04-08-embedding-game-assets-within-your-binary.md b/content/posts/2025-04-08-embedding-game-assets-within-your-binary.md
index 70f5d0f..c3aa8bf 100644
--- a/content/notes/2025-04-08-embedding-game-assets-within-your-binary.md
+++ b/content/posts/2025-04-08-embedding-game-assets-within-your-binary.md
@@ -2,9 +2,9 @@
2title: Embedding game assets within your executable binary 2title: Embedding game assets within your executable binary
3url: embedding-game-assets-within-your-binary.html 3url: embedding-game-assets-within-your-binary.html
4date: 2025-04-08T16:13:13+02:00 4date: 2025-04-08T16:13:13+02:00
5type: note 5type: post
6draft: false 6draft: false
7tags: [gamedev] 7tags: []
8--- 8---
9 9
10## Why? 10## Why?
@@ -50,18 +50,6 @@ We first need to setup main game loop and get the game running.
50#include "raylib.h" 50#include "raylib.h"
51 51
52int main(void) { 52int main(void) {
53 SetConfigFlags(FLAG_WINDOW_RESIZABLE | FLAG_VSYNC_HINT | FLAG_WINDOW_HIGHDPI);
54 InitWindow(900, 400, "Embedding assets");
55 SetTargetFPS(60);
56
57 while (!WindowShouldClose()) {
58 BeginDrawing();
59 ClearBackground(BLACK);
60 EndDrawing();
61 }
62
63 CloseWindow();
64 return 0;
65} 53}
66``` 54```
67 55