Hey gang!
I'm making a one button minigame for my colleagues.
At the beginning of the game, every player should be able to press a button of her choice. This button then becomes the "action" button for this player for the rest of the game.
How can I do this?
Löve and kisses
Alex
Which button was pressed?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Which button was pressed?
Sorry, but i don't get it. How do I use keypressed to assign a key to the player after pressing?
Re: Which button was pressed?
You detect the key that is pressed and store it in a variable, then use that variable as a reference later to find the player who pressed it.dubem wrote:Sorry, but i don't get it. How do I use keypressed to assign a key to the player after pressing?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests