Skip to content

PavelCherniavskyi/BattleCity2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BattleCity_v2.0

Overview

The game was made with SFML library as a pet project. 4 levels are available.

Controls

  • A,W,S,D
  • Shot - Left Click,
  • Big shot - Right Click,
  • Pause - Space.
  • Main goal - defend Eagle.

battle city

battle city3

Install Linux

sudo apt install cmake build-essential ccache python3-pip libgl-dev xorg-dev libx11-xcb-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-dri3-dev libxcb-util-dev libudev-dev
pip install conan

Install Windows Visual Studio (worked with 2019)

Go to Extention tab and search for "Conan" extention. Intall it. -Configure CMake in project & build. Currently have some issue with fonts. Comment out stageRender() call in Game::draw().

Using Sanitizers

Using GCC

  1. Turn on ENABLE_COVERAGE on cmake/Sanitizers.cmake on choose needed options.
  2. Build and run binary.
  3. Check for *.gcno && *.gcna next to object files are created. Go to that directory.
  4. lcov --capture --directory . --output-file=coverage.info
  5. genhtml coverage.info --output-directory=result See html file in result folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published