0 Members and 2 Guests are viewing this topic.
The problem with grayscale shadows is then you can see the whole map, regardless of where you are standing. Then the shadows become more of an effect that a gameplay mechanic. (Is gameplay mechanic the right term here? I'm not really sure...)I thought the entire idea of games like these is for you not to know what is around you without actually physically going there.
Yeah true, although maybe he plans to use the shadows to hide enemies and stuff, idk (Like Starcraft 2).Btw nice to see you around again on the forums Michael
Quote from: Qwerty.55 on October 17, 2010, 11:21:53 pmQuote from: Michael_Lee on October 17, 2010, 10:40:42 pmAny optimization suggestions, please?(I'm using a variant of Bresenham's line algorithm, for those interested)It looks awesome, but why are you using that algorithm? It could very well be faster to set the initial screen and adjust the start/end points of the Line( function (which already uses Bresenham's algorithm).I'm using the algorithm to test when the shadows should start. The algorithm tests all the points in the line, and when it encounters a black pixel, it switches over to the built in line( function to draw it.--Okay, grayscale it is!--Anybody know where I can find a TI-86 emulator? I wanna try Blinded by the Dark.
Quote from: Michael_Lee on October 17, 2010, 10:40:42 pmAny optimization suggestions, please?(I'm using a variant of Bresenham's line algorithm, for those interested)It looks awesome, but why are you using that algorithm? It could very well be faster to set the initial screen and adjust the start/end points of the Line( function (which already uses Bresenham's algorithm).
Any optimization suggestions, please?(I'm using a variant of Bresenham's line algorithm, for those interested)