SVG to BarrierMaker converter
This is a Java Runnable JAR and should run on Windows/Mac/Linux systems just fine.
For those who don't know:
SVG stands for 'Scalable Vector Graphic'. It is a graphic file format like PNG, JPG, BMP. SVG however will scale to any resolution without losing quality whereas those other types can't do that. This makes SVG an excellent format for things like graphs and curves. You can create SVGs using a program like InkScape.
How to use this program:
- Download the JAR file below
- Run the JAR file. (Usually double-clicking it will work.) A very ugly GUI will pop up
- Click 'Open File' to load an SVG file with the GUI. (A good place to get SVGs: http://commons.wikimedia.org/wiki/Main_Page. Example: Search for "SVG spiral")
- Adjust the settings to how you see fit. There are tooltips with a little more description on each one.
- Click 'Convert'
- Copy the output text in the bottom window into your .level file
- Open the .level file with the editor
- Cross your fingers that you didn't make it too big...
Notes:
- This can create REALLY large level files that may take forever for the editor to load and/or crash it. Use wisely - try to avoid creating monstrosities that take forever to load in-game and over the network.
Caveats:
I will not provide support for this application. This means:
- I will not give further instructions
- I will not fix bugs in it
- I will not add features
- I will not answer questions about it in the forums (I may answer quick ones in IRC... maybe)
- I will not be responsible if this program sets fire to your computer and turns it into a burning pile of goo
Enjoy!
The program:
The next attachment is the eclipse project with the source code from which I created the JAR. I used:
- eclipse 3.7 SR1 (Indigo): http://eclipse.org/downloads/packages/eclipse-ide-java-developers/indigosr1
- WindowBuilder Pro eclipse plugin from Google: http://code.google.com/javadevtools/download-wbpro.html
- SVG Salamander library (so i didn't have to do much work!): http://svgsalamander.java.net/
Edit: Added link to wikimedia commons for SVG searching
Edit2: Explain what an SVG is
Edit3: Fixed eclipse project to include the JARs needed to build... sorry