Unicorn Wars - turn-based strategy game

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Unicorn Wars - turn-based strategy game

Post 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
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Unicorn Wars - turn-based strategy game

Post 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.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Unicorn Wars - turn-based strategy game

Post 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
thanhle
Posts: 325
Joined: Wed Jun 12, 2013 8:09 am

Re: Unicorn Wars - turn-based strategy game

Post 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
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Unicorn Wars - turn-based strategy game

Post by hendu »

Sure, re-uploaded:
https://anonfiles.com/file/4af5e3ec5a1a ... 80a07f0f9a

But I should note, this game is not open-source.
thanhle
Posts: 325
Joined: Wed Jun 12, 2013 8:09 am

Re: Unicorn Wars - turn-based strategy game

Post 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
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Unicorn Wars - turn-based strategy game

Post 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).
thanhle
Posts: 325
Joined: Wed Jun 12, 2013 8:09 am

Re: Unicorn Wars - turn-based strategy game

Post 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
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Unicorn Wars - turn-based strategy game

Post 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.
Post Reply