User prompt
Please fix the bug: 'Script error.' in or related to this line: 'inputTextDisplay.style.fill = "#000000";' Line Number: 655
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'classIconAsset.tint = parseInt(classInfo.color.replace('#', '0x'));' Line Number: 292
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'uiRefs.inputTextDisplay.style.fill = "#000000";' Line Number: 1259
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'uiRefs.inputTextDisplay.style.fill = "#777777";' Line Number: 1161
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'uiRefs.inputTextDisplay.style.fill = "#000000";' Line Number: 1259
User prompt
Please fix the bug: 'undefined is not an object (evaluating 'messagesContainer.addChild')' in or related to this line: 'messagesContainer.addChild(chatMessage);' Line Number: 1098
Code edit (1 edits merged)
Please save this source code
User prompt
Titanic Chat: Class & Collect
Initial prompt
A titanic chat room, a chat room all about the titanic. You get coins every time you chat. Everyone starts as a coal worker. Which gives you a tag of [coal worker] in dark gray. In the shop, you can buy usertags. Stay in the game for 300 seconds total, and have 10 coins total, you can buy one usertag called [third class] in light gray. [Second class] costs 500 seconds total and 50 coins total. It is white, and it gives you access to send photos. [First class] costs 1000 seconds total and 100 coins total. It is purple color, and you have access to send private chats to anyone in any class if they accept. [Crew member] costs 2500 seconds total and 500 coins total. It is red color, and you get access to delete your own chats. [Captain] it costs 5000 seconds total and 1000 coins. It is green color and you get access to everything mentioned plus the ability to send videos up to 5 minutes. Coal worker: +1 coin every chat. Third class: 2 per chat. Second class: 5 per chat. First class: 10 per chat. Crew members:25 per chat. Captain: 50 per chat. Coins can also be used to buy gifs and secret emojis like Titanic gifs and emojis. Every 60 seconds, a bit types in a random Titanic fact.
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});