Getting Started with Pyxel

Let's get out tools ready to develop Pyxel games and more!

avatar

Sébastien Boisgérault
Associate Professor, ITN Mines Paris – PSL

Pyxel Studio Editor

Quickstart

Go to https://www.pyxelstudio.net and create a new project. That’s it, you’re done!

Pyxel Studio Landing Page

The Hard Way

Useful if you want:

  • to develop Python projects other than Pyxel games,

  • to work locally on your computer and not depend on “the cloud”,

  • to benefit from a more feature-rich development environment.

Visual Studio Code

  • Install Visual Studio Code, then

  • Install the Microsoft Python extension for Visual Studio Code.

Pixi

The Pixi package manager can help you to handle Python environments and dependencies, especially if you need some of the Python packages of PyPi but also some of the packages of conda-forge (which include both Python and non-Python software).

Pixi worflow

Install pixi, then for each new project, create a new empty pixi environment

pixi my_new_project

Then get into the newly created directory my_new_project

cd my_new_project

and install what you need from conda-forge, for example

pixi install python

then if you also need packages from PyPi, like pyxel, install them with

pixi install --pypi pyxel

Develop your project with your favorite editor, for example Visual Studio Code, and when you need to run your code, just type

pixi run python my_app.py

An good alternative to Pixi for pure Python projects is uv.