View Issue Details

IDProjectCategoryLast Update
0003480Valley 1Programming TodoSep 21, 2011 7:06 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Fixed in Version0.418 
Summary0003480: Get underground chunks sizing themselves down if large tracts of nothing in them.
DescriptionIf there is a section of underground that has nothing but a bunch of ground and groundnottodig, then crop the level size down to ignore that right in the interior generation logic and then size down the chunk. Leave don't crop below a four-tile buffer of nothingness on any side. Maybe three-tile; see what makes the most sense.
TagsNo tags attached.
Internal WeightNew

Relationships

parent of 0003855 resolvedChris_McElligottPark Dead pixels in underground chunks. 

Activities

Chris_McElligottPark

Jun 27, 2011 11:36 pm

administrator   ~0012561

Maybe...

nalgas

Sep 20, 2011 6:37 pm

reporter   ~0013258

Very yes. This would fix the minimap displaying in the middle of the screen like I was talking about with the caves before, right? Just as I suspected, it's because they have huge...tracts of land, except it's all just useless dirt surrounding the interesting part, sometimes for a couple dozen tiles in either direction. The minimap doesn't show that, of course, because it just puts a single "pixel" border for the border and then draws the rest of the background transparent, leaving the relevant part drawn "floating" way out from the corner.

I guess it probably doesn't have too much of an effect on much else noticeable (i.e. non-internal), so if it doesn't cause any problems on your end it's not a huge deal, but the larger the map is scaled and/or the smaller the player's screen, the more inconvenient it is to not have stuff like that crop itself.

Chris_McElligottPark

Sep 20, 2011 6:39 pm

administrator   ~0013259

Oh yeah, this would definitely fix the other. It would also make these chunks slightly smaller.

The reason for the "tracts of land" (heh), are how the caves are literally dug out procedurally. I start with one big selection of dirt, and then some diggers get to digging. They dig out variant amounts of the stuff, so that leads to what you see.

Chris_McElligottPark

Sep 21, 2011 7:06 pm

administrator   ~0013318

* When new underground caverns are generated, their chunks are now cropped to fit the cavern.
** This prevents things like bats flying way off into the middle of a bunch of solid rock that the player doesn't care about.
** And it also prevents there being a huge amount of odd-looking offsetting to the minimap on viewing caverns that just happened to be located toward the bottom right of their chunk space.

Issue History

Date Modified Username Field Change
Jun 8, 2011 8:33 am Chris_McElligottPark New Issue
Jun 8, 2011 8:33 am Chris_McElligottPark Status new => assigned
Jun 8, 2011 8:33 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Jun 27, 2011 11:36 pm Chris_McElligottPark Note Added: 0012561
Jun 27, 2011 11:36 pm Chris_McElligottPark Status assigned => considering
Sep 20, 2011 6:37 pm nalgas Note Added: 0013258
Sep 20, 2011 6:39 pm Chris_McElligottPark Note Added: 0013259
Sep 20, 2011 6:40 pm Chris_McElligottPark Status considering => confirmed
Sep 20, 2011 9:30 pm nalgas Relationship added parent of 0003855
Sep 21, 2011 7:06 pm Chris_McElligottPark Internal Weight => New
Sep 21, 2011 7:06 pm Chris_McElligottPark Note Added: 0013318
Sep 21, 2011 7:06 pm Chris_McElligottPark Status confirmed => resolved
Sep 21, 2011 7:06 pm Chris_McElligottPark Fixed in Version => 0.418
Sep 21, 2011 7:06 pm Chris_McElligottPark Resolution open => fixed