1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-09-24 21:04:57 +00:00
Files
tobspr_shapez.io/README.md

74 lines
2.9 KiB
Markdown
Raw Normal View History

## shapez 2 out now!
2020-05-09 16:52:01 +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
<a href="https://store.steampowered.com/app/2162800/shapez_2/?utm_medium=github&amp;utm_source=s1_github" title="shapez 2 on Steam">
<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>
## 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
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)
- [Official Discord](https://discord.com/invite/HN7EVzV) <- _Highly recommended to join!_
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)
- Run `yarn` in the root folder
2022-03-09 09:27:33 +01:00
- `cd` into `gulp` folder
- Run `yarn` and then `yarn gulp` - it should now open in your browser
2020-05-09 16:52:01 +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
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
You can find most assets <a href="//github.com/tobspr-games/shapez.io-artwork" target="_blank">here</a>.
2020-10-04 09:30:31 +02:00
All assets will be automatically rebuilt into the atlas once changed (Thanks to dengr1065!)
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>