Online resource browser

Designed a level that creates new, exciting, and challenging Armagetron game play? Or maybe just something funky. Put it right here.
Post Reply
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Online resource browser

Post by wrtlprnft »

Instead of browsing on the automatic apache directory listings you can now browse on the much nicer resource preview browser with thumbnails and big previews of the maps, and the command needed to use them.

It currently doesn't generate thumbs for new maps, but that will come soon.
There's no place like ::1
User avatar
philippeqc
Long Poster - Project Developer - Sage
Posts: 1526
Joined: Mon Jul 12, 2004 8:55 am
Location: Stockholm
Contact:

Post by philippeqc »

Very good idea there! It makes it a breeze to see all the resources available.

Just some ideas in the pot:
-A "recently added" section,
-What, no cockpit preview?

;)

Keep up the good work

-ph

who is back at work (the office one, not the cool zone one)
Canis meus id comedit.
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

That's fantastic. Nice work.

Obviously, the place to visit would be here: http://beta.armagetronad.net/resource-b ... d/fortress

One more thing that would make a nice addition - number of axes.
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Looks cool, but the icons might be a little big.
Image
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

Tank: I made the directory icons the size of the thumbnails, and I think smaller thumbnais would be pretty unusuable :(

ed: For the number of axes, how would I visualize that? Be aware axes can go into any directions in any order...

ph: cockpit previews... Wanna write an image generation script? ;) And yes for the recently added section, I need to think about how to implement that though...
There's no place like ::1
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

I was simply thinking that they looked huge on my 1600x1200 screen. For people with a lower rez, they could be ginormous...
Image
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

For the num of axes, couldn't you just use:

Axes number="8"

translates as

Number of Axes: 8

If this element isn't present, assume it's 4 axes.
If crazy axes or false nomalisation are used, this property would still be true (I think). If someone wants to delve deeper than this into how the axes are constructed, they can click on the map link.
This would be enough for a general overview.

How about a "description" tag on the map, which could then be veiwed on this page. Where the map maker can add their thoughts, has no effect on the map, but shows up the web page.

Another possible addition would be Map Name. I know you have the name of the map, like "johnny", but the map is actually called "Hello, my name's Johnny" - (I was listening to SOAD at the time). Somewhere to show this on your page would be nice.

The main reason I ask for this is that we (I say we, I mean Kyle) have been working on our own wiki to document the CT wild servers and their maps:

http://wiki.crazy-tronners.com/index.ph ... d_Fortress

Trouble is it's time consuming and boring, hence why it's never finished.
What you've done here will save a lot of time. But a couple of extra things and we won't need it at all.
Since the map rotate data is stored in a mysql database, we could easily create a page showing current maps in use, with links to your pages for every map.
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

Ok, added the number of axes now, they appear on the detail page.
For a description tag a new DTD would be needed, so Luke-Jr would need to add it. Sure, once it's there I'll read and print it.

EDIT: map uploading is currently broken, I wanted to add preview generation to the upload script but that broke the suid, and I need to wait for Luke to reset it.
There's no place like ::1
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

Thanks.
I don't suppose there's any chance of getting the source?
I would ideally like to integrate it into out phpbb forums.
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

Sure, both the map previewer and the resource browser are in SVN. You need to have one dir with the actual resources and one dir that contains the previews generated with the map previewer using the same directory structure.
There's no place like ::1
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

Added a few more goodies to the details page :)
First I put in some CSS to make it look prettier, and there's a dump of the source of the map file too now.

And it displays some info like the author now and links to maps with the same author, category and name, but different version.
There's no place like ::1
Post Reply