Lemmings Forums

Lemmings Boards => Lemmings Main => Topic started by: Mindless on November 11, 2006, 09:07:13 PM

Title: Online Level Mapper
Post by: Mindless on November 11, 2006, 09:07:13 PM
http://it.travisbsd.org/lemmings/lemmingswelt/lemmingslevelpng.php

This does everything except VGASpec'd levels... let me know of any bugs.
Title: Re: Online Level Mapper
Post by: Shvegait on November 11, 2006, 11:38:57 PM
Cool.  :thumbsup:

On a couple of the levels a tried, I got some white boxes that showed up. I'm not sure what causes it; it seems to only happen on the Fire/Hell graphics set, though.
Title: Re: Online Level Mapper
Post by: Mindless on November 12, 2006, 12:33:10 AM
Hmm... I thought I fixed that... and I've found another possible bug too...

Edit: Strangely, "All the 6's" from the Windows version of Lemmings has multiple terrain pieces that have both  the "remove terrain" and "draw under" flags set, LemEdit seems to ignore the first in these situations.
Title: Re: Online Level Mapper
Post by: Mindless on November 12, 2006, 02:04:02 AM
White boxes should be fixed now.
Title: Re: Online Level Mapper
Post by: STT on November 13, 2006, 05:14:26 AM
Dude, I am impresserated. This would be good for the level ranking thing we're going to use for the level list order for the remake.

Is it possible to
1) Remove the excess black stuff before and after the level
2) Bring up level data (skills, time, save, etc)
3) Comments + some kind of votey ranky thingy,
Cause if it is, and easy to do so, then its done;)
Title: Re: Online Level Mapper
Post by: Mindless on November 13, 2006, 07:08:09 AM
1 -> not too hard
2 -> easy
3 -> time consuming

but at the moment, I need sleep :)
Title: Re: Online Level Mapper
Post by: STT on November 13, 2006, 10:36:46 AM
lol
Title: Re: Online Level Mapper
Post by: Shvegait on November 13, 2006, 12:31:26 PM
Hey now, I'm working on #3. I also have #2 done :P

I'm not sure how taxing the script is, but when I get the database for the remake up, would it be possible to run the entered levels through the script to display the picture? Would it be better to run the script once when the level is submitted and store the generated picture?
Title: Re: Online Level Mapper
Post by: Mindless on November 13, 2006, 01:49:05 PM
Hey now, I'm working on #3. I also have #2 done :P

I'm not sure how taxing the script is, but when I get the database for the remake up, would it be possible to run the entered levels through the script to display the picture?
It's possible as long as the server has GD2 available.

Would it be better to run the script once when the level is submitted and store the generated picture?
Yup, on levels with lots of terrain the script can cause a CPU spike (of less than a second on my machine), so I wouldn't want to generate the image every time.  :wink:
Title: Re: Online Level Mapper
Post by: Timballisto on November 20, 2006, 08:42:20 PM
What did you write this in?
Title: Re: Online Level Mapper
Post by: Mindless on November 20, 2006, 11:16:39 PM
What did you write this in?
PHP
Title: Re: Online Level Mapper
Post by: STT on December 27, 2006, 12:26:05 PM
Anything new?
Title: Re: Online Level Mapper
Post by: Mindless on April 28, 2007, 05:33:45 PM
Just did a small update...
* removed the 'only draw over terrain' red-and-yellow object drawing, which was buggy and not in the Amiga port anyway
* fixed drawing 'only draw over terrain' object over other objects