Skip to main content

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

on pypi !

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scalablewritingpyxel-1.3.6.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scalablewritingpyxel-1.3.6-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file scalablewritingpyxel-1.3.6.tar.gz.

File metadata

  • Download URL: scalablewritingpyxel-1.3.6.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for scalablewritingpyxel-1.3.6.tar.gz
Algorithm Hash digest
SHA256 656c91193b32898fa3fda49bc74b5fb66faf3e1d739ab578aec03ad776e42857
MD5 7728c90436218ca4cda0d633668709b1
BLAKE2b-256 8cdf3ca27366a19113b070ef50c54e3cc2349e36bec848bb81fafbcdb2e05354

See more details on using hashes here.

File details

Details for the file scalablewritingpyxel-1.3.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for scalablewritingpyxel-1.3.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 35d40d7130bdeb618c3ca1d4521b78896126f143bbc245b3b33c7c741e1d34c8
MD5 563e3c767933b2c58edfe8d3dc8a57c5
BLAKE2b-256 98c897b58ac7723d11b070067b4262bda327f314d719eaa1c79bdb18e7676f2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page