SFML community forums

General => SFML projects => Topic started by: seba174 on September 27, 2017, 03:27:00 pm

Title: Warships
Post by: seba174 on September 27, 2017, 03:27:00 pm
Warships is an open source (https://github.com/seba174/Warships) logic game
where the only thing player has to do, is to destroy his enemy's ships.

Screenshots
(https://i.imgur.com/5GB9K6a.png)

(https://i.imgur.com/bXvjK44.png)


You can download version v1.1 here (https://github.com/seba174/Warships/releases/tag/v1.1)
Link to download the newest version of game:
You can download version v1.2 here (https://github.com/seba174/Warships/releases/tag/v1.2)

About game

NOTE:

Any criticism, advices or questions are highly appreciated.

Title: Re: Warships
Post by: eXpl0it3r on September 28, 2017, 08:15:28 pm
This is really cool! :)

The music and sound effects totally sell the game!

While I intuitively guessed correctly the first time that right click rotates the ships, you may want to add a little text at the start.
Title: Re: Warships
Post by: seba174 on September 28, 2017, 08:50:43 pm
Thanks eXpl0it3r!
To be honest there is a question mark in the screen, which displays help, when you touch it with the cursor (it's on a black screen).
But that isn't too intuitive, so i definitely has to change that.
Title: Re: Warships
Post by: Tank on September 28, 2017, 10:25:28 pm
Quote
Any criticism, advices or questions are highly appreciated.

I tried running it on Arch Linux, without luck. Wine wasn't able to run the exe, and building the source not possible, because lots of your code depends on Windows-specific stuff. Examples:

- stdafx.h includes windows.h
- Includes ignore case sometimes (e.g. including "enumGamestate.h" vs "enumGameState.h")
- Using types like POINT or functions like GetCursorPos. Those are unnecessary, as SFML has alternatives that work cross-platform

Screenshots look nice though, I was eager trying it. :)
Title: Re: Warships
Post by: seba174 on September 28, 2017, 10:43:40 pm
Thanks for your reply, Tank!
I plan to get my game running on Linux, but first i have to install it :P.
I think i am going to distribute Linux version by the end of this weekend.
So please stay tuned :).
Title: Re: Warships
Post by: Tank on September 29, 2017, 12:51:16 am
Great!
Title: Re: Warships
Post by: seba174 on October 02, 2017, 12:46:16 am
Warships v1.2
New features:
(https://i.imgur.com/lXidEWj.png)
Fixes:
Performance:

Added Linux support, although you may need SFML dependencies to run it (stuff like OpenGL etc., SFML libraries are included) as i wasn't able to build project statically. However, i run it successfully on Ubuntu and Mint with just standard libaries installed :).

You can download version v1.2 here (https://github.com/seba174/Warships/releases/tag/v1.2)