BBC BASIC for Windows
« GLib (compact sprite library) »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:18pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1 2 3  Notify Send Topic Print
 veryhotthread  Author  Topic: GLib (compact sprite library)  (Read 450 times)
sveinioslo
Developer

member is offline

Avatar




PM


Posts: 64
xx Re: GLib (compact sprite library)
« Reply #30 on: Dec 1st, 2016, 7:49pm »

Quote:
GLIB's documentation is starting to take shape:

Thank you, been waiting for this.

Svein
User IP Logged

michael
Senior Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 335
xx Re: GLib (compact sprite library)
« Reply #31 on: Dec 3rd, 2016, 12:55am »

WOW! That is an amazing 3D ball animation. Or at least it looks 3D..

User IP Logged

I like making program generators and like reinventing the wheel
David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx Re: GLib (compact sprite library)
« Reply #32 on: Dec 20th, 2016, 02:16am »

Added a new routine to GLIB which stretches (scales) a bitmap, with the transparency level of each plotted pixel determined by that pixel's 'brightness' (actually its averaged RGB value). The darker a pixel is, the more transparent it is when plotted. Finally, a global transparency value is applied to each pixel so that the bitmap as a whole can be 'faded' into the background if so desired. This routine is perhaps useful for e.g. fireball/explosion effects.

Here's a quick demo of the new routine (it's nothing exciting of course):

http://www.proggies.uk/temp/test_plotscaleblend2.zip

I recommend that you extract the EXE file from the Zip folder before running it.


David.
--
User IP Logged

Pages: 1 2 3  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls