UnderwaterApps / overlap2d-runtime-libgdx

Overlap2D - UI and Level Editor libgdx runtime
http://overlap2d.com
Other
170 stars 96 forks source link

overlap2d-runtime-libgdx doesn't work without freetype and box2D? #65

Closed ihitang closed 8 years ago

ihitang commented 8 years ago

I'm trying to reduce apk size. I don't use box2D in my game. Is there any possibility to exclude box2D from overlap2d-runtime-libgdx?

java.lang.ExceptionInInitializerError at com.uwsoft.editor.renderer.SceneLoader.initSceneLoader(SceneLoader.java:83) Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'gdx-box2d' for target: Linux, 32-bit

azakhary commented 8 years ago

You can make your own scene loader (by copying the original one, and remove all physics references from there, including Physics System and lights stuff)

ihitang commented 8 years ago

Ok, I'll try it, thanks

zssMostE commented 4 years ago

@ihitang Did you make you own scene?Could you give me your code?