Emojis for Godot (Deprecated)

by Jebedaia

44

Deprecated

Use Godot Font Icons instead!

github-top-lang lic emojis-lic

Emojis for Godot

This is Godot 4.x version if you what version for Godot 3.4+ check godot-3 branch.

addon-in-action

Important! Upgrading from 2.0 to 2.1

As 2.1 version use font instead of texture atlas in doesn't need so many files.
So to Upgrade in correct way you should:

  1. out side of godot
  2. remove 2.0 version form addons/ dir
  3. put 2.1 version into addons/ dir
  4. happy using new addon version

Now compatible with emojis Unicode 15.1

Version 2.1 (Godot 4.x):

This addon provides the following nodes to use emojis in Godot:

  • EmojiIcon: A node that displays an Emoji.
  • EmojiButton: A node that displays an Emoji as a button.

Version 2.x is rewritten to give you access to EmojisDB singleton for easier use of emojis anywhere in your project.

It's also adds EmojiFinder to the Godot's Project > Tools menu.
So you can find the emojis easily.

EmojiFinder Screen Shot

Using it with RichTextLabel

This is the example code of using emojis in RichTextLabel:

@tool
extends RichTextLabel

@export_multiline
var text_with_emojis: String:
	set(value):
		if !is_node_ready():
			return

		text_with_emojis = value
		bbcode_enabled = true
		text = EmojisDB.parse_emojis(value)
	
	get: return text_with_emojis

func _ready() -> void:
	if !Engine.is_editor_hint():
		bbcode_enabled = true
		text = EmojisDB.parse_emojis(text_with_emojis)

This is the result of the above code:

RichTextLabel Example Screen Shot

Exporting

For emojis to work in exported projects, you need add *.json files to include files settings:
include files settings

Version

2.0

Engine

4.0

Category

2D Tools

Download

Version2.0
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author