Double tap rotation help?

CaketrollCaketroll Member Posts: 9
edited November -1 in Working with GS (Mac)
I have just started on GameSalad (not so long ago) and I need some help...

Does anybody know how you can double tap on an object and the rotation will stop, for example, and when double tapped again the rotation starts again.

Any ideas? Thanks :)

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    I've not done a "double tap" however I could see it being something like this;

    When touch is pressed
    * Change Attribute self.doubletap to TRUE.
    * Timer after 0.3 seconds change attribute self.doubletap to false

    2nd rule;
    When touch is pressed AND self.doubletap is TRUE
    ***Do behaviors that you want to be done after a double tap***

    That is just a guess on how to do it. There may be a more efficient way...
  • old_kipperold_kipper Member Posts: 1,420
    beat me to it...

    kipper
  • CaketrollCaketroll Member Posts: 9
    Why would I get banned? What have I done? Also, what's a Kirkland?
    Is it something I have to download, sorry uptimistik I don't understand you...
  • CaketrollCaketroll Member Posts: 9
    Also, isn't that rule just for a double tap? I was wondering if anybody knows how to say when double tapped, rotation stops and when doubled tapped again the rotation starts?

    Thanks again!
  • aandiaandi Member Posts: 99
    i have never heard of this person (cake troll) trust me (check ip's or something) i am watching because i want to know the answer. i don't know who this person is
  • CaketrollCaketroll Member Posts: 9
    I don't know what a Kirkland is, but can we please stay on topic? I really need some help...
    Thanks?
  • CaketrollCaketroll Member Posts: 9
    Does anybody know the answer? I really need a quick reply...
  • DrGlickertDrGlickert Member Posts: 1,135
    I would use a self.attribute for the rotation

    self.rotating? = 0 rotate clockwise
    self.rotating? = 1 rotate counter clockwise
    DrGlickert said:
    I've not done a "double tap" however I could see it being something like this;

    When touch is pressed
    * Change Attribute self.doubletap to TRUE.
    * Timer after 0.3 seconds change attribute self.doubletap to false

    2nd rule;
    When touch is pressed AND self.doubletap is TRUE
    ***Do behaviors that you want to be done after a double tap***

    That is just a guess on how to do it. There may be a more efficient way...

    in the ***Do behaviors that you want to be done after a double tap*** section do a:
    Change attribute self.rotating? to (self.rotating? +1)%2

    (What that does it makes it go from 0 to 1 then from 1 to 0)
    I think that should do it.
  • CaketrollCaketroll Member Posts: 9
    Will this work with this rotation?
    scene.Background.Actor 2.Rotation -52

    Is it the same way? If not, what do I do?
  • CaketrollCaketroll Member Posts: 9
    Rather confused, actually.
    Do I have to download this Kirkland thing? Can anyone give me a link or something?
    I googled it but nothing came up.
  • CaketrollCaketroll Member Posts: 9
    Rather confused, actually.
    Do I have to download this Kirkland thing? Can anyone give me a link or something?
    I googled it but nothing came up.

    Can anybody help? Anyone got any ideas?
  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    DrGlickert has already given you the answer, and people are going to stop trying to help you if you ignore the help that is offered and keep begging for help. In order for any advice to work, you have to actually TRY it in game, making adjustments and guesses so that you can learn the software. If you want constructive responses, you'll need to detail exactly what you did in the creator, and what the result was, and what the result is that you're trying to achieve. The forum won't be very helpful to you if you expect people to walk you through every step by the hand, especially, if you sound impatient. That being said, it sounds like you're new to Gamesalad, so you ought to check out this

  • CaketrollCaketroll Member Posts: 9
    I've not received a message from 'Tshirtbooth' or anyone. I think Kirkland is a person now, but I am not him. Check the IPs or something because I've never heard of someone called Kirkland.

    Maybe you should stop making accusations and get to know people first ;)
  • aandiaandi Member Posts: 99
    DrGlickert said:
    When touch is pressed AND self.doubletap is TRUE

    yh what does it mean and can you explain on this what attrbiute please can i have some help
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I warned you that if you created a 4th account to ask the same question I would ban you for 90 days, and what did you do? you created a 4th account.

    I'm closing this down.

    edit:
    I know all 24 IP addresses you post from, and using those I was able to tie all of your accounts together :

    aanid & kirckland & parsnip25 & begginerapp & jenny & caketroll
This discussion has been closed.