diff --git a/res/logo.png b/res/logo.png
index 75dd3a35..3d3de767 100644
Binary files a/res/logo.png and b/res/logo.png differ
diff --git a/res/logo_demo.png b/res/logo_demo.png
new file mode 100644
index 00000000..68232780
Binary files /dev/null and b/res/logo_demo.png differ
diff --git a/src/css/states/main_menu.scss b/src/css/states/main_menu.scss
index b82bfeb6..7330744d 100644
--- a/src/css/states/main_menu.scss
+++ b/src/css/states/main_menu.scss
@@ -184,18 +184,7 @@
flex-direction: column;
@include S(padding-top, 20px);
img {
- @include S(width, 350px);
- }
-
- .demoBadge {
- @include S(margin, 10px, 0);
- @include S(width, 100px);
- @include S(height, 30px);
- & {
- /* @load-async */
- background: uiResource("demo_badge.png") center center / contain no-repeat;
- }
- display: inline-block;
+ @include S(width, 300px);
}
position: relative;
diff --git a/src/html/index.html b/src/html/index.html
index 6ffa1876..bcc88b3b 100644
--- a/src/html/index.html
+++ b/src/html/index.html
@@ -1,7 +1,7 @@
- shapez.io - Build automated factories to build, combine and color shapes!
+ shapez Demo - Factory Automation Game
@@ -19,16 +19,16 @@
-
+
diff --git a/src/js/core/background_resources_loader.js b/src/js/core/background_resources_loader.js
index 79c43e20..15b144f1 100644
--- a/src/js/core/background_resources_loader.js
+++ b/src/js/core/background_resources_loader.js
@@ -9,13 +9,23 @@ import { SOUNDS, MUSIC } from "../platform/sound";
import { AtlasDefinition, atlasFiles } from "./atlas_definitions";
import { initBuildingCodesAfterResourcesLoaded } from "../game/meta_building_registry";
import { cachebust } from "./cachebust";
-import { MODS } from "../mods/modloader";
const logger = createLogger("background_loader");
export function getLogoSprite() {
- // @todo: ugh, in a hurry
- return G_WEGAME_VERSION ? "logo_wegame.png" : G_CHINA_VERSION ? "logo_cn.png" : "logo.png";
+ if (G_WEGAME_VERSION) {
+ return "logo_wegame.png";
+ }
+
+ if (G_CHINA_VERSION) {
+ return "logo_cn.png";
+ }
+
+ if (G_IS_BROWSER) {
+ return "logo_demo.png";
+ }
+
+ return "logo.png";
}
const essentialMainMenuSprites = [