Skip to content

Conversation

@Yonokid
Copy link

@Yonokid Yonokid commented Oct 29, 2025

I have a particular problem of not being able to access my screenshots/gifs due to the working directory that my bindings use for raylib. I added a mediaPath to the Storage struct in rcore that defaults to the same as basePath (I can't be absolutely sure basePath isn't used for other things or may be used for other things in the future so I added a new attribute). Calling the function with a valid path will save all screenshots/gifs there.

@Yonokid Yonokid changed the title Add function SetMediaPath() for modifying the output directory for screenshots/gifs [rcore] Add function SetMediaPath() for modifying the output directory for screenshots/gifs Oct 29, 2025
@raysan5
Copy link
Owner

raysan5 commented Oct 29, 2025

@Yonokid I'm afraid I'm not adding a new function just for that, use TakeScreenshot() at user code instead.

@raysan5 raysan5 closed this Oct 29, 2025
@Yonokid
Copy link
Author

Yonokid commented Oct 29, 2025

That's ok, but there still isn't a way to modify the path of a gif recording...

@raysan5
Copy link
Owner

raysan5 commented Oct 29, 2025

@Yonokid Gif recording is being removed for next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants