From: Charles Hixson Date: 2003-12-23T08:26:45+09:00 Subject: Re: [ANN] Ruby-DOOM was Re: learning the "Ruby way" Tom Copeland wrote: >On Fri, 2003-11-21 at 10:23, Tom Copeland wrote: > > >>On Thu, 2003-11-20 at 20:37, Greg McIntyre wrote: >> >> >> >>>LAYOUT =<>>########### >>>0...=...t.# >>>#.........1 >>>#.........#### >>>#............# >>>####.........# >>> #.........# >>> #.........# >>> ########### >>>END_LAYOUT >>> >>> >>Very cool! I've been poking around the Doom WAD spec a bit, try to see >>how feasible it would be to generate new levels with something like: >> >>l = Level.new(10,10) >>l.add(Wall.new(0,0,5,5)) >>l.set_spawn_point(5,0) >> >>and so forth. But this looks like a much nicer way to do it. >> >> > >To follow up on this, I've been working on a little utility to generate >DOOM maps programmatically (using Ruby, of course): > >http://rubyforge.org/projects/ruby-doom/ > >One of its current features is a "Nethack renderer", i.e.: > >http://ruby-doom.rubyforge.org/ > >I've released a couple of versions and things seem to be working out >well so far... > >Yours, > >tom > Given this it should be trivial to convert the image into an xpm format, and then display it as an xpm bit map.