Author |
Topic: GFXLIB (Read 2292 times) |
|
David Williams
Developer
member is offline

meh

Gender: 
Posts: 452
|
 |
Re: GFXLIB
« Reply #116 on: Jul 8th, 2010, 07:45am » |
|
I'll be releasing an updated version (2.01) of GFXLIB on Friday (9th July), but in the meantime here's a 'mini-game' which will be included in the GFXLIB package. Not much of a game, admittedly, however the source code is meant to be instructive:
http://www.bezu.co.uk/filesdump/temp/progs/cowboyshootout.zip (283 KB)
(The ZIP package only contains the compiled EXE, not the source.)
|
|
|
|
David Williams
Developer
member is offline

meh

Gender: 
Posts: 452
|
 |
Re: GFXLIB
« Reply #117 on: Jul 9th, 2010, 10:08pm » |
|
GFXLIB version 2.01 has just been released:
http://www.bb4wgames.com/gfxlib/gfxlibpage.html
Happy game-making. 
---------------------------------------------------- 2.01 09-Jul-2010 - Most of GFXLIB routines have been modified to read the dispVars.flags.paint& and dispVars.flags.flipY& flags. A few routines remain, however, to be similarly modified. This will be done in due course.
- Added new routine GetQuarticBezierCurvePoint, and made some example programs for it.
- Made some example programs for GetQuadraticBezierCurvePoint.
- Added new routine PlotGetCumulativeAlphaBits and ShapeGetCumulativeAlphaBits and wrote an example program for each of them.
- PROCWait (as employed by PROCdisplay - you don't normally call this subroutine directly yourself) now much more efficient.
- Added PROCFlipBmFont subroutine which vertically flips all bitmap characters in a GFXLIB bitmap font definition file.
- Re-introduced parameterless PROCInitGFXLIB call. Calling simply PROCInitGFXLIB is equivalent to PROCInitGFXLIB(dispVars{}, 0).
- Added new core routine: SetDispVars2
- Core routines now documented - (see "Core GFXLIB routines.TXT"). - GFXLIB package now includes Michael Hutton's GFXD3D9LIB.BBC (with some minor modifications by D.W.), and wrote an example program for it.
- Modified some old GFXLIB demos to make use of GFXD3D9LIB (see the DX9 subfolder in the GFXLIB_demos folder).
- Corrected or otherwise modified some of the GFXLIB routine documentation. Still quite a bit of correcting and modifying to do!
- Included a new mini-game "Cowboy Shootout" whose purpose, apart from entertaining for a few seconds, is to demonstrate the use of a number of GFXLIB routines.
- Several other minor changes here and there. ----------------------------------------------------
|
|
Logged
|
|
|
|
admin
Administrator
member is offline


Posts: 1145
|
 |
Re: GFXLIB
« Reply #118 on: Jul 10th, 2010, 09:18am » |
|
on Jul 8th, 2010, 07:45am, David Williams wrote:| the source code is meant to be instructive.... (The ZIP package only contains the compiled EXE, not the source.) |
|
ROFL!
Richard.
|
| « Last Edit: Jul 10th, 2010, 09:20am by admin » |
Logged
|
|
|
|
David Williams
Developer
member is offline

meh

Gender: 
Posts: 452
|
 |
Re: GFXLIB
« Reply #119 on: Jul 10th, 2010, 09:34am » |
|
on Jul 10th, 2010, 09:18am, Richard Russell wrote:
If you insist.
I should have stated that the source program (for "Cowboy Shootout") comes with the GFXLIB package, whereas the ZIP folder (cowboyshootout.zip) contains only the compiled executable.
The GFXLIB package contains an updated (i.e. slightly better) version of Cowboy Shootout.
|
|
Logged
|
|
|
|
David Williams
Developer
member is offline

meh

Gender: 
Posts: 452
|
 |
Re: GFXLIB
« Reply #120 on: Jul 14th, 2010, 01:38am » |
|
I've been working on a new bitmap rotation routine for GFXLIB.
Despite still partially being in BASIC(!), this one is significantly faster than "my old one", and yet it's still very far from optimal. In fact, until I can get my Sutherland-Hodgman polygon clipper working properly, this routine will remain very inefficient.
Here's a preview:
http://www.bezu.co.uk/filesdump/temp/progs/bitmaprotator.zip
Use the left and right mouse buttons to zoom in and out.
David.
|
|
|
|
David Williams
Developer
member is offline

meh

Gender: 
Posts: 452
|
 |
Re: GFXLIB
« Reply #121 on: Jul 21st, 2010, 12:09am » |
|
New routine (alpha-blend with master opacity control) as recently requested by a BB4W user who's developing a GFXLIB-based game.
Here's a quick demo of PlotAlphaBlend4:
http://www.bezu.co.uk/filesdump/temp/progs/plotalphablend4demo.zip
Notice the nice smooth sprite edges? Use the left/right arrow keys to decrease/increase the number of sprites.
This routine will be included in the next release (v2.02) of GFXLIB due out in a month or three.
David.
|
|
|
|
|