Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (577)
games submitted by our members
Games in WIP (498)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Tile Map Editor for Eclipse  (Read 6189 times)
0 Members and 1 Guest are viewing this topic.
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Posted 2005-11-13 22:59:53 »

I've just got through implementing the first iteration of a tile map editor for eclipse.

I've called it the Games Developer Plugin because I hope that if anyone thinks of additional tools they'd like to see integrated with Eclipse they'd let me know and we end up with one consolidate plugin.

Anyway.. its here:

http://www.cokeandcode.com/gdp

Kev

Offline Jeff

JGO Coder




Got any cats?


« Reply #1 - Posted 2005-11-14 08:52:04 »

hmmm.

I did a JAI plugin for Ant awhile back.

I wonder if you could so something similar with a gui for Eclipse.

Image processing is a basic part of game development.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2005-11-14 10:23:38 »

What sort of image processing were you thinking of? Just sort basic art package stuff (pixel maniup) - or contrast/brightness/tone changes?

If you spec out what you'd like / let me know what was in your plugin I can happily stuff it into the plugin.

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #3 - Posted 2005-11-14 14:29:52 »

a nice feature i'd like to see is the ability to add entities to the map (like characters, enemies, portals, airoplanes) not sure how it would fit in with the tile map editor maybe it could be saved into another map style file, also what would be cool is a menu to modify these entities like color, type, path to move on? etc. maybe an xml style config file to edit the way the gui looks for entity editing.

Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2005-11-14 15:41:15 »

Yep, as far as I'm concerned that fits happily into the tile map designer. The config file can list the entity types (much like tiles at the moment), the editor can support placement and properties of the entities. I'll do that just as soon as much current project gets as far as needing entities Smiley

Kev

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #5 - Posted 2005-11-14 16:30:24 »

how about multi layer map support, could be useful for a side scroll platformer with parallax scrolling
Offline g666

Junior Member





« Reply #6 - Posted 2005-11-14 16:47:22 »

i have attached some screenshots of a half-finshed level editor of mine that for a zelda like game, as u can see it allows you to define links, sign grab and move tiles around the map, insert and define predeined tiles and select baddys, it also allows you to dump a fullsize image of the map as a png.

desperately seeking sanity
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #7 - Posted 2005-11-14 16:53:21 »

i have attached some screenshots of a half-finshed level editor of mine that for a zelda like game, as u can see it allows you to define links, sign grab and move tiles around the map, insert and define predeined tiles and select baddys, it also allows you to dump a fullsize image of the map as a png.

Yeah, I had a very similar tool (albeit a bit more scripty) for Mini Adventure. Thats exactly the sort of thing I never want to have to write again Smiley I want a generic to build a generic simple tile map editor that I don't have to re-write each time I build a game. More - I don't want to keep changing tool - IDE me man!

You have reminded me of something I use alot for Mini Adventure tho, different size tiles.. tho there are many different ways to deal with storing them in the data.. not quite sure whats the most common.

how about multi layer map support, could be useful for a side scroll platformer with parallax scrolling

The current editor has room for layers but doesn't implement them yet (since I haven't quite decided whether I want to make tiles specific to layers, i.e. grass must always be level zero, or let any tile be at any level).  With parallax scrolling you'd kinda want to have layers indpendently moveable, not quite sure whether that'd just make the tool hard to use.

Kev

Offline g666

Junior Member





« Reply #8 - Posted 2005-11-14 17:07:12 »

for storing the data, i used GZip compresed binary files as they need to be small. but maybe some form of xml would be more generic, like in Tiled where the compressed data is inside an l field.

desperately seeking sanity
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #9 - Posted 2005-11-14 17:10:15 »

The output format for this one is initially is just an xml file coupled with a flat encoded binary file. I don't much see the point of zipping things up if you're going to stick them in Jars anyway.

However, I'm probably going to add an interface to allow developer to plugin their own map formats rather than having to stick to the one I came up with. At the moment it just about getting the GUI to have controls for enough to make it useable (although I'm currently happily using it for my stuff)

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline g666

Junior Member





« Reply #10 - Posted 2005-11-14 22:31:14 »

the reason for compression is that the level files will be sent over the internet in the game.

desperately seeking sanity
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #11 - Posted 2005-11-15 02:11:50 »

I've just got through implementing the first iteration of a tile map editor for eclipse.

I've called it the Games Developer Plugin because I hope that if anyone thinks of additional tools they'd like to see integrated with Eclipse they'd let me know and we end up with one consolidate plugin.

Please, no.

What you're doing isn't even a be-all and end-all for map design for games, let alone all the other parts.

Personally, I would only like to pull in the individual things I want - eclipse is enough of a memory hog already.

malloc will be first against the wall when the revolution comes...
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #12 - Posted 2005-11-15 09:54:20 »

Quote
the reason for compression is that the level files will be sent over the internet in the game.

I guess that makes sense. I'd probably compress the stream rather than the actual file is you see what I mean.

Quote
Please, no.

What you're doing isn't even a be-all and end-all for map design for games, let alone all the other parts.

Wow, shocker. Whats more it isn't even the be all and end all for tilemapped games. Nothing can ever be.

Quote
Personally, I would only like to pull in the individual things I want - eclipse is enough of a memory hog already.

That'd make it much harder to have integration between the different parts. But heh, I never expected you'd use it anyway Smiley

Kev

Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #13 - Posted 2005-11-15 18:49:20 »

Quote
Please, no.

What you're doing isn't even a be-all and end-all for map design for games, let alone all the other parts.

Wow, shocker. Whats more it isn't even the be all and end all for tilemapped games. Nothing can ever be.

I meant "...so why do you want to call it the be-all and end-all?"

Maybe I've misunderstood / misread the name?

Quote
Quote
Personally, I would only like to pull in the individual things I want - eclipse is enough of a memory hog already.

That'd make it much harder to have integration between the different parts. But heh, I never expected you'd use it anyway Smiley

Kev

Ah. From my lay understanding of the eclipse view + perspective + etc workings, I thought you could have one perspective with many independent modules that plugged in to it. That's not the case then, I take i?

malloc will be first against the wall when the revolution comes...
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #14 - Posted 2005-11-15 19:09:57 »

Quote
I meant "...so why do you want to call it the be-all and end-all?"

Maybe I've misunderstood / misread the name?

I think maybe you've read to much in to the name. What I meant above was - "I'm not calling it the TileMap Editor Plugin because I want to add more things to it".

Quote
Ah. From my lay understanding of the eclipse view + perspective + etc workings, I thought you could have one perspective with many independent modules that plugged in to it. That's not the case then, I take i?

Thats not so far off, its just you'd normally have a feature built up of a set of plugins (which of course you could deliver seperately - allowing you your flexibility)  but are generally delivered together (from an update site).

However, I've yet to come up with anything more, so I guess I might aswell just give up and stick to the Tile Map Editor.

Kev

Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #15 - Posted 2005-11-15 20:10:39 »

I think maybe you've read to much in to the name. What I meant above was - "I'm not calling it the TileMap Editor Plugin because I want to add more things to it".

Oops.  Embarrassed don't mind me Smiley


malloc will be first against the wall when the revolution comes...
Offline nonnus29

Senior Member




Giving Java a second chance after ludumdare fiasco


« Reply #16 - Posted 2005-11-20 00:56:22 »

When you start doing things other than tile map editing you start getting into level editing which to me seems to be game and implimentation specific.  So, personally, I'd shy away from someone elses editor because I'd have to code to accomodate their assumptions; about map files, trigger layouts, etc....
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #17 - Posted 2005-11-20 10:58:13 »

When you start doing things other than tile map editing you start getting into level editing which to me seems to be game and implimentation specific.  So, personally, I'd shy away from someone elses editor because I'd have to code to accomodate their assumptions; about map files, trigger layouts, etc....

Yeah, I've argued the very same thing many times. Map file format can be accomadated fairly reasonably with some sort of plugin system to allow developers to plugin in how they want to write it out - tho given the set of information that needs ot be saved from a generic level editor its probably more ego driving us to need to a specific level format than anything else.

Trigger/Additional information is absolutely true tho, this always ends up being game specific. This ends up with the developer fitting their needs to the properties system rather than the editor fitting the developer. Personally, I nearly always end up with a set of properties on entities/tiles that describe scripts/classes that get run when their interacted with.

Either way, it still comes down to, it you don't think it fits you, don't use it. Smiley

Kev

Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #18 - Posted 2005-11-20 14:05:34 »

For anyone who is interested in using it I've just uploaded a 0.2.0 version which contains support for placing and configuring entities on the map (useful for monsters etc..)

Kev

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #19 - Posted 2005-11-20 15:31:41 »

i get an error when trying to create a new map

i've test on two different computers both places get the same thing
one was windows xp running eclipse 3.2
second is a linux running eclipse 3.1.1
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #20 - Posted 2005-11-20 16:11:48 »

Ok, that one sorted Wink - see version 0.2.2

Kev

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (25 views)
2014-04-15 18:08:23

BurntPizza (20 views)
2014-04-15 03:46:01

UprightPath (35 views)
2014-04-14 17:39:50

UprightPath (18 views)
2014-04-14 17:35:47

Porlus (34 views)
2014-04-14 15:48:38

tom_mai78101 (60 views)
2014-04-10 04:04:31

BurntPizza (118 views)
2014-04-08 23:06:04

tom_mai78101 (218 views)
2014-04-05 13:34:39

trollwarrior1 (185 views)
2014-04-04 12:06:45

CJLetsGame (192 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!