SFML community forums
General => SFML projects => Topic started by: .teri on August 05, 2011, 01:02:47 am
-
There was an attempt to load resources using physfs... but without use the sf::InputStream. I wrote a module that load resources using the physfs library (https://legacy.sfmluploads.org/index.php?page=view_file&file_id=43).
Works well, at least for me. 2 things to bear in mind:
-You must initialize the physfs library and mount the paths.
-The class only opens the file for reading.
I hope that is useful. In fact anyone can write this module easily.
-
Hi
Why don't you put it on the wiki? :)
-
Hi
Why don't you put it on the wiki? :)
I wonder if must be in tutorial or projects.
-
If you just provide source code, it's a project.
If you write a complete tutorial about it, it's a tutorial ;)