A downloadable asset pack

Buy Now$4.00 USD or more

Give your sprites magnetic powers — attract collectibles, repel enemies, or create force fields. No physics engine required.

Simply add the behavior to any sprite, set a target object and watch the magic happen:

  • Attract / Repel — pull objects toward the magnet or push them away
  • Continuous / Impulse — constant force every tick, or a one-time push on a cooldown
  • Range & Inner Range — define the outer and inner radius of influence
  • Force — control the strength (0.1–100)
  • Falloff — force decreases naturally with distance for a realistic feel
  • Smoothness — instant snap or smooth inertia-based movement
  • Angle Limit — restrict the magnet's influence to a cone in front of the sprite
  • Separation — keeps targets from overlapping each other
  • Rotate With Magnet — attached objects orbit the magnet when it rotates
  • Multiple targets — affect several object types at once using comma-separated names (e.g. Enemy, Box, Coin)

No event sheet setup required. Drop it on, press play.

Purchase

Buy Now$4.00 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $4 USD. You will get access to the following files:

Magnet.c3addon 8.1 kB

Leave a comment

Log in with itch.io to leave a comment.