Azzet is a simple library I created awhile back but finally decided to put it up on GitHub.
https://github.com/ClickerMonkey/azzetIt is an asset loading framework where you can pull assets from various sources in various formats. You can add your own formats and sources if you want.
Code Example:
1 2 3 4 5
| BufferedImage img = Assets.load("http://www.google.com/logos/classicplus.png"); Font fnt = Assets.load("myfont.ttf", new FontInfo(32.0f)); Clip snd = Assets.load("C:\UserData\MyMusic.wav"); BufferedImage[] gif = Assets.loadFrom("mygif", "db"); Properties props = Assets.loadFrom("app.properties", "tcp"); |
Checkout the README for the link to examples, documentation, and downloads.
If you have any format requests (I was debating about adding a JOGL/LWJGL branch for Textures and Audio or something...) OR problems please let me know.
Let me know what you think!
Thanks