Giter VIP home page Giter VIP logo

overlap2d's People

Contributors

albertocejas avatar alexhladin avatar azakhary avatar billzo avatar biobob avatar chancezeus avatar dsaltares avatar eumario avatar gevorg-kopalyan avatar hohenheimsenberg avatar htynkn avatar majecty avatar pavelpuchok avatar pkayjava avatar rcdvl avatar saqsun avatar sasun avatar spookymachine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

overlap2d's Issues

Renaming identifier (image or group) delete object

  1. set identifier name on image or group
  2. save scene
  3. try to rename it using (backspace or delete key)
  4. object wil be removed from scene and from scene tree

osx 10.9.5, jdk 1.8, eclipse: 4.2.x, build from sources

[Bug] Unable to scale rotated objects using handles

Disclaimer: This is actually just an assumption, I haven't quite tested a newer overlap2d version out yet (I was using the one from a week ago).

While I was using Overlap2D I noticed that I was unable to use the resize handles on objects when they were rotated.

Recreation:

  1. Create a new object
  2. Resize the object by at least 10 degrees
  3. Go into resize mode
  4. Try to resize the object with the handles

Other than that, awesome product, keep it up!

[feature] Ruler system

Now that we have no borders to show size of camera. (Because Overlap2D does not know what size camera will you choose to have in your game) I plan to implement a ruler system, that will show coordinates and sizes in World Units or Pixels (you will be able to switch) and then you will be able to drag guide lines as you want

Snap to Grid, and tiling

It would be awesome if we can specify the snapping size in pixels (while keeping the default size to 1px) this will basically give a way to specify a tile-grid size and then snap assets to it. Nice addition will be to automatically "name" the grid items with matrix friendly names like (t[0][0], t[0][1] .. e.g.) And then have a tileScript assigned to them, to ensure complete tiling functionality if it is required.

File Menu, remember last project/s locations

o2d project is somewhere in hd and every time when I need to open it I must select full path again and again ;) Last opened will be fine.

osx 10.9.5, jdk 1.8, eclipse: 4.2.x, build from sources

Tileset support

For me the way of adding assets to Overlap2D is pretty unusal. Most of the time I'm having a big tileset with all stuff in it, so crunching that up would be a huge pain and thus being able to use just specific areas of a given texture would be succulent.

Support OTF and FNT

Currently TTF only seems to be the font-way of fonting here. But more formats should be supported, especially OTF and sometimes I (and probably you, too) already have a font as a bitmap font, so better support that stuff, too.

[Suggestion] Adapt the size of the dragged images to the zoom value

It's probably just my personal opinion, but when I'm dragging images from the library panel to the map, the images are way bigger than their real size on the canvas. It only happens when zooming of course.

That might help to position the objects more accurately, and faster.

Import sprite animations with underscore in their names.

I'm using Spriter for animation, but as there is no resizing for other resolutions yet, I decided to export them as pngs. Spriter exports them like this: image__000, image___001, image___00n.

Importing this in overlap causes a bad atlas with each frame named "image_" or "image" if just an underscore is present.

Crashes when images are too big

When I try and images using the repack button and they create a file too big, the application throws an out of memory error.

Crash when randomly clicking the buttons to mirror an image

I was using the 0.0.8a version downloaded from the website.

java.lang.NullPointerException
at com.uwsoft.editor.gdx.sandbox.ItemSelector.alignSelectionsByX(ItemSelector.java:287)
at com.uwsoft.editor.gdx.sandbox.ItemSelector.alignSelections(ItemSelector.java:436)
at com.uwsoft.editor.gdx.ui.UIToolBox$4.touchDown(UIToolBox.java:104)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:55)
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:181)
at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:146)
at com.badlogic.gdx.scenes.scene2d.Stage.touchDown(Stage.java:277)
at com.badlogic.gdx.InputMultiplexer.touchDown(InputMultiplexer.java:90)
at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:303)
at com.badlogic.gdx.backends.lwjgl.LwjglCanvas$3.run(LwjglCanvas.java:231)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL11.glDeleteTextures(GL11.java:732)
at com.badlogic.gdx.backends.lwjgl.LwjglGL20.glDeleteTexture(LwjglGL20.java:248)
at com.badlogic.gdx.graphics.GLTexture.delete(GLTexture.java:172)
at com.badlogic.gdx.graphics.Texture.dispose(Texture.java:197)
at com.badlogic.gdx.graphics.g2d.TextureAtlas.dispose(TextureAtlas.java:418)
at com.badlogic.gdx.scenes.scene2d.ui.Skin.dispose(Skin.java:389)
at com.kotcrab.vis.ui.VisUI.dispose(VisUI.java:60)
at com.uwsoft.editor.gdx.Overlap2D.dispose(Overlap2D.java:73)
at com.badlogic.gdx.backends.lwjgl.LwjglCanvas$4.run(LwjglCanvas.java:307)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Drag "Text Button" cause app to crash

After drag Text Button to scene, dialog appear and ask "there is no style...want to add", clicked Okay and app crash with this exception.

dev stack: osx 10.9.5, jdk 1.8, eclipse: 4.2.x, builded from sources

java.lang.NullPointerException
at com.uwsoft.editor.data.JarUtils.copyResourcesToDirectory(JarUtils.java:83)
at com.uwsoft.editor.data.manager.DataManager.copyDefaultStyleIntoProject(DataManager.java:807)
at com.uwsoft.editor.gdx.sandbox.UserActionController$1.onConfirm(UserActionController.java:120)
at com.uwsoft.editor.gdx.ui.dialogs.ConfirmDialog$1.touchUp(ConfirmDialog.java:45)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:57)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:348)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:96)
at com.badlogic.gdx.backends.jglfw.JglfwInput$1.touchUp(JglfwInput.java:92)
at com.badlogic.gdx.InputProcessorQueue.drain(InputProcessorQueue.java:80)
at com.badlogic.gdx.backends.jglfw.JglfwInput.update(JglfwInput.java:138)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.frame(JglfwApplication.java:212)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.start(JglfwApplication.java:197)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.initialize(JglfwApplication.java:177)
at com.badlogic.gdx.backends.jglfw.JglfwApplication$1.run(JglfwApplication.java:87)
at java.lang.Thread.run(Thread.java:745)
Source 'assets/ui' does not exist
java.io.FileNotFoundException: Source 'assets/ui' does not exist
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:776)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:744)
at com.uwsoft.editor.data.manager.DataManager.copyDefaultStyleIntoProject(DataManager.java:817)
at com.uwsoft.editor.gdx.sandbox.UserActionController$1.onConfirm(UserActionController.java:120)
at com.uwsoft.editor.gdx.ui.dialogs.ConfirmDialog$1.touchUp(ConfirmDialog.java:45)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:57)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:348)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:96)
at com.badlogic.gdx.backends.jglfw.JglfwInput$1.touchUp(JglfwInput.java:92)
at com.badlogic.gdx.InputProcessorQueue.drain(InputProcessorQueue.java:80)
at com.badlogic.gdx.backends.jglfw.JglfwInput.update(JglfwInput.java:138)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.frame(JglfwApplication.java:212)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.start(JglfwApplication.java:197)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.initialize(JglfwApplication.java:177)
at com.badlogic.gdx.backends.jglfw.JglfwApplication$1.run(JglfwApplication.java:87)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at com.badlogic.gdx.scenes.scene2d.ui.TextButton.(TextButton.java:33)
at com.uwsoft.editor.renderer.actor.TextButtonItem.(TextButtonItem.java:32)
at com.uwsoft.editor.renderer.actor.TextButtonItem.(TextButtonItem.java:27)
at com.uwsoft.editor.gdx.sandbox.ItemFactory.createComponent(ItemFactory.java:203)
at com.uwsoft.editor.gdx.sandbox.UserActionController$1.onConfirm(UserActionController.java:121)
at com.uwsoft.editor.gdx.ui.dialogs.ConfirmDialog$1.touchUp(ConfirmDialog.java:45)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:57)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:348)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:96)
at com.badlogic.gdx.backends.jglfw.JglfwInput$1.touchUp(JglfwInput.java:92)
at com.badlogic.gdx.InputProcessorQueue.drain(InputProcessorQueue.java:80)
at com.badlogic.gdx.backends.jglfw.JglfwInput.update(JglfwInput.java:138)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.frame(JglfwApplication.java:212)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.start(JglfwApplication.java:197)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.initialize(JglfwApplication.java:177)
at com.badlogic.gdx.backends.jglfw.JglfwApplication$1.run(JglfwApplication.java:87)
at java.lang.Thread.run(Thread.java:745)

[Crash Report] Crashes on Start-up.

I believe this happens when ever you launch Overlap2D from your project directory. Well anyways here is the crash log and my system specs.

From overlog.txt:

com.badlogic.gdx.utils.GdxRuntimeException: java.util.ConcurrentModificationException
        at com.badlogic.gdx.backends.lwjgl.LwjglAWTCanvas.create(LwjglAWTCanvas.java:222)`
        at com.badlogic.gdx.backends.lwjgl.LwjglAWTCanvas$1.initGL(LwjglAWTCanvas.java:89)
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:337)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
        at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:64)
        at sun.awt.RepaintArea.paint(RepaintArea.java:240)
        at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:584)
        at java.awt.Component.dispatchEventImpl(Component.java:4957)
        at java.awt.Component.dispatchEvent(Component.java:4703)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.awt.EventQueue$4.run(EventQueue.java:729)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.util.ConcurrentModificationException
        at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
        at java.util.ArrayList$Itr.next(ArrayList.java:851)
        at com.uwsoft.editor.renderer.SceneLoader.removeMissingImages(SceneLoader.java:171)
        at com.uwsoft.editor.renderer.SceneLoader.invalidateSceneVO(SceneLoader.java:160)
        at com.uwsoft.editor.renderer.SceneLoader.loadScene(SceneLoader.java:129)
        at com.uwsoft.editor.renderer.SceneLoader.loadScene(SceneLoader.java:151)
        at com.uwsoft.editor.b.c.k.<init>(UIStage.java:45)
        at com.uwsoft.editor.b.b.a.<init>(LevelEditorScreen.java:39)
        at com.uwsoft.editor.b.b.create(LunarEditorListener.java:28)
        at com.badlogic.gdx.backends.lwjgl.LwjglAWTCanvas.create(LwjglAWTCanvas.java:215)
        ... 26 more`

System Specs:

tsteinholz@Yuri:~/Development/Java/SpaceShooterArtists$ screenfetch
                                     tsteinholz@Yuri
         eeeeeeeeeeeeeeeee           OS: elementary OS 0.3 freya
      eeeeeeeeeeeeeeeeeeeeeee        Kernel: x86_64 Linux 3.16.0-34-generic
    eeeee  eeeeeeeeeeee   eeeee      Uptime: 1d 16h 29m
  eeee   eeeee       eee     eeee    Packages: 2384
 eeee   eeee          eee     eeee   Shell: bash 4.3.11
eee    eee            eee       eee  Resolution: 1920x1080
eee   eee            eee        eee  WM: Mutter(Gala)
ee    eee           eeee       eeee  WM Theme: elementary
ee    eee         eeeee      eeeeee  GTK Theme: Not Found [GTK2/3]
ee    eee       eeeee      eeeee ee  Icon Theme: Not Found
eee   eeee   eeeeee      eeeee  eee  Font: Not Found
eee    eeeeeeeeee     eeeeee    eee  CPU: Intel Core i7-4770 CPU @ 3.9GHz
 eeeeeeeeeeeeeeeeeeeeeeee    eeeee   GPU: GeForce GTX 650 Ti
  eeeeeeee eeeeeeeeeeee      eeee    RAM: 10937MB / 15986MB
    eeeee                 eeeee     
      eeeeeee         eeeeeee       
         eeeeeeeeeeeeeeeee          

As well as the directory I was launching the app from:

tsteinholz@Yuri:~/Development/Java/SpaceShooterArtists$ ls
assets      export   Overlap2D.jar  project.dt   README.md
config.pit  LICENSE  overlog.txt    project.pit  scenes

missing package in project?

Hi,
I'm trying to compile the project but I suppose something is missing in the repository?

import com.uwsoft.editor.renderer.data.ProjectInfoVO;
import com.uwsoft.editor.renderer.data.ResolutionEntryVO;

does not exist.

[Feature request] Zoom-in/out in editor

Hi, I love overlap2d editor, but there is one huge thing missing and that is zooming in/out in the editor, because when I am working with multiple resolutions, it's a huge problem.

BUG editor crush after importing TTF only with uppercase

Hello,

After importing TTF file only with uppercase characters, when you try to put label to scene editor crush with this messages:

log:

com.badlogic.gdx.utils.GdxRuntimeException: No x-height character found in font
at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.generateData(FreeTypeFontGenerator.java:331)
at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.generateFont(FreeTypeFontGenerator.java:153)

Build fails (Spine dependency issue)

Just cloned the repos and the gradle build fails with the following errors (it seems to be an issue with Spine):

src/com/uwsoft/editor/gdx/sandbox/ItemFactory.java:158: error: cannot find symbol
itm.setAnimation(itm.skeletonData.getAnimations().get(0).getName());
^
symbol: variable skeletonData
location: variable itm of type SpineActor
com/uwsoft/editor/gdx/ui/properties/SpineAnimationProperties.java:46: error: incompatible types: Object cannot be converted to Animation
for (Animation animation : object.getAnimations()) {
^
com/uwsoft/editor/gdx/ui/properties/SpineAnimationProperties.java:58: error: incompatible types: Object cannot be converted to Animation
for (Animation animation : ((SpineActor) item).getAnimations()) {
^
com/uwsoft/editor/gdx/ui/thumbnailbox/SpineAnimationThumbnailBox.java:72: error: cannot find symbol
animThumb.setAnimation(animThumb.skeletonData.getAnimations().get(0).getName());
^
symbol: variable skeletonData
location: variable animThumb of type SpineActor

[BUG]: value properties are applied as if scaled

If I take any item from canvas and change any value property (e.g. Pos X) the value somehow gets scaled internally. To check that you just need to deselect the selected item and reselect it and you'll see a different value than inputted. Note: value 0 is correclty handled.

[BUG] 0.0.8 Undo is unpredictable

You might already know it, but the undo action in the editor (at least on the 0.0.8 version) is quite unpredictable. Sometimes it undoes only one action, sometimes it's two of them, and sometimes more.

I thought at first it was related to different kind of save points, but it seems to be something different.

To reproduce it:

  • Take an object (I used an image)
  • Move it once somewhere
  • Move it somewhere else
  • Once again
  • Then Ctrl+Z, and it's going to be kind of randomly rewinded to some place it used to be.

(Sorry for the broken english)

Project corruption after crash.

After trying to import a sprite animation the editor crashed. I can not reload the project I was working on.
java.lang.ArrayIndexOutOfBoundsException: 32
at com.uwsoft.editor.renderer.actor.SpriteAnimation.initSpriteAnimation(SpriteAnimation.java:105)
at com.uwsoft.editor.renderer.actor.SpriteAnimation.(SpriteAnimation.java:78)
at com.uwsoft.editor.b.d.f.r.(SpriteAnimationThumbnailBox.java:30)
at com.uwsoft.editor.b.d.a.(AssetList.java:79)
at com.uwsoft.editor.b.d.aa.d(UILibraryBox.java:33)
at com.uwsoft.editor.b.c.k.c(UIStage.java:108)
at com.uwsoft.editor.b.d.b.x.e(DlgNewProject.java:118)
at com.uwsoft.editor.b.d.b.x.b(DlgNewProject.java:17)
at com.uwsoft.editor.b.d.b.aa.touchUp(DlgNewProject.java:82)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:57)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:348)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:96)
at com.badlogic.gdx.backends.jglfw.JglfwInput$1.touchUp(JglfwInput.java:92)
at com.badlogic.gdx.InputProcessorQueue.drain(InputProcessorQueue.java:80)
at com.badlogic.gdx.backends.jglfw.JglfwInput.update(JglfwInput.java:138)
at com.badlogic.gdx.backends.jglfw.JglfwApplication.frame(JglfwApplication.java:212)
at com.badlogic.gdx.backends.jglfw.JglfwApplication$3.run(JglfwApplication.java:188)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Compile error in ItemFactory.java, fresh clone.

Hello,

Wanted to give this whole setup a try. I cloned this, the runtime repo, and the spine repo. Setting it up in IntelliJ with JDK 1.8, i then setup a run configuration and tried to build. Got the following error:

Error:(165, 29) java: cannot find symbol
symbol: variable skeletonData
location: variable itm of type com.uwsoft.editor.renderer.actor.SpineActor

The error coming from here:

itm.setAnimation(itm.skeletonData.getAnimations().get(0).getName());

Checking the Spine Actor class in the runtime repo, it seems to have the skeletonData sections commented out.

build "instructions" insufficient

the instructions such as they are too vague and cloning git repos various and running gradlew and stabbing blindly at various buildNeeded etc doesn't work

there is no FAQ

missing KISS build system (ie ant - with default target that fetches/compiles all dependencies)

Cannot Import Spine Animations

Steps To Reproduce:

  • Use Overlap2D's Stable Build (0.0.7) and Public Alpha (0.0.8)
  • Export a Project from Spine as a JSON, with Create atlas enabled
    • Creates xxx.atlas, xxx.json, and xxx.png
  • Import into an Overlap2D Project as Spine/Spriter Animation (Selecting the xxx.json file)

Once you start the import, you will receive the error: javax.imageio.IIOException: Can't read input file!

After investigating, the xxx.png file isn't in the new directory when it tries to read this file at this point: TextureUnpackerFixed.java:98

After putting a break point there, and manually copying the xxx.png file there, it imports correctly.

I believe it may be caused by DataManager.java:340, it which it is looking for "- Image Path -", which is not in the xxx.atlas file.

It now begins to initialize the SpineActor, but we receive a NullPointerException here: SpineActor.java:104, because it is looking for a Spine bone named "root", which doesn't exist. Spine does not seem to create a bone with this name, nor have I read anything that implied to do so. Renaming the root bone to "root" fixes this. However, the Spine asset does not show under assets, could be because of the spine resolution.

Please let me know if you need more details.

[Bug] RC crashes on start on Linux system

I just downloaded o2d-0.1.0-RC.zip and tried to run it with java -jar overlap2d-0.1.0.jar. It shows for a little some small window and then crashes.

What's in the console:

vlaaad@vlaaad-notebook ~/D/o2d> java -jar overlap2d-0.1.0.jar 
Gtk-Message: Failed to load module "pantheon-filechooser-module"

(java:13383): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:13383): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:13383): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:13383): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:13383): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"
java.lang.IllegalStateException: The Drawable has no context available.
    at org.lwjgl.opengl.DrawableGL.checkDestroyed(DrawableGL.java:152)
    at org.lwjgl.opengl.DrawableGL.makeCurrent(DrawableGL.java:109)
    at org.lwjgl.opengl.Display.makeCurrent(Display.java:706)
    at org.lwjgl.opengl.Display.makeCurrentAndSetSwapInterval(Display.java:1025)
    at org.lwjgl.opengl.Display.setParent(Display.java:452)
    at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:137)
    at com.badlogic.gdx.backends.lwjgl.LwjglCanvas.create(LwjglCanvas.java:188)
    at com.badlogic.gdx.backends.lwjgl.LwjglCanvas$1.addNotify(LwjglCanvas.java:88)
    at java.awt.Container.addImpl(Container.java:1119)
    at java.awt.Container.add(Container.java:415)
    at com.badlogic.gdx.backends.lwjgl.LwjglFrame.addCanvas(LwjglFrame.java:135)
    at com.badlogic.gdx.backends.lwjgl.LwjglFrame$2.run(LwjglFrame.java:96)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
org.lwjgl.LWJGLException: X Error - disp: 0x7feff83921e0 serial: 246 error: BadWindow (invalid Window parameter) request_code: 2 minor_code: 0
    at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:320)
    at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
    at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
    at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
    at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1264)
    at org.lwjgl.input.Keyboard.destroy(Keyboard.java:357)
    at org.lwjgl.opengl.Display.destroyWindow(Display.java:349)
    at org.lwjgl.opengl.Display.access$400(Display.java:65)
    at org.lwjgl.opengl.Display$5.destroy(Display.java:835)
    at org.lwjgl.opengl.Display.destroy(Display.java:1095)
    at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:197)
    at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:174)
    at com.badlogic.gdx.backends.lwjgl.LwjglCanvas.create(LwjglCanvas.java:188)
    at com.badlogic.gdx.backends.lwjgl.LwjglCanvas$1.addNotify(LwjglCanvas.java:88)
    at java.awt.Container.addNotify(Container.java:2773)
    at javax.swing.JComponent.addNotify(JComponent.java:4749)
    at java.awt.Container.addNotify(Container.java:2773)
    at javax.swing.JComponent.addNotify(JComponent.java:4749)
    at java.awt.Container.addNotify(Container.java:2773)
    at javax.swing.JComponent.addNotify(JComponent.java:4749)
    at javax.swing.JRootPane.addNotify(JRootPane.java:757)
    at java.awt.Container.addNotify(Container.java:2773)
    at java.awt.Window.addNotify(Window.java:770)
    at java.awt.Frame.addNotify(Frame.java:487)
    at java.awt.Window.show(Window.java:1031)
    at java.awt.Component.show(Component.java:1654)
    at java.awt.Component.setVisible(Component.java:1606)
    at java.awt.Window.setVisible(Window.java:1014)
    at com.badlogic.gdx.backends.lwjgl.LwjglFrame$2.run(LwjglFrame.java:97)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.uwsoft.editor.Overlap2D.sendNotification(Overlap2D.java:107)
    at com.uwsoft.editor.Overlap2D.pause(Overlap2D.java:75)
    at com.badlogic.gdx.backends.lwjgl.LwjglCanvas$4.run(LwjglCanvas.java:308)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Field not found: libraryItems

I just tried to create a SceneLoader and I got this error:

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.SerializationException: Field not found: libraryItems (com.uwsoft.editor.renderer.data.ProjectInfoVO)
    at com.badlogic.gdx.utils.Json.readFields(Json.java:776)
    at com.badlogic.gdx.utils.Json.readValue(Json.java:902)
    at com.badlogic.gdx.utils.Json.fromJson(Json.java:714)
    at com.uwsoft.editor.renderer.resources.ResourceManager.loadProjectVO(ResourceManager.java:334)
    at com.uwsoft.editor.renderer.resources.ResourceManager.initAllResources(ResourceManager.java:86)
    at com.uwsoft.editor.renderer.SceneLoader.<init>(SceneLoader.java:47)
    at com.angega.testoverlap2d.MyGdxGame.create(MyGdxGame.java:13)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:143)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)

I checked the file "project.dt" and the field is there.

Make it easy to run from sources

Hi All,

I follow the readme file and clone three repo to make overlap2d run from sources.

I just wonder if we can have the dependency through maven central or use git submodules to make it easy to run from sources?

Or there are any special reason that overlap2d didn't do this?

Gradle fail to compile on some o2d files

Hi spine and libgdx gradle projects was compiled, but not overlap2d prj. Fail on methods that calls some props on spine runtime during compilation overlap2d.

Is the current spine runtime compatible with current overlap2d dev sources? Let me know.

dev stack:
osx 10.9.5
jdk 1.8
eclipse: 4.2.x

overlap2d/src/com/uwsoft/editor/gdx/sandbox/ItemFactory.java:158: error: cannot find symbol
itm.setAnimation(itm.skeletonData.getAnimations().get(0).getName());
overlap2d/src/com/uwsoft/editor/gdx/ui/properties/SpineAnimationProperties.java:46: error: incompatible types: Object cannot be converted to Animation
for (Animation animation : object.getAnimations()) {
overlap2d/src/com/uwsoft/editor/gdx/ui/properties/SpineAnimationProperties.java:58: error: incompatible types: Object cannot be converted to Animation
for (Animation animation : ((SpineActor) item).getAnimations()) {
overlap2d/src/com/uwsoft/editor/gdx/ui/thumbnailbox/SpineAnimationThumbnailBox.java:72: error: cannot find symbol
animThumb.setAnimation(animThumb.skeletonData.getAnimations().get(0).getName());

[Bug] 0.0.7 Physics shapes bug

Hi,

Sorry to flood the bug tracker, but these are real problems.
I've been experimenting with the editor, and after exporting for the tenth time, the shape of my wheel changed all alone. Some vertices moved to the bottom left corner of the window. Don't know why, don't know if you can reproduce it.

What I did:

  • Placing a few objects on the canvas like the tutorial (a few images + composities)
  • Place the ball, edit its shape so it looks like an octogon
  • Move it around, export it, test on Eclipse, rinse and repeat (about 10 times)

Please see this image:
ball_bug

What's weird is that it added two more vertices.

1px image import

I want to save some data in the scene, regarding to the scene and no to any object. So I tried to import an 1x1 alpha png with some variables, but it crashes.

This is the log:

java.lang.ArrayIndexOutOfBoundsException: 8
    at com.d.a.q.a(ResampleOp.java:422)
    at com.d.a.q.a(ResampleOp.java:152)
    at com.d.a.a.filter(AdvancedResizeOp.java:81)
    at com.uwsoft.editor.a.j.a(ResolutionManager.java:70)
    at com.uwsoft.editor.data.a.a.a(DataManager.java:1121)
    at com.uwsoft.editor.data.a.a.a(DataManager.java:1107)
    at com.uwsoft.editor.data.a.a.a(DataManager.java:59)
    at com.uwsoft.editor.data.a.j.run(DataManager.java:840)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.