DRL > Discussion
Line of Sight and mapping
MadCoder:
So I did a google search, and came across some info on RogueLike coding. I found:
www.roguelikedevelopment.org
roguebasin.roguelikedevelopment.org
Both of which are nice, but I fugure you guys are the ones who would know this. What sites are good for info on coding RL? In particular, line of sight code. This seems to be the biggest issue with coding an RL. For those who have played Ultima III, IV, or V, that particular style of LOS code was great along with DoomRL.
Any info/links appreciated!
Anticheese:
roguebasin has a link to a Roguelike USENET group, you may find the information you need there.
rec.games.roguelike.development
Santiago Zapata:
Yeah come in, we would be glad to help...
http://groups.google.com/group/rec.games.roguelike.development
MadCoder:
Thanks for the suggestions.
I am working on my own LOS psuedocode that is entirely comprised of lookup tables to cast shadows. It doesn't take into account light sources yet, but each light source could also use the table. The distance for each LOS and light source could be calculated off of the same table, with the distance of each only using what each one is set to at the time (or loop). My initial idea for a table that would work on a 40 x 40 LOS would be under 8k. It also uses simple math, with no floating point variables.
I hope it comes out ok. If any of you know of lookup table source code for LOS, I'd like to see it. Thanks!
TFoN:
Please post it somewhere when you're done, and let me know.
I'm also interested in LOS code, though my programming experience's near zero.
Navigation
[0] Message Index
[#] Next page
Go to full version