1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 02:01:51 +00:00
Go to file
Даниїл Григор'єв aa49f063c3
Remove ads, analytics and Steam SSO, simplify HTML tasks (#21)
* Remove ad support, analytics and Wegame leftovers

The game may be somewhat broken in a few places, but it doesn't matter
for now. This is still not the end.

* Remove Steam SSO and demo stuff

Steam SSO is completely removed, a few things from demo like simplified
level sets are gone as well. Puzzle DLC on the other hand is now always
"owned" and will ask for a token to log in.

Removes

* Use shapez dialogs for Puzzle DLC token input

Yes, this sucks *a lot*. But it's a temporary measure, trust me :P

* Simplify HTML tasks

Removes the web (demo) index.html page and makes HTML tasks independent
of the build variant. This might not be the best solution, but it works
for now.
2024-04-16 10:25:16 +03:00
.github/workflows Clean up and update workspace files 2023-10-25 08:05:56 +03:00
.vscode Clean up and update workspace files 2023-10-25 08:05:56 +03:00
electron Clean up and update workspace files 2023-10-25 08:05:56 +03:00
gulp Remove ads, analytics and Steam SSO, simplify HTML tasks (#21) 2024-04-16 10:25:16 +03:00
mod_examples Rebranding and minor polishing, part 2 2022-06-02 14:06:33 +02:00
res Clean up and update workspace files 2023-10-25 08:05:56 +03:00
res_raw v1.5.5 - Rework tutorial and polishing 2022-06-20 10:21:13 +02:00
src Remove ads, analytics and Steam SSO, simplify HTML tasks (#21) 2024-04-16 10:25:16 +03:00
translations Add shapez 2 hint to the game 2022-10-09 13:09:31 +02:00
.editorconfig Added EditorConfig (#778) 2020-10-06 17:28:17 +02:00
.eslintignore add all GH Actions work 2020-05-27 08:17:25 -04:00
.eslintrc.yml Fixed dev and devStandalone script (#1503) 2022-12-29 09:57:34 +01:00
.gitignore Slight improvements for the build process (#19) 2024-04-14 19:03:27 +03:00
.prettierrc.yaml Update github actions 2020-05-28 09:37:57 +02:00
.yamllint Fix yaml errors in CI (#757) 2020-10-04 10:38:02 +02:00
Dockerfile Slight improvements for the build process (#19) 2024-04-14 19:03:27 +03:00
LICENSE Update license 2020-05-21 15:08:30 +02:00
package.json Fix missing Gulp CWD in packaging scripts 2024-04-14 20:26:03 +03:00
README.md Slight improvements for the build process (#19) 2024-04-14 19:03:27 +03:00
sync-translations.js ES modules and config refactor 2023-03-04 00:46:55 -06:00
yarn.lock Fix build by re-adding a missing dev dependency 2023-11-07 18:19:43 +02:00

shapez Community Edition shapez Logo

shapez Community Edition (abbreviated as CE) is a community-maintained version of shapez!

CE was created as the tobspr Games team moved away from shapez to work full-time on the upcoming Shapez 2. CE aims to:

  • Continue the development of shapez as guided by the community.
  • Allow contributors to continue submitting new features and improvements to the game.
  • Provide an experimental and forgiving environment for faster development.

Important

CE is different from the official game published on Steam and other platforms. CE was forked off of the official shapez, which has its own repository. No plans exist to merge the two versions of shapez.

As of now, CE must be built from source and supports only a standalone build, with no plans for re-supporting a web version. In the future, builds of CE may provided for owners of the full version of shapez.

Contributing

We communicate on the official shapez Discord server. For historical reasons, we have communicated in a private channel, but we are moving to the public #contributing channel. If you would like to contribute to CE, feel free to share your ideas, plans, etc. there.

In our current workflow, we (the "collaborators" of the repository) create internal branches and corresponding pull requests to work on a feature, refactor, etc. We discuss changes in the Discord, and when 2 collaborators (including the PR creator) approve of a change, it can be merged. See our existing pull requests for examples.

If you are not a collaborator and want to submit a change, you can fork our repo and make a pull request. Note that because of plans to overhaul many parts of the game, unless you are improving translations, you should probably communicate with us on Discord!

Tip

Be aware that pull requests to the official shapez repository are unlikely to get merged in the near future. Instead, submit them to CE! In fact, because the game is licensed under the GNU GPL v3.0, existing pull requests can be resubmitted to CE even if you aren't the author! This is not legal advice.

Code

The game uses a custom engine originally based on the YORG.io 3 game engine. The code within the engine is relatively clean with some code for the actual game on top being hacky.

We are in the process of migrating to TypeScript and JSX/TSX. New changes should be implemented in TypeScript if possible, but because we are planning on overhauling many parts of the game, there is no need to convert existing code to TypeScript.

This project is fine with using cutting-edge and bleeding-edge features and does not intend to provide compatibility for older clients.

Building

Prerequisites

Development

  • Run yarn in the root folder and in electron/.
  • Run yarn gulp in the root folder to build and serve files. Ignore the browser tab that opens.
  • Open a new terminal and run yarn startDev in electron/ to open an Electron window.
    • Tip: If you open the Electron window too early, you can reload it when focused on DevTools.

Release

Important

While there is partial macOS support, it is not tested and adapted yet. Therefore, macOS package creation task is not provided.

  • Run yarn in the root folder and in electron/.
  • In the root folder, run yarn package-$PLATFORM where $PLATFORM is win32 or linux depending on your system.
  • The build will be found under build_output/standalone-steam as shapez-...-x64.

Credits

Thanks to tobspr for creating this project!

tobspr Games


  1. cURL is already installed on most Windows, Linux and macOS systems. ↩︎