Yet Another Graphomaniacs Compendium
Monday, October 28, 2002

Tile Generator


I was trying to write a tile generator the other day, something that takes in a 32x32 tile and then spits out 16 different versions of it that are shaded to look like a wall as in a rougelike game with graphics tiles. The advantage of automating this was that you could use a perlin noise generator to generate dungeons with different looking stone walls, or brick walls, or bright purple marzipan walls if your game was going to be that kind of game, but I was a bit frustrated by the lack of an imaging library that can simply read and write various file formats (png, mng, tif, jpg, whatever) and do a few stragihtforward pixel level operations on them. There must be some. SDL_image I eliminated because it only loads images, the python imaging library is nice for reading and writing, but pixel level access is too unpythonlike to be sensible, and there's ImageMagick. Which looks good but I can't find the documentation for the C Api..sigh. It looks like the PIL is the least bad option.

posted by John Connors at
Monday, October 28, 2002

0 Comments:

Post a Comment

The Journal



A miscellany of topics that intersest me: deaf culture, game design, politics as soap opera, the cyborg condition and the experience of learning to hear again. Other topics presented are speculative fiction and imaginary cities. There are appearences of snippets of work in progress, public rants, pointless posts and Mish the Mouse.




The Writer

A lower middle class cyborg living an innocous life in a suburban village near Newcastle On Tyne, in the United Kingdom. Mostly autobiographical and creative notes posts and musings on the topic du jour.


Archives

May 2001
June 2001
July 2001
August 2001
September 2001
November 2001
December 2001
January 2002
February 2002
March 2002
April 2002
May 2002
June 2002
July 2002
August 2002
September 2002
October 2002
November 2002
December 2002
January 2003
March 2003
May 2003
June 2003
July 2003
August 2003
September 2003
November 2003
December 2003
January 2004
February 2004
June 2004
July 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
April 2005
May 2005
July 2005
August 2005
September 2005
October 2005
November 2005
January 2006
February 2006
May 2006
July 2006
August 2006
September 2006
December 2006
January 2007
February 2007
August 2007
September 2007
December 2007
June 2008
August 2008
January 2010
April 2011
September 2012
October 2012


Links

Videogame Theory

Apolyton

Game Matters

Common Ground Sign Dance

Krazy Kat Theatre

Computing for Poets

The Langauge Construction Kit

Lemonodor: mostly Lisp

Twisted Matrix

Christopher Jam

Shrydars Blog

Linux Game Development Centre

Starlines

The Rise and Fall of My First Novel

Real Writers Bounce

Mela (designer of this blog)

CyberTarp

Mish The Mouse's Blog

News Feeds

atom feed

Technorati


Adverts



Powered by Blogger

Designed by mela | Image from stock.xchng | Image hosted by CyberTarp