Skip to content

Remake of Battle City (a.k.a. Tank1990). Written in C++11 and OpenGL using SDL2.0.

Notifications You must be signed in to change notification settings

luyiming/BattleCitySDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BattleCitySDL

  • License: MIT
  • Platform: Windows/Linux/MacOS

Project Info

Remake of Battle City (a.k.a. Tank1990). Written in C++11 and OpenGL using SDL2.0.

Screenshots

Building Source

Prerequisites

The following libraries are required to build:

Please make sure that all dependancies are installed and linked properly to your PATH before building.

Windows

SDL2.0-related libraries have already been prepared in the lib/ folder. If you like, you can replace them with the newest files from SDL2.0.

Linux

If you use Debian/Ubuntu, simply cut'n paste:

sudo apt-get install libsdl2-dev libsdl2_image-dev libsdl2_mixer-dev

Build Instructions

Linux

mkdir build
cd build
cmake .. # You can switch to other build systems, see cmake manual
make     # the default build system on Linux is "Unix Makefiles"
./BattleCitySDL # run the game

Windows

mkdir build
cd build
cmake .. # the default build system on Windows is Visual Studio

Open BattleCitySDL.sln file in build/ folder. You can then build and run the project in Visual Studio. The executable file should be in build/Debug.

About

Remake of Battle City (a.k.a. Tank1990). Written in C++11 and OpenGL using SDL2.0.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages