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
Built Distribution
File details
Details for the file pygame_emojis-0.1.1.tar.gz
.
File metadata
- Download URL: pygame_emojis-0.1.1.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8588b8e60c81680e1c9552eb8f19cf59cfe040609301eecd5d40e1454eedaab |
|
MD5 | ed21fcbf088d500c1811fd2b686d13ce |
|
BLAKE2b-256 | 2789681e1253c570ba40001a9794d0d4e9bfe284579f6312093f3693fdc72a92 |
File details
Details for the file pygame_emojis-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pygame_emojis-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b585c703895e85c164c2551afe7f8540fb68a738e4084fc5b2e4bea1f7ce9a77 |
|
MD5 | 4a906be62bf15d8b31352c9aa1ea783c |
|
BLAKE2b-256 | ebae02d37de371c66c3eb4e9c8dd4806ba07c0e8896efada37fda6ee799fcc34 |