Slick Forums

Discuss the Slick 2D Library
It is currently Sun Nov 19, 2017 2:58 am

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue Mar 06, 2012 8:37 am 
Offline
Game Developer
User avatar

Joined: Thu Mar 03, 2011 6:22 pm
Posts: 534
So does anyone has a sub function for me? If not I will try it myself, adding it on weekend :) (I already changed it on my local repo but no test case yet)

_________________
Current Projects:
Image Mr. Hat I
Image Vegan Vs. Zombies
Projects:
RadicalFish Engine - Build on top of Slick2D, Ideas, Bugs? Open an Issue ticket!


Top
 Profile  
 
PostPosted: Tue Mar 06, 2012 4:38 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
Here's a useful tool:
http://www.andersriggelsen.dk/glblendfunc.php

It might be nice to add more freedom by adding glBlendEquation and some more glBlendFunc options. The only thing is, we should IMO provide the user an easy "slick way" of determining whether the draw operation is supported on the system (needs ARB_imaging or GL14). That way they know not to use it / work around it if they are targeting low/ancient systems.


Top
 Profile  
 
PostPosted: Tue Mar 06, 2012 8:20 pm 
Offline
Game Developer
User avatar

Joined: Thu Mar 03, 2011 6:22 pm
Posts: 534
You mean something like:

Code:
setDrawMode(enum Mode, enum Mode);


?

Maybe someone gives some useful function I can add. I added the ADD_ALPHA mode, probalty pushing it tomorrow since I have some time :)

Edit:
I added a multiply mode which includes alpha too xD Seems to missing often :D

_________________
Current Projects:
Image Mr. Hat I
Image Vegan Vs. Zombies
Projects:
RadicalFish Engine - Build on top of Slick2D, Ideas, Bugs? Open an Issue ticket!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group