API for using emojis in pygame.
Project description
Pygame Emojis
✨✨✨ Load emojis in pygame. ✨✨✨
This contain open source emojis from https://openmoji.org/
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygame_emojis-0.1.1.tar.gz
(35.3 kB
view hashes)
Built Distribution
Close
Hashes for pygame_emojis-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b585c703895e85c164c2551afe7f8540fb68a738e4084fc5b2e4bea1f7ce9a77 |
|
MD5 | 4a906be62bf15d8b31352c9aa1ea783c |
|
BLAKE2b-256 | ebae02d37de371c66c3eb4e9c8dd4806ba07c0e8896efada37fda6ee799fcc34 |