Skip to content

ScienceGamez/pygame_emojis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pygame Emojis

✨✨✨ Load emojis in pygame. ✨✨✨

Upload Python Package

This contain open source emojis from https://openmoji.org/

example of how it looks

Usage

It is very easy to include emojis in your game 😊

First install the 📦 package 📦

pip install pygame-emojis

Then import the package from 🐍 python 🐍

from pygame_emojis import load_emoji

# Choose the size
size = (64, 64)

# Load the emoji as a pygame.Surface
surface = load_emoji('😍', size)

📥 The first time you use this package, it will automatically download a svg database. ✌🏼

Acknowledgements ❤️

Emojis come from https://openmoji.org/.

See also their repo https://github.com/hfg-gmuend/openmoji/.

Thanks a lot to the whole team: https://openmoji.org/about/#acknowledgement.

Thanks a lot to the developpers from pygame 🎮: https://www.pygame.org