[v1.5.2] Introducing the Emoji Chat Suite

Actually, this is pretty cool. :cool:

Yeah Iā€™d like this

I have updated the Emoji Chat Suite to include predictive typing. If a user begins to type an Emoji, once the recognized denotation reaches a minimum of 4 characters, a list of up to 4 unique emojis will be displayed under the chat. If the user clicks on one, it replaces their in-progress denotation with the full denotation. The list disappears when the chat bar is unfocused or they finish a denotation, but will reappear if they gain focus on the chat bar or begin typing a new denotation. Feel free to change the minimum length requirement and maximum suggested emojis displayed in ChatScript.ChatMain.ChatBar.

6 Likes

This is sick!

I hopped onto your test place with my phone and noticed that scrolling input also registers as mouse clicking, so while scrolling through, everything my finger touched appeared in text input. Just a minor mobile bug.

Yeah Iā€™m not quite sure how I would patch this because thatā€™s just the way Roblox handles touch input. Iā€™d probably have to have some way to determine if a player is scrolling or not, which shouldnā€™t be too hard to do, but then Iā€™d also have to make sure it still works as expected on PC. I can try to fix this sometime soon, but no promises.

1 Like

I think you could probably check if the client is using a touchscreen and then bind to UserInputServiceā€™s TouchTap and TouchMoved events, but also Iā€™ve never used those events so I canā€™t vouch for whether theyā€™re consistent or not

Hey for a future update you could split the emojis in to categories like Discord does :slight_smile:

Maybe making it kinda like discord where the game can add on their own emojis if they choose for all players.

And even better maybe a player could upload emojis and for every game they went to they would be able to choose that emoji? Would have to use some data storage website thoughā€¦

I added tabs to the bottom of the emoji tray so that you can easily navigate between categories of emojis. Right now theyā€™re split up into popular, people, nature, food, activities, travel, objects, symbols, and flags which are the same categories Discord uses. The current section will be highlighted, hovering over a button will highlight it, and clicking on one of the buttons will jump to that section of the list.

image

Edit: Sorry, had to push a quick patch to this because there was a bit of an issue with splicing the categories into the emoji list.

4 Likes

Added support for all Emojis up through Emoji 5.0 (the latest version supported by all platforms) and fixed the issue with mobile scrolling. Skin tone support will probably be added eventually but I think Iā€™m done working on this for a little while since I have to start focusing on Flight.

This is amazing!

I have updated the Emoji Chat Suite again, about time I did too. So what has changed in the year since I last worked on it? Well for starters it is now a proper chat add-on rather than a fork, so if Roblox updates their chat it wonā€™t break the entire chat. It might encounter issues itself if this happens, but the chat itself will be fine.

Also I have added customization settings to make it easier for people that use it to make changes to it such as the width of the Emoji tray, the color of the tray, and whether or not the tray should match the theme of the default chat. The default Emoji tray matches the Roblox chat, but if you wish to return it to the original theme you can just disable the MatchChatTheme setting. Here is a picture of the new settings in action:

image

I have also attempted to make it auto-updating, but I have yet to verify if this works, so it might not work right away or at all which would be unfortunate. There are still some bugs, let me know if you find any!

10 Likes

The :corn: emoji is filtered out by Roblox. You may want to take it out.

Thanks for letting me know, I will remove it. Itā€™s been a while since I checked so I wasnā€™t sure if Roblox had changed what Emojis they filtered out, guess thatā€™s a newer one.

image
Should be noted that only the first 5 emojis show, before the rest are outputted in plain text

Check the Read Me. It tells you about the configuration and personalization settings. One of which sets the maximum number of Emojis that a message can contain. If you want it to be unlimited you can set it to any number above 50 and it should be fine as the Roblox chat has a 200 character limit and each Emoji is at least 5 characters.

Added customization settings to the predictive text so you can now set how many results show up and the minimum text length required to have these results appear. I also fixed a bug that forced the Emoji Chat to always update, even if it wasnā€™t out of date. I also fixed it so that your settings will save when it updates, as I forgot to do this before.

Only bug that exists that Iā€™m aware of is that if you join via play solo while using an outdated version the client will remain using the outdated client script until the playerscripts reload for that client. The Emoji Chat Suite will still function perfectly in a live server or a replicated server. This is an issue where the client loads at the same time as the server in play solo and is not delayed until the server loads in. I will see what I can do about this.

Please let me know if you find any bugs or have any suggestions. And like always, any and all feedback is welcome.

4 Likes

Awesome creation. My game 1010 is using this, as will my game Calmfall soon

1 Like

That looks really cool. Iā€™ll be using this in the future.

Amazing - looks really cool to use.