Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

cant get it to start, only opens cmd?

(1 edit) (+1)

Hmm, that's a bit strange (when something breaks it usually ends with crash,) maybe you can try to build it from source yourself. It is a visual studio project and the libraries (glad, glfw3, glm and stb) are included in the source zip. Also it opens cmd and the game window, because I don't know how to hide the cmd :P, maybe you just missed the game window.

Edit: After second thought, I think you really just missed the game window :). Menu is also mostly black, so if the cmd was over the game window and only a small strip of game window was visible, then it's not hard to miss it :). It is even easier to miss if you have dark background :D.

I'll look at it when I get home ^,..,^

(2 edits)

i kept it running for awhile, 30 min but only cmd opened. ^,..,^

i dont know how to build it from source? :P

only game i havent rated/played.

(4 edits) (+1)

If you want to compile it yourself, you can:

  • Build it with Visual studio - if you have visual studio with visual c++ installed, open the solution and build it. There should be the executable in (Soulution folder)/lightmage/build.
  • With g++ (MinGW or Linux) - GLFW (one of used libraries) uses binaries (.lib / .a), and in the source zip there is only windows version - .lib; so you need to download (and build if you don't download precompiled binaries) and add the .lib/.a files into /lightmage/libraries/libs/. Then (Solution folder)/lightmage> g++ -std=c++17 -I./libraries/include/ -L./libraries/libs -lglfw3 -o ./build/lightmage ./src/dungeon.cpp ./src/enemy.cpp ./src/glad.c ./src/main.cpp ./src/spell.cpp ./src/stbimpl.cpp should work; on Linux add -lGL -lX11 -lpthread -lXrandr -lXi -ldl. Also chmod +x will be propably needed on Linux.

Also, what hardware and OS do you have? Might take a look what causes the issue here :).

Another way to try it would be to try another machine :).

i managed to run it with visual studio. ^,..,^

really fun game. i dont like the movement and sounds would have been nice. xD

im using windows 10, Alienware laptop. :P

(+1)

Thanks :)

I still have no idea where the problem is, but at least it worked now :).