BananiumLabs / AtomBlast.io

Multiplayer arena game which takes place at the molecular level.
MIT License
1 stars 0 forks source link

Basic shooting powerup #5

Closed 64bitpandas closed 6 years ago

64bitpandas commented 6 years ago

From @dbqeo on July 2, 2018 19:44

See the doc for more details.

We will focus on Binary Compounds, which are the simplest form of weaponry in the game.

Steps to completion:

  1. Create parent class BinaryAtom which contains the generic functionality and generic fields such as speed, damage, and size.
  2. Add a constructor to BinaryAtom which allows these fields to be set.
  3. In createPowerup(), add the different types of BinaryAtom to the switch statement, each with their own field values as defined in GLOBAL. No need to create individual classes for each sub-compound because they do not differ in behavior, only the values of the fields.
  4. Integrate with current GameObject movement system as well as the Health system to subtract health from players that it touches.

Copied from original issue: dbqeo/AtomBlast.io#5

64bitpandas commented 6 years ago

Superceded by Issue #8 which introduces a new gameplay design.