Is It Better to be Pressed or Released

RodericRoderic Member Posts: 145
edited November -1 in Working with GS (Mac)
I find that sometimes when I use the rule to press a menu button (to go to another scene, for example) that it is not always responsive on my device. Sometimes I use release and I often get a better response. So, other than the obvious, and for the purpose of just taking the user to another screen, does it really matter if we use press or release?

Comments

  • bluebyu25bluebyu25 Member Posts: 500
    Ive wondered this too. I only have this issue on the iPhone 4 oddly enough. I changed all of the rules to release to see if it worked better. The bottom line is, sometimes neither one are responsive and its very annoying for games that depend on it. I even double checked my ram usage.....my app was running at 55-60 FPS and I still had the issue.

    Would love to hear what the higher ups have to say about the matter.
  • StusAppsStusApps Member, PRO Posts: 1,352
    It enables you to do a few things with button presses.

    For example I alway have rules that when it is pressed it changes size a little or rotates a little to simulate being pressed, also I put the button press sound in here. Then in the button released I have it change scene.
  • RodericRoderic Member Posts: 145
    Ok, Thanks Stu. I've seen that before and I keep forgetting to do that in my apps. Do you ever have the problem when testing on a device that it doesn't always respond? I have to tap it several times to get it to work sometimes.
  • jadjad Member Posts: 135
    yeah, I say touch is pressed; change image, touch is released; change scene and image.

    The problem with this is that if you slide your finger off the button without releasing it stays the touch is pressed color.
  • LumpAppsLumpApps Member Posts: 2,881
    Press to change color or size, release to do the action. As mentioned above.

    If buttons get to small it often responses bad.
    I have a lot of my buttons in the background image and have a button with alpha = 0 that is (slightly) bigger then the visual button.
    You can use this trick on small actors too.

    Cheers!
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I think really its a matter of preference I seem to notice a lot more buggy stuff with release so I try to stay away from it if I can. You can achieve the same thing in one rule buy placing your action inside a timer in the touch rule then you can have the color change of the size change when pressed and have a long enough delay to see it pop back up before the change.
Sign In or Register to comment.