Author |
Message |
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Fri Nov 07, 2003 4:33 pm Post subject: Java map editor???? |
|
|
|
|
Anyone attempted a java map editor???
I understand that the image i/o is covered...
does anyone know:
does awt, swing, or swt support imageboxes(bitmap widgets)? _________________ Signatures just seem so quaint.
|
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Fri Nov 07, 2003 5:39 pm Post subject: |
|
|
|
|
I'm sure there's a way, but since I've only been a JAVA DEVELOPER (oh yes, I can make a DOS prompt spit out specified lines of text) I couldn't tell you exactly how $
gimme a month
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Fri Nov 07, 2003 7:39 pm Post subject: |
|
|
|
|
It would be very easy to do, I think. It would be too slow for some people's happyness, tho, and its a real pain to get it all the way to 100%. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me
|
|
Back to top |
|
|
cypherjf (jason) Guest
Offline
|
Posted: Fri Nov 07, 2003 9:36 pm Post subject: |
|
|
|
|
indeed... I'm taking java now, the label actually allows you to load images into it, add it into a scroll pane, and wallah ... but I'm not exactly sure how tiles would be accomplished :-/ ... and I'd learn to love how to read/write SS map files so if anyone knows how to do that should let me know
lol - jason (cypherjf)
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Fri Nov 07, 2003 11:26 pm Post subject: |
|
|
|
|
GUIs suck. Hmm.. I should make a CLI LVL editor.
Enough abbreviations for you?
|
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Fri Nov 07, 2003 11:32 pm Post subject: |
|
|
|
|
Mine GO BOOM wrote: | I should make a CLI LVL editor. |
you're a sick, sick guy
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Fri Nov 07, 2003 11:42 pm Post subject: |
|
|
|
|
Have you ever had to edit a map with subspace v1.32's built in map editor? Ugh.
Back on topic: Java should do fine for making a map editor. As I code very little with Java, I cannot help too much, but support your efforts.
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sat Nov 08, 2003 12:09 am Post subject: |
|
|
|
|
The LVL IO code is very easy to do with Java. Get some way to display it and edit it, and you are all set.
|
|
Back to top |
|
|
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Sat Nov 08, 2003 3:35 pm Post subject: |
|
|
|
|
yeah, yeah. turns out i you can always render a Graphics object on the fly, but that's a pain in my ass... whoa...
just found this... ill try to hack it... (haven't taken a look at it yet)
Gridder_0_0_1.zip - 217.21 KB
File downloaded or viewed 57 time(s)
|
|
Back to top |
|
|
CypherJF I gargle nitroglycerin
Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Mon Nov 10, 2003 1:43 pm Post subject: |
|
|
|
|
where could i find out the IO of the maps? :-/
Is there documentation on it somewhere? I'm interested in designing a map editor that will also help w/ LVZ's
but i dont know how to write/read maps like the design layout protocol w/e for the map file itself..
thanks - jason
cypherjf at yahoo dot com
|
|
Back to top |
|
|
Cyan~Fire I'll count you!
Age:36 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Nov 10, 2003 4:25 pm Post subject: |
|
|
|
|
It would be great if, say, Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole.... could incorporate his LIE into a map editor, so it'd be all in one. But I'm guessing LIE is C++... _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
|
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Mon Nov 10, 2003 4:55 pm Post subject: |
|
|
|
|
I think k0z codes almost exclusively in delphi
but, uh...why not just have the editor allow you to drag and drop your images around precisely and generate the .lvz itself? (it would of course be nice for people that know what they're doing to be able to mess with the organization before the lvz(s) are generated)
Mine GO BOOM wrote: | Have you ever had to edit a map with subspace v1.32's built in map editor? Ugh. |
awe ya that thing is oldskool GOLD! lol
Dr Brain wrote: | It would be too slow for some people's happyness |
well look at it this way...it will probably be faster than CLE, heh
Dr Brain wrote: | and its a real pain to get it all the way to 100%. |
eh?
|
|
Back to top |
|
|
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Mon Nov 10, 2003 5:08 pm Post subject: |
|
|
|
|
no worries... yet
Will let you know if and when i get a decent basic map editor in java, then if the GPL hasn't been murdered by everyone's ex-favorite linux distributor, i'll release open source so MGB can make me feel inferior again
Edit:
FYI: SCo (formerly Caldera) has recently assaulted the GPL both legally and by altering the liscence under which they provide their linux distribution. The case is pending as of this writing (I believe). If in doubt, check http://www.slashdot.org where the suit is being covered in blogs extensively
Last edited by Helicon on Mon Nov 10, 2003 5:14 pm, edited 1 time in total |
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Mon Nov 10, 2003 5:09 pm Post subject: |
|
|
|
|
pffft, redhat
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Nov 10, 2003 5:25 pm Post subject: |
|
|
|
|
Akai wrote: | well look at it this way...it will probably be faster than CLE, heh
Dr Brain wrote:
and its a real pain to get it all the way to 100%.
eh? |
May not be much faster.
100% features. I usually don't get projects past 95% when I'm working on my own. That last 5% is a real haul.
|
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Mon Nov 10, 2003 5:33 pm Post subject: |
|
|
|
|
really - you couldn't get a Java map editor to work roughly at the speed of SSME?
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Nov 10, 2003 7:18 pm Post subject: |
|
|
|
|
Its possible, I suppose. But it would be crap on <500MHz.
|
|
Back to top |
|
|
Dustpuppy Server Help Squatter
Age:39 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Mon Nov 10, 2003 7:32 pm Post subject: |
|
|
|
|
I think I'll write a map editor using curses. Just to be different.
|
|
Back to top |
|
|
Cyan~Fire I'll count you!
Age:36 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Nov 10, 2003 7:44 pm Post subject: |
|
|
|
|
Lol.
Akai wrote: | (it would of course be nice for ... |
Yeah, that's why I say incorporate LIE features. That way you could also put in non-image files too.
|
|
Back to top |
|
|
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Mon Nov 10, 2003 9:01 pm Post subject: |
|
|
|
|
i run a 400mhz machine... triple booting.
Java is nice in that i can run it off a shared drive.. with almost any OS.
Performance will eventually be a lesser concern... and the performance isn't THAT much of a concern if you hack down to the basic graphics classes. I'm looking into using java implementation of opengl to really get things moving... or not
Perhaps what i'll have is a nifty basis for a c++ or obj-c port...
|
|
Back to top |
|
|
Guest
Offline
|
Posted: Tue Nov 11, 2003 6:22 pm Post subject: |
|
|
|
|
Hmm. How many types of tiles are there.
I could display 0-9 & A-Z & a-z = 62 types...
Perhaps I'd have to use colour.
|
|
Back to top |
|
|
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Wed Nov 12, 2003 4:09 pm Post subject: |
|
|
|
|
note on works:
i am building tests, and i've just finished redisigning the format to include just about any pixel or tile-width object imaginable...
assuming someone will implement when my patience runs out...
|
|
Back to top |
|
|
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Wed Nov 12, 2003 9:43 pm Post subject: |
|
|
|
|
suggestions please:
i am currently using a Tool class to define painting of selected tiles to the map. Currently things like Pencil and Line extend it. However, i am wondering if that extensibility is worth the cost in tossing classes around and handling events and painting between 2+ classes at a time (IE to render lines being stretched/moved, etc) will kill performance. If there are effects they would mostly be sudden spikes in memory usage that fade once the calls have been made. I don't believe this will drag Windows boxes with 256mb of ram too much... below that, who knows?
should i make the tools built straight in as functions and enumerate... or keep things nice and OOP-happy???
PS: I am now officially performance paranoid in java (i am going to explode)
|
|
Back to top |
|
|
SuSE Me measures good
Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Wed Nov 12, 2003 10:03 pm Post subject: |
|
|
|
|
ya, I was about to learn Java, but it'd be slow...
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Nov 12, 2003 10:31 pm Post subject: |
|
|
|
|
I will do it if someone will take over running my zone for a month or so. Lol, not that anyone could, but I'm just saying time is my issue.
|
|
Back to top |
|
|
|