Page 1 of 1

Unicorn Wars - turn-based strategy game

Posted: Sat May 10, 2014 9:13 pm
by hendu
Here's a small strategy game I did for a ten-day game jam.

Eight levels, maybe ten hours of gameplay depending on how long you think. There may or may not be updates in the future, perhaps a Windows port later on.
You can consider this freeware, share the zip if you feel like it.

Image
Image

Download:
http://bayfiles.net/file/1dDZ9/dvG7u0/u ... -lin64.zip

Re: Unicorn Wars - turn-based strategy game

Posted: Mon May 12, 2014 11:18 am
by CuteAlien
Does not run with "bash: ./unicornwars.lin64: No such file or directory". And yeah - message is confusing me as well (it's a 64-bit system here and 'file' shows it's fine and executable flag is set). ldd showed that libjpeg.so.62 was not found, but I installed that and it still does not start. System is Debian stable.

Re: Unicorn Wars - turn-based strategy game

Posted: Mon May 12, 2014 2:47 pm
by hendu
Updated with fullscreen fix and a shiny new Windows port. See the readme for the Ubuntu issue, which is apparently on Debian too.

http://bayfiles.net/file/1dKVK/bWpnW6/u ... -win32.zip

Re: Unicorn Wars - turn-based strategy game

Posted: Sun Mar 15, 2015 2:58 am
by thanhle
Hi mate,
Link is down, can you re-upload it please.

I want to begin to learn some shader method from your code.

Thanks
thanh

Re: Unicorn Wars - turn-based strategy game

Posted: Sun Mar 15, 2015 9:12 am
by hendu
Sure, re-uploaded:
https://anonfiles.com/file/4af5e3ec5a1a ... 80a07f0f9a

But I should note, this game is not open-source.

Re: Unicorn Wars - turn-based strategy game

Posted: Sun Mar 15, 2015 10:32 am
by thanhle
Sure mate.
I just want to see how you manage different shaders.

----
There's an error in windows 7.
Failed to compile shaders.

Regards
thanh

Re: Unicorn Wars - turn-based strategy game

Posted: Sun Mar 15, 2015 11:44 am
by hendu
You should give the full error, that isn't useful. Also update your drivers, this sounds like Intel (the game was tested on win7 with AMD and Nvidia, and on Linux on AMD and Intel).

Re: Unicorn Wars - turn-based strategy game

Posted: Sun Mar 15, 2015 12:37 pm
by thanhle
Hi,
That was the error message box on intel card.
"Failed to compile shaders"

On Nvidia card it runs fine
But I found a bug, if you disable/mute the speaker.

The messagebox error is: "Can't init OpenAL" then it crash.

Regards
thanh

Re: Unicorn Wars - turn-based strategy game

Posted: Sun Mar 15, 2015 2:42 pm
by hendu
Please find the full log in the game's save dir, in either stdout.txt or stderr.txt. The save dir should be somewhere under your profile's Application Data, not on Windows ATM. If there still isn't enough info, you might need to start the game in debug mode (-d argument).

Missing sound is a valid error, so it exits if OpenAL cannot be initialized (not crashes :P). I wouldn't know why it fails with muted speakers, perhaps file a bug for OpenAL-soft.