nodes/assets.pyΒΆ

Part of Pixel Runner.

 1"""Where the port's bundled art lives.
 2
 3One place resolves the asset root so every node module shares it, and the web
 4export finds the same relative layout it ships (``assets/`` beside ``main.py``).
 5"""
 6
 7from pathlib import Path
 8
 9ASSETS = Path(__file__).resolve().parent.parent / "assets"
10GRAPHICS = ASSETS / "graphics"