How to add emojis

I'm copy-pasting emojis into my Quest game, but when I test the game the emojis appear as boxes. Can you please help me insert emojis into the game?

Do they appear correctly in the editor? Is this a problem online, on the desktop player, or both?

Emoji are images stored within a font file, so as far as Quest is concerned they are just letters. They should work fine as long as the font you're using includes them. So it's possible you might need to change the font for them; or some settings in your browser might need changing.

No, the game is in development in Quest. When I paste the emojis in there, they appear as actual emojis, but when I test it, it just shows a box. I tried different fonts, but the emojis still appear as boxes. This emoji idea comes from 3 AM by ostrichadventurer64 btw.

Is this a problem online, on the desktop player, or both? I can't replicate the problem; they work fine for me. So I'm wondering if it's a problem caused by the old version of Chromium in the desktop version.

Also, have you tried using character entities? For example, 🦊 in a string will appear as 🦊 in the output.

Can you list the complete list of character entities then?

Here's a link to a table of 1089 of the more common ones. You can either use &#xhex number;, or &#xdecimal number;.

Some emoji have multiple forms; you can choose between 'text style' (same colour as text) or 'emoji style' (coloured emoji) by putting ︎ or ️ immediately after them; but this doesn't work in all browsers and platforms.

The character entity doesn't work. It still appears as a box.

I think, Angel, this might be a similar issue to what we ran into getting the grid system working. Emojis like this appearing in text is a fairly recent addition... well, recent in terms of how far back Quest's Chromium version is, anyway.

I thought it might be; that's why I was asking if the issue is desktop or online. Though as far as I can see they should be supported, if you're using a font that has those characters in. (Polyfill - searching alternative fonts to find one that has a specific character - wasn't well-implemented originally)

You may need to explicitly set emoji to display in a font that you know contains the ones you're using.

If you're unable to find a solution to this, you could take Emojis you want to use, download them/turn them into .png format, and then include them in the working folder of your game project. You could then call them up using {img:filename.png}. If they're of sufficient size, they should work just fine that way.

This topic is now closed. Topics are closed after 60 days of inactivity.