Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Warships  (Read 2830 times)

0 Members and 1 Guest are viewing this topic.

seba174

  • Guest
Warships
« on: September 27, 2017, 03:27:00 pm »
Warships is an open source logic game
where the only thing player has to do, is to destroy his enemy's ships.

Screenshots



You can download version v1.1 here
Link to download the newest version of game:
You can download version v1.2 here

About game
  • Single player and two-player mode(hot-seat)
  • Languages: English, Polish
  • Platform: Windows, Linux

NOTE:
  • it is my first project ever
  • by this project i learned both C++ and SFML libary, so the quality of the code is not so high

Any criticism, advices or questions are highly appreciated.

« Last Edit: October 02, 2017, 11:19:19 pm by seba174 »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10800
    • View Profile
    • development blog
    • Email
Re: Warships
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

seba174

  • Guest
Re: Warships
« Reply #2 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.
« Last Edit: October 02, 2017, 01:33:12 am by seba174 »

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Warships
« Reply #3 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. :)

seba174

  • Guest
Re: Warships
« Reply #4 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 :).

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Warships
« Reply #5 on: September 29, 2017, 12:51:16 am »
Great!

seba174

  • Guest
Re: Warships
« Reply #6 on: October 02, 2017, 12:46:16 am »
Warships v1.2
New features:
  • small help information is displayed at the beginning of a game

Fixes:
  • fixed an issue, when sometimes setting audio volume did not work
  • fixed an issue, when rarely player could not properly place ships
  • fixed a bug with displaying player's name
Performance:
  • heavy textures are now loaded only when they are used
  • compressed (lossless) many textures

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
« Last Edit: October 02, 2017, 11:11:50 pm by seba174 »

 

anything