4
\$\begingroup\$

I am trying to make a top down view game in java using the Slick2d library, for lighting I wanted to do something like this : http://www.redblobgames.com/articles/visibility/. I was wondering if there was a way to tint or light places on the screen in Slick. I would have my map rendering in the background and a lightmap in front.

Solution : https://github.com/ariejan/slick2d/blob/master/src/org/newdawn/slick/tests/AlphaMapTest.java

\$\endgroup\$

1 Answer 1

-1
\$\begingroup\$

I suggest to check this project, Shade. There is real-time lighting and moving shadows, I think could be useful for you

enter image description here

\$\endgroup\$
3
  • \$\begingroup\$ You don't answer his/her question with this. \$\endgroup\$
    – Bálint
    Feb 19, 2017 at 21:10
  • \$\begingroup\$ I've tried to suggest a complete game with the required mechanics \$\endgroup\$
    – Vokail
    Feb 21, 2017 at 22:21
  • \$\begingroup\$ @Vokall he askedfor a way to tint stuff in slick. What if that game gets removed? Your answer then becomes useless. \$\endgroup\$
    – Bálint
    Feb 21, 2017 at 23:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .