In game button feedback

cbatescbates Member, PRO Posts: 11

Throughout building my first game I have come to the realization that my buttons (while they do work :) ), feel flat. So I sent about building in some feed back such as:

When touch is released --> perform button actions

<Grow / Shrink Rules>
When touch is pressed --> Increase width & Height by 10
When touch is released --> Reduce width and height by 10

in order to get that "Larger while pressed" look.

However this doesn't work is the user slides the touch off the button before releasing, the button just stays size +10.

What is everyone's favorite way to go about building visual feedback into button?

Comments

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

    When touch is pressed --> Increase width & Height by 10
    Otherwise --> Reduce width and height by 10

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • cbatescbates Member, PRO Posts: 11

    @tatiang said:
    When touch is pressed --> Increase width & Height by 10
    Otherwise --> Reduce width and height by 10

    Could it really be that simple lol.

    So for this to work properly, I would have to start the button 10x10 larger than it's resting size should be, correct?

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

    @cbates said:
    So for this to work properly, I would have to start the button 10x10 larger than it's resting size should be, correct?

    Ah, I see what you mean. Here, I made you a demo (attached).

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.