Skip to main content

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

logo

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

  1. Matrixes Patterns
    An example in working with PixelPainters.

demo

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


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)

Uploaded Source

Supported by

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