1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Refactoring of the key action mapper, allow deselecting buildings, make sure stars always spawn in the start region (closes #7) (closes #9)

This commit is contained in:
tobspr
2020-05-21 10:40:21 +02:00
parent 1577ebe48c
commit 8760026893
28 changed files with 93 additions and 50 deletions

View File

@@ -5,8 +5,9 @@ export const IS_DEBUG =
(window.location.host.indexOf("localhost:") >= 0 || window.location.host.indexOf("192.168.0.") >= 0) &&
window.location.search.indexOf("nodebug") < 0;
// export const IS_DEMO = G_IS_PROD;
export const IS_DEMO = G_IS_RELEASE;
export const IS_DEMO =
(G_IS_RELEASE && !G_IS_STANDALONE) ||
(typeof window !== "undefined" && window.location.search.indexOf("demo") >= 0);
const smoothCanvas = true;
@@ -14,7 +15,8 @@ export const THIRDPARTY_URLS = {
discord: "https://discord.gg/HN7EVzV",
github: "https://github.com/tobspr/shapez.io",
standaloneStorePage: "https://steam.shapez.io",
// standaloneStorePage: "https://steam.shapez.io",
standaloneStorePage: "https://tobspr.itch.io/shapez.io",
};
export const globalConfig = {