Posts: 602
Threads: 27
Joined: Oct 2004
@nathan i'm planning on adding jpg and png support via libjpeg and libpng. maybe i'll add those today as i'm ahead of my univ. work schedule ( just a bit :p ).
@z!re i wouldn't know that yagl works with sdl :p. it might work with sdl_net and the like but you can not use sdl's graphics and input capablities with yagl
quote="NecrosIhsan"]
[/quote]
Posts: 6,419
Threads: 74
Joined: Mar 2002
Thanks both for the answers.
Is there any jpeg loading library that's been ported for fB? You know, I'm too lazy to port one myself.
Posts: 602
Threads: 27
Joined: Oct 2004
you can use devil or freeimage, i think there's also a libjpeg port however that's a bit more tedious. i mostly use devil for quick and easy image loading
quote="NecrosIhsan"]
[/quote]
Posts: 6,419
Threads: 74
Joined: Mar 2002
Thank you - I will try that.
I might have a nice text game with gfx... on the works. Sometime.
Posts: 602
Threads: 27
Joined: Oct 2004
neat :p, note that yagl has full truetype font support maybe you can use that. if you find an error or have a question you can find me on efnet at #badlogic
quote="NecrosIhsan"]
[/quote]
Posts: 6,419
Threads: 74
Joined: Mar 2002
Great, thanks. I was planning to use yagl. In fact, you read my mind
My next question was gonna be "Has the truetype support in yagl been wrapped to use it in fB?" :lol:
Thanks again.
Posts: 602
Threads: 27
Joined: Oct 2004
well now you got native png loading too :p just included it in the package. the png decoder can read 24-bit and 32-bit pngs. you can find the updated package here
http://ratatoskr.dragonhill.cc/public/pr...yaglfb.zip
http://ratatoskr.dragonhill.cc/public/pr...yaglfb.rar
quote="NecrosIhsan"]
[/quote]
Posts: 719
Threads: 42
Joined: Oct 2005
The png decoder go crashy-crashy.
\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
Posts: 602
Threads: 27
Joined: Oct 2004
oi i'm on it, copy and paste error, all this eiffel programming for univ. makes me go nuts... i'll update the package in a bit
quote="NecrosIhsan"]
[/quote]
Posts: 602
Threads: 27
Joined: Oct 2004
quote="NecrosIhsan"]
[/quote]