shield arcs

BlitzMax Forums/BlitzMax Beginners Area/shield arcs

It depends on whether each of your shield arcs is drawn in its correct position within a square image, ie the left shield arc is on the left side of a square image and the right arc is on the right side, so that the centers of ALL five images (the ship and the 4 arcs) are all the same. Then you just rotate them together. You don't set the handle of the arcs to anything to do with the ship. You just do automidhandle or set the handle to the center, presuming the ship image and the arc images are all the same size squares on top of each other. Then rotating will rotate together. If your arcs are stored as narrow thin images then you will need to set the handle so that when they appear to be in the right position, their center is offset to one side of the arc image so it still is where the center of the ship is.