I have the shell of a game that i'm ready to take to the next level and start my first "real" game. The last thing I want to implement is dynamic lighting. If you have ever seen terraria, i'm looking for a lighting engine along those lines (I will post an example picture for reference). If you have a solution for me, a tutorial, or a library it would be greatly appreciated.
Thanks,
Blake
Example lighting:
.Love:
Shadow-Casting Help
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Shadow-Casting Help
- Attachments
-
- [WIP].love
- (142.69 KiB) Downloaded 172 times
Re: Shadow-Casting Help
viewtopic.php?f=5&t=76400
Also checkout Roguebasin and look for articles pertaining to line of sight (LOS) or field of view (FOV). Recursive shadowcasting seems to be the easiest to understand and works well so you're on the right track.
Also checkout Roguebasin and look for articles pertaining to line of sight (LOS) or field of view (FOV). Recursive shadowcasting seems to be the easiest to understand and works well so you're on the right track.
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: Shadow-Casting Help
Checkout "Moncle" as well, it deos something similar:
http://love2d.org/forums/viewtopic.php? ... it=Monocle
There's two versions atm, you'll have to read the thread to get the differences, I guess.
http://love2d.org/forums/viewtopic.php? ... it=Monocle
There's two versions atm, you'll have to read the thread to get the differences, I guess.
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests