2D games

Everything works in 2D the same way. Responsive FX notices a 2D target (a Rigidbody 2D, or sprites and no 3D Rigidbody) and:

Damage numbers, flashes and impacts in a 2D game, in the four looks.
Damage numbers, flashes and impacts in a 2D game, in the four looks.
  • flashes the sprite's own shape (sorted just above it, following its sprite animation, flip and sorting layer),
  • pushes along the hit in the X and Y plane with an upward part, using the Rigidbody 2D (or the transform),
  • shakes and kicks an orthographic camera (the zoom kick changes its size),
  • shows numbers and bars as in 3D (Screen space keeps them the same size on screen),
  • points the player's damage arrow by screen up and right.

Tip: put Hit Feedback on the root and set Visual to the sprite child, so squash and stretch scales the sprite and not the collider. The 2D demo does this. Side-view games often like the Cartoon or Arcade preset.

Something unclear or wrong? Tell us · Get help