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...

КОМЕНТАРІ • 15

  • @matthewvecchio
    @matthewvecchio Рік тому +3

    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!)

  • @iswhatheis
    @iswhatheis Рік тому +1

    shooty boom boom thank you for these tutorials!

  • @hidro5641
    @hidro5641 2 роки тому +2

    Thanks !

    • @hidro5641
      @hidro5641 2 роки тому

      I managed to embed an sound/wav too :)

  • @richiekho8938
    @richiekho8938 Рік тому +3

    3:18 C frustration

    • @dash7405
      @dash7405 10 місяців тому

      where you able to do this??

    • @richiekho8938
      @richiekho8938 9 місяців тому

      I do not know.@@dash7405

  • @Coopertronics
    @Coopertronics 2 роки тому +1

    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?

    • @gamedevtutorials2935
      @gamedevtutorials2935  2 роки тому

      Yes, you would use ExportWaveAsCode, and the same process for audio.

  • @wesenns
    @wesenns Рік тому

    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

  • @cracktoriogaming
    @cracktoriogaming 2 роки тому

    how is this vid made exactly when i need it?

  • @jesserenaud3919
    @jesserenaud3919 Рік тому

    how do i run premake for c++ the file doesn't show up when i run it

    • @gamedevtutorials2935
      @gamedevtutorials2935  Рік тому

      as long as the file is named .cpp it should show up after you run the premake command or batch file.

    • @jesserenaud3919
      @jesserenaud3919 Рік тому

      thank you, it works now

  • @fsForward
    @fsForward 3 місяці тому

    Went from 500kb to 3 mb .exe 😭