please help a beginner with bits
Posted: 20 Feb 2013, 23:24
Hi, I am new to Bits. Could I get code examples on how to do the following? If you point me to the API, please give me a direct link to where the code example is as I am really bad with finding it myself.
1) If the room already has 2 players in it, and a 3rd player clicks on it, is there a way to disable, or not display the "Play" button at all? I'm using the AS3 Bits. So I'd like the user to only be able to Watch if the room is full with players.
2) In the chat, how can I display the message on the same line as the nickname ? The default behavior is to insert a new line after the nickname, and then the message.
3) In the lobby, can I add a button that when clicked, buzzes the player (plays a sound on that player's computer)?
Thank you!
1) If the room already has 2 players in it, and a 3rd player clicks on it, is there a way to disable, or not display the "Play" button at all? I'm using the AS3 Bits. So I'd like the user to only be able to Watch if the room is full with players.
2) In the chat, how can I display the message on the same line as the nickname ? The default behavior is to insert a new line after the nickname, and then the message.
3) In the lobby, can I add a button that when clicked, buzzes the player (plays a sound on that player's computer)?
Thank you!