Setup Pyxel On Ubuntu

Context

Let's play with Pyxel a new retro game engine called Pyxel, built with Python.

Warning: If you're using a Windows or Mac computer, use the Pyxel Install Instructions, instead.

Setup

  1. Install dependencies

    sudo apt install libsdl2-dev python3-pip pipx -y
    
  2. Install Pyxel

    pipx install pyxel
    pipx ensurepath
    

Tip: Verify this worked with which pyxel

  1. Install codium

    Pyxel does not come with an editor. To follow [/pyxel/hello/] exactly, you'll want to install codium. Otherwise, just replace codium in any example with your preferred text editor.

    sudo apt install codium
    which codium