Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to delete button after certain time

$
0
0

@matttang7 wrote:

I am trying to create a rhythm game in openframeworks, and I was trying to find a way to delete buttons after they are clicked. I tried setting a timer so that it appeared in a certain time frame and had a boolean keep track of if it was clicked and if it was it would not set the button. However, after the time frame, even though I can’t see the button anymore, I can still click it. How can I delete the button instead of not displaying it?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles