A module that give a scalable text writing function for pyxel
Project description
pyxel_scalable_writing
This module is made to run with pyxel
This module allow to write with a scaling text function
you MUST have a pyxres file that contain a white square of 20 pyxel width named writing_module.pyxres, you can use the one of the github
WON'T work with a white square superior to 20 px
To show your personnalised text, you must use the method parsing of class Character
Characters.parsing(string, x_depart, y_depart, unity_width, transparence)
string
is the text you want to show us
x_depart
and y_depart
is the top left position coordinates of your text
unity_width
is an optional paremeter, it's the width of an unity of your image (like a pixel but bigger), its default value is 5
transparence
is an optional element that is True by default, if you want to have your text on a black background, call it as False
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
Hashes for scalablewritingpyxel-1.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead01c29148b8428f9d9360e1afefec68e51c3896890f30388d0b70576d27111 |
|
MD5 | 910426ad371ace3a392ced5a11031a3f |
|
BLAKE2b-256 | 3ce7aef0ec22e2ce571312cb3c96641368a92e99a1e58f1cd661a92dd6293291 |
Hashes for scalablewritingpyxel-1.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 011a1635d990790b94b9d6c891c4c45dd9a5198f966eeb4a65269fbb7480bd8f |
|
MD5 | 678c517db0fee21794ab2692cc2365bd |
|
BLAKE2b-256 | ee51d3701e97c343a1a024a0d179aa161eb0d3bdd8cd9ec267f226aba0aa0be2 |