I'm not on Windows but you can try this:
1. Install Python.
2. Create a new folder for your project.
2a. Download the Win64 Tilengine release from itch, and copy Tilengine.dll into your project folder
2b. Download the PyTilengine repo as a zip file from github.com/megamarc/PyTilengine and copy src/tilengine.py to your project folder, as well as the assets folder from the examples.
3. Use a text editor to create mygame.py which contains the following code:
from tilengine import Engine, Window, Tilemap engine = Engine.create(400, 240, 1, 0, 20) engine.set_load_path("assets/sonic") foreground = Tilemap.fromfile("sonic_md_fg1.tmx") engine.layers[0].setup(foreground) window = Window.create() while window.process(): window.draw_frame()
Your folder structure should look like this:
MyProject ├── assets │ └── sonic │ ├── Base.png │ ├── Base.tmx │ ├── Base.tsx │ ├── Sonic_md_bg1.png │ ├── Sonic_md_bg1.tmx │ ├── Sonic_md_bg1.tsx │ ├── Sonic_md_fg1.png │ ├── Sonic_md_fg1.tmx │ ├── Sonic_md_fg1.tsx │ └── Sonic_md_seq.sqx ├── mygame.py ├── tilengine.py └── Tilengine.dll
4. Open a cmd.exe or powershell window in your project folder. (here's some ways to do that in Windows, it changes all the time) and type python3 mygame.py and hit enter to run your game.