Qbasicnews.com

Full Version: yagl - yet another game lib
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
over the last 3 weeks i was so bored that i couldn't help writting yet another game lib ( name provided by our beloved nek ). it features:

+ networking library
+ 2d gfx library based on lillo's gfxlib2
+ font library based on freetype
+ input library ( keyboard, mouse, multiple joysticks )
+ threading library ( native win32, posix )
+ 3d sfx library based on openal
+ plugable decoder system for the sfx module ( currently supported: ogg, wav, snd, au and a couple of other wavelet formats ) that means it's extendable easily by the library user ( the ogg decoder is 80 lines long.. )
+ memory leak detector ( written by Wu Yongwei )
+ crossplattoform ( win32, linux )

it is meant to be an alternative to sdl and i think it can already compete with it in many areas.

and here's the catch :p: it's written in c++. i could however write a c-wrapper around it if there's enough interest from the c/freebasic ppl. so just leave me a message if you are interested.

the source can be found here http://opensvn.csie.org/gamelibpp you can either browse the source in your browser or download it via an svn client ( tortoise svn for example ). the win32 make system is selfcontained, that is you don't need any extra libraries. all you need on win32 is mingw and having mingw/bin in your path. on linux you need a couple of additional dev libraries ( xlib-dev, openal-dev, libogg-dev, libsnd-dev, libfreetype-dev ) as it is good practice on linux :p

http://ratatoskr.dragonhill.cc/public/pr.../chess.rar this is an online chess variant i put together with the help of the gamelib ( though it was in it's babystage back then ).

opinions appreciated

Anonymous

ty for stealing the thing that basically put fb one step ahead?
Quote:ty for stealing the thing that basically put fb one step ahead?
What?
i thought that this would be a reaction. first of i was talking to lillo about it, he put it under lgpl he was a bit sad but fine with me including it in yagl. second i plan on exchanging the current fbgfxlib backend with ogl. if you'd have had a look at the sources you'd see that i too did some work..., third if i write a c wrapper around it i can give back a lot of things too. but unless somebody is wanting a port i won't go into the hazle and write a wrapper. i could have used sdl too but sdl is crap imo, the library's design is no where near the good design of the gfxlib and it's also slower than gfxlib in many situations. it also restricts you at some points and i generally dislike sdl so i had the choice of using tptc, allegro or the gfxlib. and the gfxlib won.

Anonymous

its ok... *sniff*

z1re doesnt get it? =P
Quote:
Cha0s Wrote:ty for stealing the thing that basically put fb one step ahead?
What?


FB was one step ahead because it had a chess game. Now, this guy made on for QB. and I program in QB, not FB and i get it Tongue
why sniff? first of all i don't think that anyone except me will use it, even if i go public with it. second i will certainly contribute back to freebasic by writting a c-wrapper for the library so it can be used in freebasic too. it's a win win thing and nothing anybody should be upset or sad about.
Quote:
Z!re Wrote:
Cha0s Wrote:ty for stealing the thing that basically put fb one step ahead?
What?


FB was one step ahead because it had a chess game. Now, this guy made on for QB. and I program in QB, not FB and i get it Tongue

uhm the chess game is written in c++ using yagl which is also written in c++, no basic anywhere :p maybe i didn't get what you mean though hehe...
Quote:
tannervp Wrote:
Z!re Wrote:
Cha0s Wrote:ty for stealing the thing that basically put fb one step ahead?
What?


FB was one step ahead because it had a chess game. Now, this guy made on for QB. and I program in QB, not FB and i get it Tongue

uhm the chess game is written in c++ using yagl which is also written in c++, no basic anywhere :p maybe i didn't get what you mean though hehe...

right. it's a .exe, so no basic XP
and I tried it. very good, but I had a checkmate and no "you win!" :roll:

Anonymous

i just want to apologize for saying marzec 'stole' the code for his lib... i didn't mean it as though he's a thief. it was just my FB pride showing through... i'd rather that the gfx lib was property of FB, but of course it's OSS so, do what you will...
Pages: 1 2 3 4