Update branding from shapez.io to shapez

This commit is contained in:
tobspr 2022-06-02 12:56:58 +02:00
parent 50e92bb42f
commit 082932bb46
5 changed files with 19 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 20 KiB

BIN
res/logo_demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -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;

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>shapez.io - Build automated factories to build, combine and color shapes!</title>
<title>shapez Demo - Factory Automation Game</title>
<!-- mobile stuff -->
<meta name="format-detection" content="telephone=no" />
@ -19,16 +19,16 @@
<meta name="author" content="tobspr Games - tobspr.io" />
<meta
name="description"
content="shapez.io is an open-source factory building game about combining and producing different types of shapes."
content="shapez is a factory automation game about combining and producing different types of shapes. Build, optimize and grow your factory to finally automate everything!"
/>
<meta
name="keywords"
content="shapes, .io games, factorio, incremental, upgrades, base building, open source"
content="shapes, automation, factory, factorio, incremental, upgrades, base building"
/>
<meta property="og:title" content="shapez.io" />
<meta property="og:title" content="shapez" />
<meta
property="og:description"
content="shapez.io is a fun factory base building game about combining shapes"
content="shapez is a fun factory base building game about combining shapes"
/>
<meta property="og:url" content="https://shapez.io/" />
<meta property="og:image" content="https://shapez.io/og_thumb.png" />

View File

@ -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 = [