BomberUnits
...a Unity learning project
Bomb Mechanics Component

Bomb Mechanics Component

Requirements

Limitations

Solution

  • Staging bombs is easier (also with animation etc.) if we simply use a Photon View to sync them.
  • For synchronizing bomb states of charge etc., we can send custom data via the Photon view.
  • Parenting the bomb to the player has to be done, so it is carried with him. Investigate whether parenting is needed for remote players as well, or whether the photon transform is enough.
  • We could not place bombs freely before, but only on tiles (the tile's spawn). This should change, also to ease testing.
  1. Fire Button Pressed:
    • Create the bomb from a prefab.
  2. Fire Button sill pressed:
    • Create a bomb if this has not already been done.
Todo:
Write Bomb Mechanics page