Skip to main content

A small 2D tank game

Project description

Panzerspiel

A small tank game where you can customize your own tank.

Idea

The basic idea of this game was to make a customizable tank game. Therefor you have 100 credits to spend on different attributes of you tank are:

  1. Speed
  2. Acceleration
  3. Health
  4. DPS (damage per shot)
  5. Fire Rate

You will notice, that the acceleration is also used to calculate the angular velocity of your tank.

Goal

"Of course I know the rules. Simple. You hit him, don't let him hit you." -- Mr. Han

Movement

The red tank is controlled by the keys w, a, s, d and alt (left).

The blue tank is controlled by the keys i, j, k, l and space.

Arena

The consists of two different types of obstacles.

  1. Wood Boxes (500 life points)
  2. Stone Boxes (indestructible)

The position and number of stone and wood boxes as well as the start positions of the tanks are generated randomly. You may encounter to stuck within a box. Hopefully your enemy is a honourable gentleman and will restart the match.

Surge Factor

The surge factor specifies how many credit points do you need to set an attribute to its max. A surge factor of 0.9, the default value, means that you need 90 of 100 credit points to set you health to the max of 5000. You can change the surge factor in the options menu.

Licences

The code is published under the GNU General Public License v3.0 licence. The music was published under the Creative Commons Attribution (3.0) licence. You can find the licence at the /res2/music subdirectory.

Credits

Credits are going to Thomas Kötter making all the game assets except the explosion.

I found the explosion animation at: https://sinestesia.itch.io/2d-explosions-animations.

Credts are also going to Kara Square for the background music:

Transmutation by Kara Square (c) copyright 2017 Licensed under a Creative Commons Attribution (3.0) license. http://dig.ccmixter.org/files/mindmapthat/56527 Ft: Spinningmerkaba

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Panzerspiel-1.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Panzerspiel-1.0-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file Panzerspiel-1.0.tar.gz.

File metadata

  • Download URL: Panzerspiel-1.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for Panzerspiel-1.0.tar.gz
Algorithm Hash digest
SHA256 b154dcd1854dc1f94b9983f65baea9b24bfdd5b48f7a6e69e44d71070a94dbae
MD5 18dff25ac81c9401f9be454b3539b86c
BLAKE2b-256 82040ebba50f9827cd06214f281f758e72bbc90a790dc2d66b468698cafda3d4

See more details on using hashes here.

File details

Details for the file Panzerspiel-1.0-py3-none-any.whl.

File metadata

  • Download URL: Panzerspiel-1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for Panzerspiel-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8641224f8094e311dfd188bfd5e7d9438eb2642477877c134f98b41f04b09178
MD5 9ef3fbc5180a42226efde9ff72093f7f
BLAKE2b-256 134b8352961580fbe0ed6a4b3f4384fd00b131f3c57e00df6537f0eab1c6de7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page