Author Topic: Move sprite around another with mouse  (Read 728 times)


  • New Member
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Move sprite around another with mouse
« on: Tue, Nov 22, 2016 »
Hi everyone, first time posting here. I've been looking around the forums for a while but i haven't found something quite specific to my problem. My problem is the following:

I want to have a sprite that moves, following the mouse, around another static sprite. Think of it as a "shield" that moves to protect the center sprite from projectiles. The closest thing i can think of now is the arm movement from the Madness flash games. The "shield" should only move in a certain radius thats always at the same distance from the center sprite.

Any thoughts?