297 reputation
127
bio website
location
age
visits member for 2 years, 4 months
seen Apr 17 at 12:30

Mar
21
comment How to structure code for many unique weapons/spells/powers
+1 for the nice answer and for you to have enough rep to comment. ;) Welcome.
Feb
12
comment Why no night sky with realistic star constellations?
I'd put it shortly like this: Because nobody implemented it. Making realistic sky is more expensive than making one up, and most of the time nobody notices. So the management has no reason to allocate funds to such an endeavor. (And indies, well, don't have funds. :)
Dec
31
comment Elegant solution for coloring chess tiles
A nice way of putting it might be saying a tile is light as long as its coordinates have the same parity.
Jul
3
comment Find nearest tile of type x
@bummzack yes, it may not find the optimal path, but that's irrelevant. The asker wanted an algorithm for finding the nearest tile that specifies the given condition; not a pathfinding one.
Jul
3
comment Find nearest tile of type x
You should keep in mind, though, the special case here - when there are multiple equidistant tiles of the target type. (I.e. they are the same distance from your starting tile.) The algorithm provided by @RoyT just returns whichever one is first chosen by the PathNode.Neighbours implementation.
Jul
3
comment Find nearest tile of type x
My words exactly. I'll just add a nice way of visualizing the algorithm: it behaves as if you started pouring water on your starting tile, which then flows into adjacent (accessible) tiles in all directions. (Hence, 'floodfill'.) The first tile of the sought type to be flooded is your nearest match.
Jan
16
comment How should I go about learning XNA?
I love how @Twitchy wants a smooth animation.
Dec
15
comment What kind of project management should a solo developer project use?
@iconiK Maybe you didn't notice Classic Thunder was talking about assembla, not bitbucket. I checked now and it didn't seem very free. :>
Dec
15
comment What kind of project management should a solo developer project use?
@ClassicThunder I said that in my post. Also, last time I checked, assembla didn't look free for private projects. Did something change in the meantime? (I doubt that, but you never know.)