how do i change the center of rotation?

FloridaGamesFloridaGames Member Posts: 328
edited November -1 in Working with GS (Mac)
I making this game where i want to create a slash effect by rotating a sword actor, by it always rotates from the center, not the handle, so it looks like its just spinning.
Any suggestions?

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    If you need collisions you will need to use sin and cos (look in the help section).

    Easiest way is to open your sword png file in a graphics grogram like photoshop and double the size of the canvas so that the handle of the sword is in the center of the image and there is a bunch of empty transparent space underneath the sword.
  • FloridaGamesFloridaGames Member Posts: 328
    ok, thanks a lot.
Sign In or Register to comment.