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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5047f722142348b89669e04cb5e33108f5f589551ddd71a986828944f4294b3 |
|
MD5 | b9e26c879cdfe60a851d5737c820d026 |
|
BLAKE2b-256 | c4f745df8f7d5a813506423161c3a6491f3618f70c87ae96e8a4990c7c7f15ea |
Hashes for scalablewritingpyxel-1.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8063437cb0e99c2cf231d9bf191435f4534dc96414b2689f3fd39188e254f97d |
|
MD5 | 1f084fe0368f2f9a6202121beb5c18c0 |
|
BLAKE2b-256 | 46de7c906c92bc643b29d615616df76b1d4121f2cf3d1205fff8e6963d6b234f |