Replies: 2 comments
-
Hi @oakmill, resource files should be next to the compiled executable. For example, raylib examples also include the resources directory in the same directory as the source code but it depends on every project organization. Sometimes resources/assets are placed in a separate folder, just in the directory where the executable will be generated on compilation. In the case of that specific asset, it can be found in raylib textures examples: /~https://github.com/raysan5/raylib/tree/master/examples/textures/resources |
Beta Was this translation helpful? Give feedback.
0 replies
-
hi ray,
thank you, i got it.
oakmill
Ray ***@***.***> 於 2021年8月8日 週日 下午12:34寫道:
… Hi @oakmill </~https://github.com/oakmill>, resource files should be next
to the compiled executable. For example, raylib examples also include the
resources directory in the same directory as the source code but it depends
on every project organization. Sometimes resources/assets are placed in a
separate folder, just in the directory where the executable will be
generated on compilation.
In the case of that specific asset, it can be found in raylib textures
examples:
/~https://github.com/raysan5/raylib/tree/master/examples/textures/resources
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1908 (comment)>,
or unsubscribe
</~https://github.com/notifications/unsubscribe-auth/ASYF52T62EMKFN3Y2KPZQE3T33L4BANCNFSM5BYY777A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am new in raylib, when i tried to run examples from raylib webpage,
i noticed it need resource file in order to compile. for example
(LoadTexture("resources/cyberpunk_street_background.png"))
my question is where can i locate those resource files.
thank you for your attention
oakmill
Beta Was this translation helpful? Give feedback.
All reactions