Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
yagl freebasic port 0.0.7
#11
this is already fixed, i happened to only have my old laptop with me when i wrote the wrapper and compiled it with an outdated version of the library. the problem is that i used bilinear interpolation on the sprites in the ( very ) old version of yagl which takes the four neighbouring pixels into account. so at the border between a pink ( invisible/colorkeyed ) pixel and a normal pixel of the sprite those get mixed and the pink is taken into the average pixel color.

that interpolation is turned off now in the latest version resulting in a bit less quality when rotating and scaling ( which is still better than any software rotated scaled sprite :p ) and the pink edges are gone.

also note that as i said this above release is just a teaser really. the signatures of the methods will stay the same but the actual library will be replaced maybe this week already with a real release build containing the complete input library, sound library and gfx library (wrapper wise ).

i also noticed that fb is using gcc 3.2 on winblows which is incompatible to the library as it is compiled with 3.4.2. in this gcc release same changes where made to the rtlib. this *might* cause problems if you overwrite the library files of freebasic with the ones i provide.

i'm really sorry for all the inconvinience, next time i don't throw out a not even beta release of that stuff.
quote="NecrosIhsan"]
[Image: yagl1.png]
[/quote]
Reply
#12
finally have a nice easy to use package for the fbwrapper which currently features the complete graphics module pluse the keyboard and mouse module so basically all you need to get your feed wet. Zire and shadowolf already tested it and Zire might use it for fieldview ( possibly delaying the outcome of a first demo further... ). the fb wrapper is currently win32 only due to a lack of a testing system ( my ubuntu cd's will arive this week i hope.. )

http://ratatoskr.dragonhill.cc/public/pr...yaglfb.rar
http://ratatoskr.dragonhill.cc/public/pr...yaglfb.zip

this includes the library file(s) and include file needed plus a users guide in pdf format. i provide rar and zip as some ppl prefer one over the other so chose, the content is the same.

please report any bugs or leaks you find in this thread. i'm probably adding the sound, joystick and networking module tomorrow so you have a the fully working thing in your hands. i still need to finish documenting the sound and networking module, it's a #%$@^&* lot of work.

also responses to this thread are more than welcome otherwise this will probably die the same death as fbirclib

on a sidenode: i used yagl for a very small game project i had going for the qbxl 48h compo

http://ratatoskr.dragonhill.cc/public/pr...oids3d.zip
http://ratatoskr.dragonhill.cc/public/pr...oids3d.rar

it's a simple 3d asteroids "clone" ( well not really it sucks ) showing the capablities of yagl. note that the 3d graphics are *NOT* done with yagl ( that's plain old opengl ), but the rest is. however integration of yagl with opengl is easy. you can have a look at the c++ sources ( which are a mess given the time limit ) here

http://ratatoskr.dragonhill.cc/public/pr...s3dsrc.rar

well thx for reading this
quote="NecrosIhsan"]
[Image: yagl1.png]
[/quote]
Reply
#13
for those that didn't follow the thread on fb.net the fb wrapper has been updated a couple of times now. probably the last update till february ( univ. work is calling )

the wrapper now wraps the following modules of the c++ version

+ full graphic module
+ full input module
+ full sound module

the documentation is also covering those three modules completely. the latest version can be downloaded from the links in my last post.

i could really need some people that write small samples and maybe translate the documentation to freebasic ( it's currently in c++ with a notes file describing the differences between the c++ original and the fb wrapper ). it is a lot of work todo as a one man show :p

big thanks to nodtveidt for also forcing yagl on people.

you can find the latest version here ( zip or rar whatever you prefer rar is smaller.. )

http://ratatoskr.dragonhill.cc/public/pr...yaglfb.rar
http://ratatoskr.dragonhill.cc/public/pr...yaglfb.zip
quote="NecrosIhsan"]
[Image: yagl1.png]
[/quote]
Reply
#14
This is going in just about all my FB stuff from now on. Big Grin
\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
Reply
#15
To marzecTM:

I have to say, your game library here in FreeBASIC is looking very good so far, and very fast too, seriously speaking!! Big Grin And hey, with the documentation all set up and a couple of your tests that I have tried within yagl, this is really shaping up to be one powerful piece of work, man!

See you later, and real good work so far on the lib!!! Cool=b !



[Image: file.php?id=32]
- Adigun Azikiwe Polack
One of the Founders of “Aura Flow” ::: Continuing Developer of “Frantic Journey”
Current Developer of “Star Angelic Slugger” ::: Webmaster of the “AAP Official Projects Squad”
Original Creator of the “The New FreeBASIC 8-Bit Palette Machine” and “AFlib2 - Aura Flow Library 2”
url=http://dhost.hopto.org/aapproj/][Image: file.php?id=194][/url]
Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!! Big Grin !
Reply
#16
thanks for the comment

actually the library is already done ( apart from the missing documentation ) in it's c++ version. i'm just a lazy ass and am slow at writting a c wrapper so ppl can use it in fb. hope it turns out as good as i say it is :p
quote="NecrosIhsan"]
[Image: yagl1.png]
[/quote]
Reply
#17
on another sidenote:

if anyone has written any small programms with yagl please send them to me or post links to them here. i'm in need of samples for the fb version of yagl.

i could also need help translating and correcting the documentation which is atm c++ to fb ( and possibly c if you want )
quote="NecrosIhsan"]
[Image: yagl1.png]
[/quote]
Reply
#18
as z!re is switching to yagl with fieldview i *had* to implement a getKey method. it's basically like inkey$ and buffers keypresses with initial and repeated delay. it is actually capable of reporting unicode however it's and undocumented feature for now as i haven't tested it yet ( the unicode support that is.. ). package is updated, url is the same as above, for your comfort:

http://ratatoskr.dragonhill.cc/public/pr...yaglfb.zip
http://ratatoskr.dragonhill.cc/public/pr...yaglfb.rar
quote="NecrosIhsan"]
[Image: yagl1.png]
[/quote]
Reply
#19
Awesome news.

Now add JPEG loading and this will be my lib of choice :lol:
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#20
Quote:Awesome news.

Now add JPEG loading and this will be my lib of choice :lol:
Use some other lib to load stuff and decode it into a bitmap, then use yaglgfxsurface_loadfrommemory

No need to clutter the lib with a jpeg loader, and a tga loader and a [...]

Yagl works well when used together with SDL, SDL_net and SDL_image
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)