2d lighting without openGL

Is it possible to render lighting in a 2d game, without having to deal with all of openGL? I’d imagine slick would be able to, but the callable doesnt seem too friendly, seeing as I dont know GL well enough to use that completely in the first place.

Thanks guys.

Yes, it is possible, but it is very slow compared to an OpenGL implementation.

Have a look at my StarCleaner game (signature). It’s all done with Slick and MarteEngine (again: see signature) and not too much of OpenGL.
Complete source code is available as part of MarteEngine in the test directory tree.

Feel free to rip what you like :wink:

Cheers,
Tommy

Thank you. Will definitely have a look when I get the chance.

I may not have stated myself clearly. It can include OpenGL, but it should not be hard to use. I was hoping for a trick in slick, where you do not actually see the GL bindings, if you dont want to:-)

Then you might also want to look at this alphamap lighting example for Slick from pitbuller:

http://slick.javaunlimited.net/viewtopic.php?f=11&t=3250