Edit ascii art scenes and control object overlay.
Project description
ascii-scenery-assembler
A tool that helps with putting ascii sprites over each other.
Guide
Requirements
- Python (3.10-ish or more recent recommended)
- pip for easy installation
- git for alternative installation
If you're not sure whether you have Python on your machine, type python --version in the terminal. If you get something like "no such command", go to https://python.org and get it from there.
Installation
Type pip install asciiasm in the terminal.
With git:
Type git clone https://github.com/aal337/ascii-scenery-assembler.git in the terminal, then cd ascii-scenery-assembler, then pip install . .
Usage
- Type
asciiasmin the terminal. - Available commands:
load sprite path/to/sprite.txtwhere path/to/sprite.txt is the path to your sprite, which will be used as its name. Sprites currently have to be perfectly rectangular, including whitespace.place sprite layer row columnwhere layer is the number of the layer you want to put the sprite into, row the number of the row where the top left corner of the sprite should be, and column the number of the column. Rows/columns start at 0 and are counted from top to bottom/left to right. Layers start at 0, the higher the number, the further your sprite is- save canvas path where path is the path at which you want to save your canvas.
- End application:
- CTRL + C
- Type
exit tool
The app will crash if you do something like opening a nonexistent file or placing a nonexisting sprite.
Features
Currently, you may want to use something else with more QoL and customisation options. Analysing sprites to determine which whitespace fills a shape and which whitespace is outside of a shape to make the latter transparent is the main feature of this tool. See also: https://summer.hackclub.com/projects/6906
Disclaimer
I am not absolutely sure if everything works properly. Just take a look at the contents of the tests folder. Your terminal could behave weirdly after usage.
Contribution
If you've got feedback, send an email or open an issue.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asciiasm-0.2.0.tar.gz.
File metadata
- Download URL: asciiasm-0.2.0.tar.gz
- Upload date:
- Size: 255.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27ab01d7f4cfd0971df145b63f7cbf044bc3c3b94e89777f9eb72234d15d86bb
|
|
| MD5 |
565168ce8b846f63722c6ac0746093f9
|
|
| BLAKE2b-256 |
79c3937060a7d8f65782f3dce520687f5fc92d8b9dbdca79093be800b040f2d7
|
Provenance
The following attestation bundles were made for asciiasm-0.2.0.tar.gz:
Publisher:
pypi-publishing.yml on aal337/ascii-scenery-assembler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asciiasm-0.2.0.tar.gz -
Subject digest:
27ab01d7f4cfd0971df145b63f7cbf044bc3c3b94e89777f9eb72234d15d86bb - Sigstore transparency entry: 707865854
- Sigstore integration time:
-
Permalink:
aal337/ascii-scenery-assembler@77ea4cefb707278b6b76c37a8d816c064c3367c8 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/aal337
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publishing.yml@77ea4cefb707278b6b76c37a8d816c064c3367c8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file asciiasm-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: asciiasm-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
814436ac6e995e39f6d50a71608608f9e9e08caeb8513539f429aa61f4f58967
|
|
| MD5 |
dfdf1a7bdefb9dee5e938c7f43ee3b79
|
|
| BLAKE2b-256 |
e97b41cb3e496635e4958d5df2749ae731417a74ce8a0474e84f11b24468a059
|
Provenance
The following attestation bundles were made for asciiasm-0.2.0-py2.py3-none-any.whl:
Publisher:
pypi-publishing.yml on aal337/ascii-scenery-assembler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asciiasm-0.2.0-py2.py3-none-any.whl -
Subject digest:
814436ac6e995e39f6d50a71608608f9e9e08caeb8513539f429aa61f4f58967 - Sigstore transparency entry: 707865855
- Sigstore integration time:
-
Permalink:
aal337/ascii-scenery-assembler@77ea4cefb707278b6b76c37a8d816c064c3367c8 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/aal337
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publishing.yml@77ea4cefb707278b6b76c37a8d816c064c3367c8 -
Trigger Event:
release
-
Statement type: