Added main menu

This commit is contained in:
ultrablob 2024-04-17 17:23:12 -04:00
parent 18b2a3491c
commit 1be1826ddb
8 changed files with 758 additions and 0 deletions

12
EmojiValidator.gd Normal file
View file

@ -0,0 +1,12 @@
extends LineEdit
@export var pattern = ""
@onready var regex = RegEx.create_from_string(pattern)
func check(tet):
if len(text) > 1:
text = text[0]
print("Checking!")
print(regex.search(text))
if regex.search(text) == null:
text = ""