VASSAL Reference ManualHome > Module > Game Piece Palette > Game Piece > Can Rotate |
||
Can Rotate
|
This trait allows a piece to be rotated
through an arbitrary number of facings. NOTE: Since the rotations are created on the fly from a bitmapped image, the image quality of a rotated counter is less than the unrotated version. You can make better image quality for your rotations by creating separate GIF images for each rotation in an external paint program (If your images are based on vector objects, you can rotate them without degrading quality.) and putting them into different levels of a Layer. The "Can Rotate" trait will rotate only those traits that appear above it in the list of traits for a Game Piece. Traits below the "Can Rotate" trait will be drawn on top of the rotated image. You can choose the number of valid facings for a counter. For example, a hex-based game will have 6 (or possibly 12) possible facings, while a square-grid-based game may have 4 or 8. Alternatively, you can allow any arbitrary facing. In this case, selecting the 'Rotate' command will change the cursor and let the user drag the cursor to select the facing of the piece. |
![]() |