diff options
| author | victorfisac <[email protected]> | 2016-10-06 20:57:31 +0200 |
|---|---|---|
| committer | victorfisac <[email protected]> | 2016-10-06 20:57:31 +0200 |
| commit | 2a158c47955d2d849e939152e0c174b02c500104 (patch) | |
| tree | fbf515597add99255f0e980d7a12ea33a3aa5585 /tools/rREM/README.txt | |
| parent | 3e1321ac24743cf3df1c2bb923023f9c222aa250 (diff) | |
| parent | db6538859cd2fabb44f1f29cd87f5b498ca0c2c8 (diff) | |
| download | raylib-2a158c47955d2d849e939152e0c174b02c500104.tar.gz raylib-2a158c47955d2d849e939152e0c174b02c500104.zip | |
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'tools/rREM/README.txt')
| -rw-r--r-- | tools/rREM/README.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/rREM/README.txt b/tools/rREM/README.txt new file mode 100644 index 00000000..58bc4f0a --- /dev/null +++ b/tools/rREM/README.txt @@ -0,0 +1,30 @@ +/********************************************************************************************** +* +* rREM - raylib Resource Embedder 1.0.0 (alpha) +* +* Tool to embed resources (images, text, sounds, models...) into a rRES file. +* +* Copyright 2014 Ramon Santamaria. All rights reserved. +* +***********************************************************************************************/ + +rrem creates a .rres resource with embedded files and a .h header to access embedded data + +Usage example: + +1) Create 'resources.rres' and 'resources.h' including 3 files: + + rrem image01.png image02.jpg sound03.wav + +2) In your raylib program, just add at top: + + #include "resources.h" + +3) When a resource is required, just load it using: + + Texture2D mytex = LoadTextureFromRES("resources.rres", RES_image01); + Sound mysound = LoadSoundFromRES("resources.rres", RES_sound03); + +Note that you can check resources id names in resources.h file + +Have fun! :)
\ No newline at end of file |
