How to get the number of solid tiles between two points?

Started by
9 comments, last by Xanather 11 years, 6 months ago
OK, I solved it. I instead implemented the optimization algorithm found here:

http://en.wikipedia...._line_algorithm

I realized that I wasn't following the rules of the first basic algorithm. The second algorithm on that site takes care of that.

The lighting looks awesome now!

I have no idea how it works, but I will be sure to make sense of it later on...

Thanks everyone : D

This topic is closed to new replies.

Advertisement