How to make clock hand rotate?

virinder01virinder01 Member Posts: 23
edited April 2015 in Working with GS (PC)

My character is a clock hand so it is rotating and the only way for it to rotate is for the character to be in the middle of the square (the square where I made my character in gimp) then go outwards as a rectangle (it has to start from the middle because actors rotate from the middle. Since the actor has to start from the middle of a Square to rotate and the go outwards as a rectangle to make a clock hand that means the rest of the square that is not the clock hand is transparent so it won't be seen. So in my game the actor (clock hand) is spinning and my main actor doesn't want to touch it. But if my main actor does touch it the scene changes to a game over screen but the problem is if my main actor touches the transparent part of the clock hand actor the scene changes and I don't want that I want the seen to change only when my main actor touches the clock hand and part of the clock hand actor not the transparent part. If you need a picture can someone tell me how to upload one, thx.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited March 2015

    You need to make the clock hand a separate actor that is a thin rectangle and rotate it with an offset value. Either Google gamesalad offset rotate or take a look at @Socks' Link Machines: https://forums.gamesalad.com/discussion/75220/fast-constrain-linkmachine-v2.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited March 2015

    Also, two things about your thread: please use descriptive titles rather than ("I have a problem"; everyone here has a question or problem). I've changed the thread title for you.

    Also, please post in Working with GS (Mac) or Working with GS (PC) unless you are actually a teacher. Are you using a Mac or PC? I'll move this for you.

  • SocksSocks London, UK.Member Posts: 12,822
    edited March 2015

    @tatiang said:
    You need to make the clock hand a separate actor that is a thin rectangle and rotate it with an offset value. Either Google gamesalad offset rotate or take a look at Socks' Link Machines: https://forums.gamesalad.com/discussion/75220/fast-constrain-linkmachine-v2.

    Actually, the Off-Centre Pivot Point project is probably more useful here:

    https://forums.gamesalad.com/discussion/76882/

  • virinder01virinder01 Member Posts: 23

    Sorry about the "I have a problem" title I didn't know, and I am using the windows version of gamesalad

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @virinder01 said:
    Sorry about the "I have a problem" title I didn't know, and I am using the windows version of gamesalad

    Thanks, I've moved this to Working with GS (PC).

Sign In or Register to comment.