Embedding images in your Raylib game, using ExportImageAsCode
Вставка
- Опубліковано 26 сер 2024
- A short tutorial on how to use ExportImageAsCode to embed images directly into your game exe.
www.raylib.com/
/ discord
Example Code
github.com/ray...
Setting up a raylib game in two steps
github.com/ray...
You my friend are a GOD. These tutes are all the things I've wanted to do with Raylib (making my 1st project with it and hitting these kind of walls!)
shooty boom boom thank you for these tutorials!
Thanks !
I managed to embed an sound/wav too :)
3:18 C frustration
where you able to do this??
I do not know.@@dash7405
Good stuff. This is exactly what I was looking for so I've subscribed. Is it also possible to import audio files into the binary?
Yes, you would use ExportWaveAsCode, and the same process for audio.
Can 3d models be embedded too? I see there's a function called ExportDataAsCode but I can't find any examples of it being used with a model
how is this vid made exactly when i need it?
how do i run premake for c++ the file doesn't show up when i run it
as long as the file is named .cpp it should show up after you run the premake command or batch file.
thank you, it works now
Went from 500kb to 3 mb .exe 😭