Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Been following on Twitter, love the update vids!

When trying to run on mac I get: 

Exception in thread "main" java.lang.ExceptionInInitializerError

at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1384)

at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:425)

at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:372)

at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:107)

at mystiqa.game.desktop.DesktopLauncher.main(DesktopLauncher.java:16)

Caused by: java.lang.IllegalStateException: GLFW windows may only be created on the main thread and that thread must be the first thread in the process. Please run the JVM with -XstartOnFirstThread. For offscreen rendering, make sure another window toolkit (e.g. AWT or JavaFX) is initialized before GLFW.

at org.lwjgl.glfw.EventLoop$OffScreen.<clinit>(EventLoop.java:38)

... 5 more

AL lib: (EE) alc_cleanup: 1 device not closed


I was able to run it myself with -XstartOnFirstThread, but it only black screens :(

Thanks man!

Shit. LibGDX really does not run well on Mac and Linux. It's really shit. Do yo by chance have a windows machine? It seems that's the only reasonable option :(

v0.2 crashes on windows. Switching to monogame?

It shouldn't crash anymore. I updated the 0.2 version :) Try to redownload it.

 But yeah, I'm switchting to MonoGame :)

0.1.1 works but 0.2 crashes.

Exception in thread "main" java.lang.NullPointerException

        at mystiqa.game.state.GameState.update(GameState.java:85)
        at mystiqa.game.state.world.WorldState.update(WorldState.java:98)
        at mystiqa.game.Game.render(Game.java:74)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:386)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:136)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:110)
        at mystiqa.game.desktop.DesktopLauncher.main(DesktopLauncher.java:16)

As I've said, that's the exact I should have fixed. Have you redownloaded 0.2?

If yes, honestly I'm out haha. Please just wait for the new version 0.2.1, I'm switching to a new framework (MonoGame) which will definitely work on Windows, Mac and Linux :)

Yes I have. Are you sure it's updated? On download page it says it's 3 days old.

Anyway I hope linux/monogame version will work fine (shaders?)

Yup, it's 3 days old. I updated it the morning after I uploaded the original. That's very strange. On most machines it works fine. Does the game folder include the graphics and shaders folder?

Yeah, I hope MonoGame works better too :)