#I am creating a board game

1 messages · Page 1 of 1 (latest)

wind scroll
#

There is a time limit for each turn of 5 seconds and you can pause the game in between, i wanted to use the space bar as the button that enables the pause function. Does anyone have any idea on how i can pull this off?

whole anchorBOT
#

<@&987246399047479336> please have a look, thanks.

whole anchorBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

final dune
#

have it act as an interrupt on the other timers. if(notPaused) ....

wind scroll
#

i want to use the space as the key to do that, but im not sure how to use it

jolly smelt
#

What frameworks are you currently using? There might already be one supporting key events