Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ

LPC terrain extension

Author: 
caeles
Tuesday, January 29, 2013 - 17:24
Art Type: 
2D Art
Tags: 
LPC
32x32
tiles
Terrain
License(s): 
CC-BY-SA 3.0
GPL 3.0
Favorites: 
18
Share: 
Preview: 
Preview (736 downloads)
Preview (783 downloads)
Preview (387 downloads)

This work extends the LPC terrain tiles. Not by new terrains, but by new kinds of tiles.

The original pattern for terrain tilesets did not well support all configurations of tiles. It seems the assumption was that a single kind of terrain always comes in (possibly overlapping) rectangles of size at least 2x2. But even then, the pattern did not support the case where two such rectangles overlap at exactly one tile. The tilesets in the directory "twosided" provide the required tiles for all terrain tilesets submitted to the LPC or added since then (at the time of this writing). The tilesets also contain new tiles for the case where two rectangles touch at exactly one edge. Where feasible, the new tiles connect the two rectangles more than just two corner tiles would. But it has not always been possible. The original part of the tilesets has been unmodified, except for cement.png where the tiles at (1,1) and (2,1) were changed so that they align with the tiles at (0,2) through (2,2).

The directory "threesided" provides transitional tiles where three different terrains meet. The above tilesets implement transitions between two terrains. Observe though, that when terrain transitions consist just of one terrain being drawn on top of the other (e.g. grass over dirt or hole over whatever), threesided or even foursided transitions do not need special tiles. However, there are transitions that do not have this property (e.g. grass/water). This part of the work is incomplete.

[UPDATE (2013-1-30):] I noticed a naming mistake. The files named (anything)grassother.png should, for consistency, be named (anything)grassaltother.png instead, because the grass/other edges align with grassalt, not grass. On a related note, this update adds a further threesided transition: grassgrassaltother.png. It is Copyright 2012 by Lanea Zimmerman, modified 2013 by Mark Weyer. Furthermore, there is a new preview.

[UPDATE (2013-1-31):] As the archive had problems on some platforms, I replaced it with an uncompressed one. The contained .xcfs are now individually compressed (.pngs are always compressed anyway). The new archive also contains grassgrassaltother.png.

Attribution Instructions: 
For detailed copyright information see the file COPYRIGHT in the archive. The authors are Cem Kalyoncu, Connor Sherson, Daniel Eddeland, Johann Charlot, Jonas Klinger, Juan Rodriguez, Lanea Zimmerman, Mark Weyer, and Skyler Robert Colladay.
File(s): 
lpc_terrain.tar (481 downloads)
  • Log in or register to post comments

Comments

pennomi
joined 2 years 7 months ago
2013-01-30 10:25
pennomi's picture

These are quite nice! Good work.

  • Log in or register to post comments
cdoty
joined 6 months 1 day ago
2013-01-30 13:49

The archive file seems to be corrupt.

  • Log in or register to post comments
caeles
joined 1 year 2 days ago
2013-01-30 14:12

I cannot confirm any corruptness. Downloading, ungzipping and extracting works fine here. For reference, the standard way of opening is:

gunzip lpc_terrain.tar.zg

tar -xf lpc_terrain.tar

or just

tar -xf lpc_terrain.tar.gz

on the command line. If your OS has a GUI way of dealing with tar archives, then the respective tool may be faulty.

Or is it some file inside the archive which causes problems? The .xcfs are from gimp version 2.6.10.

  • Log in or register to post comments
cdoty
joined 6 months 1 day ago
2013-01-30 14:40

It was a problem with WinRar, it didn't like the gzipped part of the archive.

 

Thanks.

  • Log in or register to post comments
hobastian
joined 4 months 2 weeks ago
2013-01-30 23:10

It's not just WinRar. In linux, the default Ubuntu archive application also says it's corrupt.

  • Log in or register to post comments
caeles
joined 1 year 2 days ago
2013-01-31 03:49

Hmmm. I did apply archiving and compression as two steps, when I made that file, instead of using the -z option of tar. Maybe that causes problems. I will avoid it in the future. On the other hand, extraction with tar in one step works fine. So my best guess is that there is a buggy library out there which both WinRar and the Ubuntu desktop use.

Does it work for everybody to separate inflation and extraction? In that case I wouldn't spam OGA with an updated archive.

  • Log in or register to post comments
makrohn
joined 1 year 1 month ago
2013-01-31 05:51
makrohn's picture

$tar -xvzf lpc_terrain.tar.gz failed on Mint.  BUT

$ gzip -d lpc_terrain.tar.gz

$ tar -xvzf lpc_terrain.tar Unpacked it fine. 

  • Log in or register to post comments
caeles
joined 1 year 2 days ago
2013-01-31 14:26

Far too many problematic situations. So I did update the archive now. Sorry about all the trouble it has been causing. I still don't understand why.

  • Log in or register to post comments