/panZoomLab

A code lab to explore off-screen Image capabilities in the Pyxel game engine

Primary LanguagePythonMIT LicenseMIT

Pan/Zoom Lab

Another quick code lab for Pyxel to answer the question:

"What's the max dimension of an off-screen image in Pyxel?"

TLDR; There's virtually no max.

I went to the stupid 13440x10080 (320x240 x 42) to be sure.

Tech Demo

Install

This project uses Poetry, so all you have to do is install Poetry and run poetry install in this project directory.

Run

In order to completely isolate your environment, you should run this project under Poetry's managed environment:

Either in a separate shell spawned by Poetry:

poetry shell
python panzoomlab_pyxel/main.py

Or directly through the run command: poetry run python panzoomlab_pyxel/main.py