2026-04-28 08:42:08 +02:00
## shapez 2 out now!
2020-05-09 16:52:01 +02:00
2026-04-28 08:42:08 +02:00
Shapez 2 is now available on Steam, adding multi-layer factories, better performance, trains, fluids, and much more!
2022-10-09 13:09:31 +02:00
2024-12-05 07:28:56 +01:00
<a href="https://store.steampowered.com/app/2162800/shapez_2/?utm_medium=github&utm_source=s1_github" title="shapez 2 on Steam">
2026-04-28 08:42:08 +02:00
<img src="https://i.imgur.com/QBOGSib.jpeg" alt="shapez 2 Announcement">
2022-03-09 09:27:33 +01:00
</a>
2020-05-12 09:09:23 +02:00
2022-10-09 12:46:16 +02:00
<br>
2022-10-09 13:09:31 +02:00
# shapez
2022-10-09 12:46:16 +02:00
2022-10-09 13:09:31 +02:00
<a href="https://get.shapez.io/ghi" title="shapez on Steam">
<img src="https://i.imgur.com/ihW2bUE.png" alt="shapez Logo">
2022-10-09 12:46:16 +02:00
</a>
2026-04-28 08:42:08 +02:00
## Contributing
This repository is no longer actively maintained, we have moved over to [shapez 2 ](https://store.steampowered.com/app/2162800/shapez_2/?utm_medium=github&utm_source=s1_github ) development.
Please consider contributing to the [Community Edition ](https://github.com/tobspr-games/shapez-community-edition ) for ongoing development.
## About
2024-05-04 18:32:09 +09:00
2022-06-04 09:54:28 +02:00
This is the source code for shapez, an open source base building game inspired by Factorio.
2020-05-09 16:52:01 +02:00
Your goal is to produce shapes by cutting, rotating, merging and painting parts of shapes.
2022-06-04 09:54:28 +02:00
- [Play on Steam ](https://get.shapez.io/ghr )
- [Online Demo ](https://shapez.io )
2020-05-31 08:15:07 +02:00
- [Official Discord ](https://discord.com/invite/HN7EVzV ) <- _ Highly recommended to join! _
2020-07-18 16:04:30 +02:00
2020-05-09 16:52:01 +02:00
## Building
2020-05-26 19:33:37 +03:00
- Make sure `ffmpeg` is on your path
2022-06-04 09:54:28 +02:00
- Install Node.js 16 and Yarn
2022-03-09 09:27:33 +01:00
- Install Java (required for texture packer)
2020-07-06 18:51:49 +02:00
- Run `yarn` in the root folder
2022-03-09 09:27:33 +01:00
- `cd` into `gulp` folder
2020-07-06 18:51:49 +02:00
- Run `yarn` and then `yarn gulp` - it should now open in your browser
2020-05-09 16:52:01 +02:00
2020-10-02 11:23:53 +02:00
**Notice**: This will produce a debug build with several debugging flags enabled. If you want to disable them, modify [`src/js/core/config.js` ](src/js/core/config.js ).
2020-05-09 16:52:01 +02:00
2022-03-09 09:27:33 +01:00
## Creating Mods
Mods can be found [here ](https://shapez.mod.io ). The documentation for creating mods can be found [here ](mod_examples/ ), including a bunch of sample mods.
2020-06-10 12:30:31 +02:00
## Helping translate
2026-04-28 08:42:08 +02:00
Please checkout the [Translations readme ](translations/README.md ).
However, currently we are not reviewing new translations.
2020-05-12 09:09:23 +02:00
2020-05-09 16:52:01 +02:00
### Code
2020-07-27 10:12:36 +01:00
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).
2020-05-12 09:09:23 +02:00
The code within the engine is relatively clean with some code for the actual game on top being hacky.
2020-05-09 16:52:01 +02:00
2022-03-09 09:27:33 +01:00
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.
2020-09-24 13:10:40 +02:00
2020-05-09 16:52:01 +02:00
### Assets
2022-10-22 16:14:54 +02:00
You can find most assets <a href="//github.com/tobspr-games/shapez.io-artwork" target="_blank">here</a>.
2020-05-20 13:50:20 +02:00
2020-10-04 09:30:31 +02:00
All assets will be automatically rebuilt into the atlas once changed (Thanks to dengr1065!)
2020-05-31 08:15:07 +02:00
2022-06-04 09:54:28 +02:00
<img src="https://i.imgur.com/W25Fkl0.png" alt="shapez Screenshot">
2022-03-09 09:27:33 +01:00
<br>
## Check out our other games!
<a href="https://tobspr.io" title="tobspr Games">
<img src="https://i.imgur.com/uA2wcUy.png" alt="tobspr Games">
</a>