Map Creator

General Stuff about Armagetron, That doesn't belong anywhere else...
Post Reply
Durf
Match Winner
Posts: 426
Joined: Mon Jul 30, 2012 10:35 pm

Map Creator

Post by Durf »

So, I've made a Map Creator!
Actually to be more specific, I've updated my old one.

Here are some 'features' I guess..:
-specify extra settings, axes, wall height, and now map's DTD
-zoom (change how many pixels wide is a grid square)
-Snap to grid! (off, every 0.1, 0.5, or 1)
-There's a short (somewhat outdated) tutorial
-Bookmark your specific settings! (in the help menu)
-Autosave! (every 10 minutes or when you hit save state in options menu)
-Recovery from accidental shutdown or browser closed
-Remembers author name from last time! (soon to be handled by login system with phpbb?)
-Direct file download when you finish!
-Direct file UPLOAD to my online resource (note, atm this is insecure but useful enough to test right away)
-Shortcut keys to try to make things a little easier (ex: Alt+S = add a spawn point where the mouse cursor is)
-Tunnel Generator built in! (only supports right angles...for now :3)
-Supports all major browsers! (IE 9 & 10, Chrome, FireFox, Opera, Safari, and even IOS! Feel free to test more browsers)

There's a preview as a file attachment below

So where can you find it? Right here:
http://durf.bugs3.com/mc

Want something larger? Click this custom bookmark for it:
http://durf.bugs3.com/mc?x=5200&y=5200&z=10&s=1 (5200px wide and tall, 10px per grid square, snap to grid at every 1)
(that is a 520 x 520 grid in-game! without size factor use)

example with zoom all the way in!:
http://durf.bugs3.com/mc?x=5200&y=5200&z=40&s=3 (5200px wide and tall, 40px per grid square, snap to grid at every 0.1)

BUGS: (things I completely overlooked when i released this)
-tunnel generator breaks and/or makes faulty tunnels with non-right angles
-rubber zone has no setting for its value! ignore rubber zones for now, sry :s
-ANYONE can overwrite maps made by anyone else. Pls use only YOUR OWN username for "Author".

I don't think there is any more, but if you find any please don't hesitate to post about it! (with info on which browser/OS would help)

Please keep in mind that this is STILL a work in progress and I have plans to turn it into a full-blown editor.
So for right now, it can create maps just fine.
The next version(s) will fix the above bugs and include greater editing options (including from file)
Also the next versions will be integrated into forums, and work from your login to prevent overwriting another authors work online.

Also any comments, suggestions, and/or constructive criticism would be greatly appreciated :D
...OH and any questions you have that the included tutorial didn't quite answer for you, ask 'em here.
So let me know what you think! :mrgreen:
Attachments
mc-preview.png
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: Map Creator

Post by Phytotron »

Õ:°R8
pdbq
On Lightcycle Grid
Posts: 11
Joined: Tue Jul 01, 2008 8:16 am

Re: Map Creator

Post by pdbq »

wow this looks pretty awesome.

i'll definitely be giving this a go soon. :thumbs up:
Durf
Match Winner
Posts: 426
Joined: Mon Jul 30, 2012 10:35 pm

Map EDITOR

Post by Durf »

ok so.. UPDATE

Now it is a map EDITOR. (open and edit from file, import map elements)
Err, there's lots of changes since the last post.. (I'll post a changelog if requested)
The included tutorial has been updated to show most of its features..

Highlights:
advanced wall functions (circles, waves, arcs),
transform (move, rotate, scale, skew),
draw a path for a moving zone,
macro spawns & zones (a user-defined loop, makes multiple of similar spawns/zones in a pattern),
direct XML editing of the map file,
snap-to-axes (based on file properties, all walls grind-able),
define the zone radius by two clicks [center, edge] (default: click for center then enter in radius)

One thing the tutorial doesn't mention; now there is 3 styles included (dark, light, and low contrast)

Anywho, this project is pretty close to finished (if not already, maybe a few things still)
However, if you notice anything that can still be added in, let me know.
Currently, I'm working on a phpbb mod version of this (to force the author's name from login) so that any uploaded map cannot be overwritten by anyone else except the true author.

Here's the link again,
Enjoy! :mrgreen:
pdbq
On Lightcycle Grid
Posts: 11
Joined: Tue Jul 01, 2008 8:16 am

Re: Map Creator

Post by pdbq »

undo function? :<
Durf
Match Winner
Posts: 426
Joined: Mon Jul 30, 2012 10:35 pm

Map EDITOR

Post by Durf »

anything you do is written in order in the XML
Spawns, Walls, then Zones each in the order you added it.

Click Options > XML editor and simply delete or adjust your error at any time

Thanks for your input...in a future version, it will be added in.
Post Reply