Pycraft
Pycraft is the OpenGL, open world, video game made with Python.
Install / Use
/learn @PycraftDeveloper/PycraftREADME
Contents
About
Pycraft is a 3D open-source, open-world video game made in Python. For a long time attempts to make large 3D games in Python have been ignored, we believe there are two reasons: one; People use Python primarily for data handling and processing and not graphics and, two; there is little to no documentation out there to do anything more than make a 3D rotating cube in Python. Making a 3D game in Python for us hasn't been an easy experience, far from it but we have decided to share my project, complete with tutorials, explanations, articles and code explanations in the hope that 3D game development in Python can be seen as a more easily attainable target, and to fill that gap in documentation. Pycraft then is a trial project, as we learn and experiment on what goes best where and how thing go together, this is why development can sometimes appear to have stopped, because we are learning and testing what we have learned, so hopefully for people in the future it will be an easier experience. Also, don't forget there is more to game development than just graphics, there is AI, sound, physics and all the other GUIs that go with it, and as we learn the quality of the overall program will improve. Pycraft is not going to be the final name of the game, however until something better becomes available, we shall stick to it.
Setup
Note: Python version 3.7 to 3.11 is required!
Installing the project (recommended)
The way to install Pycraft is changing. For the best experience, we recommend this installation approach:
- Navigate to the most recent release of Pycraft in the releases section
- Download the installer in your desired format.
- Run the installer and follow the installation instructions.
Note: If you run the installer from the source code, instead of through an executable format, make sure you have the following packages: requests, pillow. You can install these packages together using the command pip install requests pillow and on Linux make sure you also install pillow's dependencies using: sudo apt-get install python3-pil.imagetk and that you have the full Python standard library, which can be installed using the command: sudo apt install python3.10-full
Installing the project (manual approach)
The way we develop Pycraft is changing with code developed here and the resources hosted through MediaFire. The new installer is built to handle this, and is recommended, however if you wanted to install Pycraft on your system manually, do the following:
- Download the source code for the most recent release of Pycraft in the releases section
- Extract the contents to a directory of your choosing on your system.
- Download the resources for Pycraft, found here
- Extract the contents to the same directory as the code on your system.
- You should end up with two sub-directories called:
srcandresources. - Run the command:
pip install -r requirements.txtfrom the directory you just installed Pycraft to. This installs Pycraft's dependencies.
Note: When installing Pycraft manually, you will likely be automatically be updated to the latest version when a newer version is available. This behaviour can be configured in the settings menu.
Execution
In order to run Pycraft on your system, please follow the steps below before heaving to the "Everyone" section.
If you installed Pycraft through the installer
Or created a custom virtual environment in the Pycraft directory yourself.
- Navigate to the directory
Pycrafton your system. - From here the process is different depending on which operating system you are using:
- On Windows; head to this location within the
Pycraftdirectory:/venv/pycraft/Scripts/python.exe - On Linux; head to this location within the
Pycraftdirectory:/venv/pycraft/bin/python
- Make a note of the full path to this location.
If you manually created your own virtual environment
- Navigate to the location you created your custom virtual environment in.
- From here the process is different depending on which operating system you are using:
- On Windows; from there head to this location:
/venv/pycraft/Scripts/python.exe - On Linux; from there head to this location:
/venv/pycraft/bin/python
- Make a note of the full path to this location.
If you installed manually, and don't want to use a custom virtual environment
- This process is much simpler, simply make a note of the command you would use to run python in the terminal.
- On Windows, this will likely be
python - On Linux, this will likely be
python3orpython
Everyone
- From the
Pycraftdirectory, navigate to thesrcsub-directory. - Open this sub-directory in a terminal or command prompt window.
- Type or paste (by right clicking or using the shortcut;
CONTROL + SHIFT + v) the location of the Python executable you made a note of earlier. - Then type
main.pyand hit enter.
Note: We strongly advise you make a shortcut for this command as it makes the process of running Pycraft much easier.
Credits
With thanks to; <br />
- Thomas Jebson (PycraftDeveloper)
- Count of Freshness Traversal
- Dogukan Demir (demirdogukan)
- Henri Post (HenryFBP)
- FreeSound: - Erokia's "ambient wave compilation"
- [FreeSound: - Soundholder's "ambient meadow near forest"](ww
Related Skills
qqbot-channel
347.6kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
claude-opus-4-5-migration
108.4kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
docs-writer
100.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
347.6kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
