Featherweight 3D / 2D ascii game engine for Python 2.7+ with no external dependencies and written in Python and optimized in C.
Project description
Asciin.py
A 2D and 3D Ascii game engine written for performance (still under development)
Current docs: https://asciipy.readthedocs.io/en/latest/
pypi project: https://pypi.org/project/Asciin.py/
Status Demo
- Matrixes Patterns
An example in working with PixelPainters.
Credits to LuckyDevStuff for the examples ~
More examples here.
Installing
Python 2.7 or higher is required
// Windows
py -m pip install -U asciin.py
// Linux/macOS
python -m pip install -U asciin.py
Simple Example
from Asciinpy import Square, Displayable, Window, Resolutions
# Define a window
window = Window(resolution=Resolutions._60c)
@window.loop()
def game_loop(screen):
# type: (Displayable) -> None
coordinate = (0, 0)
length = 8
texture = "%"
Square = Square(coordinate, length, texture)
while True:
screen.blit(Square)
screen.refresh()
window.run()
Contact me at Neo#1844 for inquiries.
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
Asciin.py-0.1.4.tar.gz
(14.3 kB
view hashes)