* Fixed dev and devStandalone script * Added eslint no-unreachable code rule * Fix small type issue
|3 months ago|
|.github/workflows||10 months ago|
|.vscode||2 years ago|
|electron||10 months ago|
|electron_gog||8 months ago|
|electron_wegame||10 months ago|
|gulp||5 months ago|
|mod_examples||10 months ago|
|res||5 months ago|
|res_raw||9 months ago|
|src||3 months ago|
|translations||6 months ago|
|.editorconfig||3 years ago|
|.eslintignore||3 years ago|
|.eslintrc.yml||3 months ago|
|.gitignore||10 months ago|
|.gitpod.Dockerfile||2 years ago|
|.gitpod.yml||2 years ago|
|.prettierrc.yaml||3 years ago|
|.travis.yml||3 years ago|
|.yamllint||3 years ago|
|CONTRIBUTING.md||8 months ago|
|CONTRIBUTORS||3 years ago|
|Dockerfile||12 months ago|
|LICENSE||3 years ago|
|README.md||5 months ago|
|package.json||3 months ago|
|shapez.code-workspace||2 years ago|
|sync-translations.js||2 years ago|
|version||6 months ago|
|yarn.lock||9 months ago|
NEW: Shapez 2!
We are currently working on a successor to shapez, with 3D Graphics, Exploration, Layers, Mass transport, New Shape Mechanics, Research and a lot more! Be sure to check it out:
This is the source code for shapez, an open source base building game inspired by Factorio. Your goal is to produce shapes by cutting, rotating, merging and painting parts of shapes.
- Play on Steam
- Online Demo
- Official Discord <- Highly recommended to join!
- Trello Board & Roadmap
Reporting issues, suggestions, feedback, bugs
- Ask in
#questionson the Official Discord if you are not entirely sure if it's a bug
- Check out the trello board: https://trello.com/b/ISQncpJP/shapezio
- See if it's already there - If so, vote for it, done. I will see it. (You have to be signed in on trello)
- If not, check if it's already reported here: https://github.com/tobspr-games/shapez.io/issues
- If not, file a new issue here: https://github.com/tobspr-games/shapez.io/issues/new
- I will then have a look (This can take days or weeks) and convert it to trello, and comment with the link. You can then vote there ;)
- Make sure
ffmpegis on your path
- Install Node.js 16 and Yarn
- Install Java (required for texture packer)
yarnin the root folder
yarn gulp- it should now open in your browser
Notice: This will produce a debug build with several debugging flags enabled. If you want to disable them, modify
Mods can be found here. The documentation for creating mods can be found here, including a bunch of sample mods.
Build Online with one-click setup
You can use Gitpod (an Online Open Source VS Code-like IDE which is free for Open Source) for working on issues and making PRs to this project. With a single click it will start a workspace and automatically:
- clone the
- install all of the dependencies.
Please checkout the Translations readme.
I will only accept pull requests which add a benefit to a large portion of the player base. If the feature is useful but only to a fraction of players, or is controversial, I recommend making a mod instead.
If you want to add a new feature or in generally contribute I recommend to get in touch on Discord in advance, which largely increases the chance of the PR to get merged:
The game is based on a custom engine which itself is based on the YORG.io 3 game engine (Actually it shares almost the same core). The code within the engine is relatively clean with some code for the actual game on top being hacky.
This project is based on ES5 (If I would develop it again, I would definitely use TypeScript). Some ES2015 features are used but most of them are too slow, especially when polyfilled. For example,
Array.prototype.forEach is only used within non-critical loops since its slower than a plain for loop.
You can find most assets here.
All assets will be automatically rebuilt into the atlas once changed (Thanks to dengr1065!)