TMX map editor for Eclipse

  ... questions about tools around the development with AndEngine.

TMX map editor for Eclipse

Postby 32kda » Thu May 10, 2012 9:55 am

http://code.google.com/p/eclipse-tiled-mapper/

Please take a look at my project - TMX editor plug-in for Eclipse.
Feedback/Bug reports/feature requests are welcome
32kda
 
Posts: 16
Joined: Tue Oct 25, 2011 8:11 am

Re: TMX map editor for Eclipse

Postby OzLark » Thu May 10, 2012 12:23 pm

Hi, I installed it and had a quick play - pretty good!

Certainly looks promising.

Thanks for sharing,
Lark
Did this post help you? Feel free to return the gesture by downloading Ninja Bees, creating a level (or more) and sharing it to the Ninja Bees website!

Ninja Bees - Our latest Android game, check it out on Google Play (free) or paid with no ads
OzLark
 
Posts: 1130
Joined: Sun Feb 05, 2012 3:19 am

Re: TMX map editor for Eclipse

Postby nathanpsouza » Thu May 24, 2012 3:59 am

I'am having problems with this editor, when i create a map, import a png tileset, this works and show the sprites, but, after close and reopen the map, the tileset isn't displayed, and, in the android device, the map isn't showed, just a black screen is presented.

EDIT: On device is now working fine, i just forget to add map to scene :oops:
nathanpsouza
 
Posts: 6
Joined: Thu May 24, 2012 3:57 am

Re: TMX map editor for Eclipse

Postby 32kda » Mon May 28, 2012 2:49 pm

after close and reopen the map, the tileset isn't displayed

Can you please share a sample map somewhere? I'll try to find a bug in my plug-in & fix it.
Also, can I ask you to open Window->Show View->Error Log in Eclipse? Maybe some exceptions appears there while loading your map.
32kda
 
Posts: 16
Joined: Tue Oct 25, 2011 8:11 am

Re: TMX map editor for Eclipse

Postby nathanpsouza » Mon May 28, 2012 6:53 pm

this appears in error log

eclipse.buildId=M20120208-0800
java.version=1.6.0_31
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/nathanpsouza/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/nathanpsouza/.eclipse_keyring -showlocation

Error
Mon May 28 13:50:33 BRT 2012
Unhandled event loop exception

java.lang.NullPointerException
at com.onpositive.mapper.editors.MapEditor.updateCursorHighlight(MapEditor.java:1048)
at com.onpositive.mapper.editors.MapEditor.mouseMoved(MapEditor.java:997)
at com.onpositive.mapper.editors.MapEditor$MapMouseListener.mouseMove(MapEditor.java:182)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:211)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)


the map is attached to post.
Attachments
assets.zip
Map and tilesets
(109.75 KiB) Downloaded 164 times
nathanpsouza
 
Posts: 6
Joined: Thu May 24, 2012 3:57 am

Re: TMX map editor for Eclipse

Postby 32kda » Tue May 29, 2012 7:31 am

Thank you for report, will try to fix it ASAP.
32kda
 
Posts: 16
Joined: Tue Oct 25, 2011 8:11 am

Re: TMX map editor for Eclipse

Postby 32kda » Wed May 30, 2012 8:09 am

Problem fixed, please download v 0.1.4 from here:
http://code.google.com/p/eclipse-tiled- ... loads/list
32kda
 
Posts: 16
Joined: Tue Oct 25, 2011 8:11 am

Re: TMX map editor for Eclipse

Postby nathanpsouza » Thu May 31, 2012 6:06 pm

Not work for me :/
I has reinstalled eclipse and plugins, created a new map for test and not work :/

eclipse.buildId=M20120208-0800
java.version=1.6.0_31
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/nathanpsouza/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/nathanpsouza/.eclipse_keyring -showlocation

Error
Thu May 31 13:04:33 BRT 2012
Unhandled event loop exception

java.lang.NullPointerException
at com.onpositive.mapper.editors.MapEditor.updateCursorHighlight(MapEditor.java:1048)
at com.onpositive.mapper.editors.MapEditor.mouseMoved(MapEditor.java:997)
at com.onpositive.mapper.editors.MapEditor$MapMouseListener.mouseMove(MapEditor.java:182)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:211)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)



EDIT: Can u move the project for github?
nathanpsouza
 
Posts: 6
Joined: Thu May 24, 2012 3:57 am

Re: TMX map editor for Eclipse

Postby 32kda » Mon Jun 04, 2012 3:41 pm

Hi again.
Do you use map & tileset you shared here? If yes, maybe smth broken while building plugin, because sample map is opened well for me - need to investigate.
If no, can you provide map & tileset with directory structure which causes editor to fail?

Sorry, but Github seems inconvenient for me. If you want to get sources but have some problem with checkouting them from googlecode - I can either share or email them to you.

Also, would try to provide more informative exception texts & error msg to ease debugging.
32kda
 
Posts: 16
Joined: Tue Oct 25, 2011 8:11 am

Re: TMX map editor for Eclipse

Postby 32kda » Tue Jun 05, 2012 9:42 am

Please try this test ver:
http://code.google.com/p/eclipse-tiled- ... 4_test.zip

It should give explicit msg for path it can't find. Please post this msg here.
32kda
 
Posts: 16
Joined: Tue Oct 25, 2011 8:11 am

Next

Return to Tools

Who is online

Users browsing this forum: No registered users and 2 guests