egordorichev / LastTry

:deciduous_tree: LastTry is open-source game written in Java, using LibGDX library and inspired by Terraria :deciduous_tree:
MIT License
119 stars 17 forks source link

Light! #116

Closed leopoldek closed 6 years ago

leopoldek commented 6 years ago

This PR adds lighting to the world. By default, lighting is disabled to keep fps high. To enable lighting, add -l to your launch args and your set! If you decide you want to turn lighting on, make sure your using a fresh map because any changes you make won't update the light map when lighting is off. Example: light-preview TODO:

And please review and give feedback!

egordorichev commented 6 years ago

Hmm, a few conflicts with @Col-E 's branch. Will merge it a bit later ;)

leopoldek commented 6 years ago

I can try to fix them right now.

egordorichev commented 6 years ago

Thanks a lot ;)