Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

feat(site): the home page hands out the editor, and looks like the editor

yhh6be09b4aa754
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 362be79c1..ce15e703b 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -55,10 +55,10 @@ jobs:
mkdir -p docs/dist/docs/api
cp -r docs/astro/dist/* docs/dist/docs/
cp -r docs/api/html docs/dist/docs/api/
- cp docs/landing/index.html docs/dist/index.html
- cp docs/landing/editor-hero-c5bfd2f3.png docs/dist/editor-hero-c5bfd2f3.png
- cp docs/landing/robots.txt docs/dist/robots.txt
- cp docs/landing/og-image.png docs/dist/og-image.png
+ # The whole landing directory, not a list of its files: it carries the
+ # page's fonts and mark now, and a copy step that has to be edited when
+ # the page grows an asset is a broken page waiting to be deployed.
+ cp -r docs/landing/. docs/dist/
echo 'estellaengine.com' > docs/dist/CNAME
touch docs/dist/.nojekyll
diff --git a/README.md b/README.md
index be0f02c39..0e3cf9a04 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,9 @@ Estella is a **2D game engine** with a TypeScript SDK driven by a high-performan
### Install
-Download the editor from the [releases page](https://github.com/esengine/estella/releases) and install it.
+Download the editor for Windows or macOS from [estellaengine.com](https://estellaengine.com/#download)
+— served from the project's mirror, always the newest release. Every build is also on the
+[releases page](https://github.com/esengine/estella/releases).
### Create a Project
diff --git a/docs/astro/astro.config.mjs b/docs/astro/astro.config.mjs
index 08f69fe50..1834b625c 100644
--- a/docs/astro/astro.config.mjs
+++ b/docs/astro/astro.config.mjs
@@ -13,6 +13,11 @@ export default defineConfig({
starlight({
title: 'Estella',
description: 'A fast 2D game engine powered by WebAssembly and ECS.',
+ // The editor's mark and palette, so the guides, the landing page and the
+ // installed tool are visibly one product — see src/styles/estella.css.
+ logo: { src: './public/favicon.svg', alt: 'Estella' },
+ favicon: '/favicon.svg',
+ customCss: ['./src/styles/estella.css'],
// English is the root locale (served at /docs); 简体中文 at /docs/zh-cn.
defaultLocale: 'root',
locales: {
diff --git a/docs/astro/public/favicon.svg b/docs/astro/public/favicon.svg
new file mode 100644
index 000000000..01229685b
--- /dev/null
+++ b/docs/astro/public/favicon.svg
@@ -0,0 +1,25 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100">
+ <title>Estella</title>
+ <!-- App chip: near-black rounded tile, a soft azure halo, and a faceted four-point star. -->
+ <defs>
+ <filter id="halo" x="-40%" y="-40%" width="180%" height="180%">
+ <feGaussianBlur stdDeviation="4.2"/>
+ </filter>
+ <clipPath id="tile"><rect width="100" height="100" rx="22"/></clipPath>
+ </defs>
+ <rect width="100" height="100" rx="22" fill="#101219"/>
+ <g clip-path="url(#tile)">
+ <g transform="translate(50 50) scale(0.74) translate(-50 -50)">
+ <path d="M50 6 L58 42 L94 50 L58 58 L50 94 L42 58 L6 50 L42 42 Z" fill="#2f88d6" filter="url(#halo)" opacity="0.55"/>
+ <path d="M50 50 L42 42 L50 6 L58 42 Z" fill="#4aa6ec"/>
+ <path d="M50 50 L58 42 L94 50 L58 58 Z" fill="#2f88d6"/>
+ <path d="M50 50 L58 58 L50 94 L42 58 Z" fill="#1c5988"/>
+ <path d="M50 50 L42 58 L6 50 L42 42 Z" fill="#2c7cc0"/>
+ <g stroke="#0a1826" stroke-width="0.7" stroke-linecap="round" opacity="0.5">
+ <line x1="50" y1="50" x2="42" y2="42"/><line x1="50" y1="50" x2="58" y2="42"/>
+ <line x1="50" y1="50" x2="58" y2="58"/><line x1="50" y1="50" x2="42" y2="58"/>
+ </g>
+ <path d="M42 42 L50 50 L58 42" fill="none" stroke="#9fd2f7" stroke-width="0.7" opacity="0.6"/>
+ </g>
+ </g>
+</svg>
diff --git a/docs/astro/src/content/docs/getting-started/installation.mdx b/docs/astro/src/content/docs/getting-started/installation.mdx
index 6267af5d7..0d34a8d00 100644
--- a/docs/astro/src/content/docs/getting-started/installation.mdx
+++ b/docs/astro/src/content/docs/getting-started/installation.mdx
@@ -9,11 +9,11 @@ import { Tabs, TabItem, Steps, Aside } from '@astrojs/starlight/components';
<TabItem label="Use the editor">
<Steps>
- 1. Download the latest editor — from the
- [mirror](https://dl.estella.games/latest.json) if GitHub is slow where you
- are, or from the
- [releases page](https://github.com/esengine/estella/releases), which is
- where every release is published.
+ 1. Download the latest editor from the
+ [download page](https://estellaengine.com/#download) — Windows and macOS
+ (Apple silicon), served from the project's mirror. Every release, with its
+ notes and checksums, is also on the
+ [releases page](https://github.com/esengine/estella/releases).
2. Install and open it, then click **New project**.
diff --git a/docs/astro/src/content/docs/zh-cn/getting-started/installation.mdx b/docs/astro/src/content/docs/zh-cn/getting-started/installation.mdx
index ab30e68cb..85b772f58 100644
--- a/docs/astro/src/content/docs/zh-cn/getting-started/installation.mdx
+++ b/docs/astro/src/content/docs/zh-cn/getting-started/installation.mdx
@@ -9,8 +9,9 @@ import { Tabs, TabItem, Steps, Aside } from '@astrojs/starlight/components';
<TabItem label="使用编辑器">
<Steps>
- 1. 下载最新版编辑器:GitHub 慢的话走[镜像](https://dl.estella.games/latest.json),
- 或者用[发布页](https://github.com/esengine/estella/releases)——所有版本都发布在那里。
+ 1. 从[下载页](https://estellaengine.com/#download)获取最新版编辑器——Windows 与
+ macOS(Apple 芯片),走项目自己的镜像。每个版本的发布说明与校验和也都在
+ [发布页](https://github.com/esengine/estella/releases)。
2. 安装并打开,点击 **New project**(新建项目)。
diff --git a/docs/astro/src/styles/estella.css b/docs/astro/src/styles/estella.css
new file mode 100644
index 000000000..3481af5ef
--- /dev/null
+++ b/docs/astro/src/styles/estella.css
@@ -0,0 +1,99 @@
+/* =============================================================================
+ Estella docs theme — the editor's "azure" line on Starlight.
+
+ The values are lifted from desktop/src/theme/tokens.css, not re-picked: the
+ docs, the landing page and the editor someone installs are one product, and a
+ different accent on each is how a site starts reading like three.
+
+ Starlight names its own tokens (--sl-color-*), so this file is a mapping, not
+ a second palette. It is also written the way Starlight writes its own: a
+ default block plus BOTH light branches (`[data-theme='light']` for the toggle
+ and the prefers-color-scheme query for "auto"). Overriding only `:root` looks
+ right in dark and produces a half-lit page in light — the surfaces go dark,
+ the asides stay pale, because Starlight's light block outranks a bare :root.
+
+ The webfonts live at the site root — .github/workflows/docs.yml copies
+ docs/landing/. (fonts included) into the deploy root, and the guides are
+ served from the same origin under /docs. Under `astro dev` alone they are
+ absent and the stack falls back to system UI, which is only ever a preview.
+ ========================================================================== */
+
+@font-face {
+ font-family: 'Inter';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'Inter';
+ font-style: normal;
+ font-weight: 600;
+ font-display: swap;
+ src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'Inter';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
+}
+@font-face {
+ font-family: 'JetBrains Mono';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
+}
+
+/* Type is the same in both themes. */
+:root {
+ --sl-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
+ --sl-font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
+}
+
+/* — Accent: the editor's azure, dark by default — */
+:root {
+ --sl-color-accent-low: #12293f;
+ --sl-color-accent: #2f88d6;
+ --sl-color-accent-high: #9fd2f7;
+}
+
+/* — Accent in light: the deeper end of the same ramp, so the brand survives
+ the toggle instead of reverting to Starlight's purple. — */
+:root[data-theme='light'] {
+ --sl-color-accent-low: #d8e9f8;
+ --sl-color-accent: #20689f;
+ --sl-color-accent-high: #10344f;
+}
+@media (prefers-color-scheme: light) {
+ :root:not([data-theme='dark']) {
+ --sl-color-accent-low: #d8e9f8;
+ --sl-color-accent: #20689f;
+ --sl-color-accent-high: #10344f;
+ }
+}
+
+/* — Dark chrome only: the near-black groove the editor's shell recedes to.
+ Scoped to the dark theme in both of its forms; the light theme keeps
+ Starlight's own neutrals, which are already the right temperature. — */
+:root[data-theme='dark'] {
+ --sl-color-bg-nav: #0a0a0c;
+ --sl-color-bg-sidebar: #0a0a0c;
+ --sl-color-hairline-shade: rgba(255, 255, 255, 0.085);
+}
+@media (prefers-color-scheme: dark) {
+ :root:not([data-theme='light']) {
+ --sl-color-bg-nav: #0a0a0c;
+ --sl-color-bg-sidebar: #0a0a0c;
+ --sl-color-hairline-shade: rgba(255, 255, 255, 0.085);
+ }
+}
+
+/* The mark is a shape, not a word: let it sit at icon scale beside the title
+ rather than at the height Starlight gives a full logo lockup. */
+.site-title img {
+ width: 26px;
+ height: 26px;
+}
diff --git a/docs/build.ps1 b/docs/build.ps1
index 665096c55..aa6583e03 100644
--- a/docs/build.ps1
+++ b/docs/build.ps1
@@ -104,15 +104,24 @@ function Merge-Output {
}
New-Item -ItemType Directory -Force -Path $OutputDir | Out-Null
+ # The same layout .github/workflows/docs.yml publishes: the landing page at
+ # the root, the guides under /docs, the C++ reference under /docs/api/html.
+ # A local build that arranges them differently is a preview of a site that
+ # does not exist.
+ if (Test-Path "$DocsRoot\landing") {
+ Copy-Item -Recurse "$DocsRoot\landing\*" $OutputDir
+ }
+
# Copy Astro output
if (Test-Path "$DocsRoot\astro\dist") {
- Copy-Item -Recurse "$DocsRoot\astro\dist\*" $OutputDir
+ New-Item -ItemType Directory -Force -Path "$OutputDir\docs" | Out-Null
+ Copy-Item -Recurse "$DocsRoot\astro\dist\*" "$OutputDir\docs\"
}
# Copy Doxygen output
if (Test-Path "$DocsRoot\api\html") {
- New-Item -ItemType Directory -Force -Path "$OutputDir\api\html" | Out-Null
- Copy-Item -Recurse "$DocsRoot\api\html\*" "$OutputDir\api\html\"
+ New-Item -ItemType Directory -Force -Path "$OutputDir\docs\api\html" | Out-Null
+ Copy-Item -Recurse "$DocsRoot\api\html\*" "$OutputDir\docs\api\html\"
}
Write-Host "Documentation merged to: docs/dist/" -ForegroundColor Green
diff --git a/docs/build.sh b/docs/build.sh
index 4d0f4e5b3..842e14be2 100644
--- a/docs/build.sh
+++ b/docs/build.sh
@@ -90,15 +90,24 @@ merge_output() {
rm -rf "$OUTPUT_DIR"
mkdir -p "$OUTPUT_DIR"
+ # The same layout .github/workflows/docs.yml publishes: the landing page at
+ # the root, the guides under /docs, the C++ reference under /docs/api/html.
+ # A local build that arranges them differently is a preview of a site that
+ # does not exist.
+ if [ -d "$DOCS_ROOT/landing" ]; then
+ cp -r "$DOCS_ROOT/landing/." "$OUTPUT_DIR/"
+ fi
+
# Copy Astro output
if [ -d "$DOCS_ROOT/astro/dist" ]; then
- cp -r "$DOCS_ROOT/astro/dist/"* "$OUTPUT_DIR/"
+ mkdir -p "$OUTPUT_DIR/docs"
+ cp -r "$DOCS_ROOT/astro/dist/"* "$OUTPUT_DIR/docs/"
fi
# Copy Doxygen output
if [ -d "$DOCS_ROOT/api/html" ]; then
- mkdir -p "$OUTPUT_DIR/api/html"
- cp -r "$DOCS_ROOT/api/html/"* "$OUTPUT_DIR/api/html/"
+ mkdir -p "$OUTPUT_DIR/docs/api/html"
+ cp -r "$DOCS_ROOT/api/html/"* "$OUTPUT_DIR/docs/api/html/"
fi
echo "Documentation merged to: docs/dist/"
diff --git a/docs/landing/favicon.svg b/docs/landing/favicon.svg
new file mode 100644
index 000000000..01229685b
--- /dev/null
+++ b/docs/landing/favicon.svg
@@ -0,0 +1,25 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100">
+ <title>Estella</title>
+ <!-- App chip: near-black rounded tile, a soft azure halo, and a faceted four-point star. -->
+ <defs>
+ <filter id="halo" x="-40%" y="-40%" width="180%" height="180%">
+ <feGaussianBlur stdDeviation="4.2"/>
+ </filter>
+ <clipPath id="tile"><rect width="100" height="100" rx="22"/></clipPath>
+ </defs>
+ <rect width="100" height="100" rx="22" fill="#101219"/>
+ <g clip-path="url(#tile)">
+ <g transform="translate(50 50) scale(0.74) translate(-50 -50)">
+ <path d="M50 6 L58 42 L94 50 L58 58 L50 94 L42 58 L6 50 L42 42 Z" fill="#2f88d6" filter="url(#halo)" opacity="0.55"/>
+ <path d="M50 50 L42 42 L50 6 L58 42 Z" fill="#4aa6ec"/>
+ <path d="M50 50 L58 42 L94 50 L58 58 Z" fill="#2f88d6"/>
+ <path d="M50 50 L58 58 L50 94 L42 58 Z" fill="#1c5988"/>
+ <path d="M50 50 L42 58 L6 50 L42 42 Z" fill="#2c7cc0"/>
+ <g stroke="#0a1826" stroke-width="0.7" stroke-linecap="round" opacity="0.5">
+ <line x1="50" y1="50" x2="42" y2="42"/><line x1="50" y1="50" x2="58" y2="42"/>
+ <line x1="50" y1="50" x2="58" y2="58"/><line x1="50" y1="50" x2="42" y2="58"/>
+ </g>
+ <path d="M42 42 L50 50 L58 42" fill="none" stroke="#9fd2f7" stroke-width="0.7" opacity="0.6"/>
+ </g>
+ </g>
+</svg>
diff --git a/docs/landing/fonts/LICENSE-Inter.txt b/docs/landing/fonts/LICENSE-Inter.txt
new file mode 100644
index 000000000..40589daa9
--- /dev/null
+++ b/docs/landing/fonts/LICENSE-Inter.txt
@@ -0,0 +1,93 @@
+Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/docs/landing/fonts/LICENSE-JetBrainsMono.txt b/docs/landing/fonts/LICENSE-JetBrainsMono.txt
new file mode 100644
index 000000000..8f7ed6711
--- /dev/null
+++ b/docs/landing/fonts/LICENSE-JetBrainsMono.txt
@@ -0,0 +1,93 @@
+Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/docs/landing/fonts/inter-latin-400-normal.woff2 b/docs/landing/fonts/inter-latin-400-normal.woff2
new file mode 100644
index 000000000..f15b025d6
Binary files /dev/null and b/docs/landing/fonts/inter-latin-400-normal.woff2 differ
diff --git a/docs/landing/fonts/inter-latin-600-normal.woff2 b/docs/landing/fonts/inter-latin-600-normal.woff2
new file mode 100644
index 000000000..d1897949f
Binary files /dev/null and b/docs/landing/fonts/inter-latin-600-normal.woff2 differ
diff --git a/docs/landing/fonts/inter-latin-700-normal.woff2 b/docs/landing/fonts/inter-latin-700-normal.woff2
new file mode 100644
index 000000000..a68fb101c
Binary files /dev/null and b/docs/landing/fonts/inter-latin-700-normal.woff2 differ
diff --git a/docs/landing/fonts/jetbrains-mono-latin-400-normal.woff2 b/docs/landing/fonts/jetbrains-mono-latin-400-normal.woff2
new file mode 100644
index 000000000..585887339
Binary files /dev/null and b/docs/landing/fonts/jetbrains-mono-latin-400-normal.woff2 differ
diff --git a/docs/landing/index.html b/docs/landing/index.html
index 3bd66b9df..4bb7485ab 100644
--- a/docs/landing/index.html
+++ b/docs/landing/index.html
@@ -6,174 +6,678 @@
<title>Estella — A fast 2D game engine powered by WebAssembly and ECS</title>
<meta name="description" content="Estella is a 2D game engine with a TypeScript SDK and a C++/WebAssembly backend. Build games for the web, desktop, WeChat MiniGames, playable ads and native Android / iOS, with a visual editor." />
<link rel="canonical" href="https://estellaengine.com/" />
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Estella — A fast 2D game engine" />
<meta property="og:description" content="A TypeScript SDK on a C++/WebAssembly backend. Web, desktop, WeChat MiniGames, playable ads and native Android / iOS, with a visual editor." />
<meta property="og:image" content="https://estellaengine.com/og-image.png" />
<meta property="og:url" content="https://estellaengine.com/" />
<meta name="twitter:card" content="summary_large_image" />
+ <meta name="theme-color" content="#0a0a0c" />
+
+ <link rel="preload" href="/fonts/inter-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin />
+ <link rel="preload" href="/fonts/inter-latin-700-normal.woff2" as="font" type="font/woff2" crossorigin />
+ <!-- The mirror answers the version chips; warming the connection costs one round trip. -->
+ <link rel="preconnect" href="https://dl.estella.games" crossorigin />
+
<style>
+ /* ═══════════════════════════════════════════════════════════════════════
+ Tokens — the editor's "azure" line (desktop/src/theme/tokens.css),
+ carried onto the web so the site and the tool people install read as one
+ product: near-black neutral slate, one restrained azure, the iconic
+ orange kept for what it means in the editor (selection / attention),
+ Inter for prose and JetBrains Mono reserved for live data.
+ Only the type and radius scales are re-pitched for page-scale reading.
+ ═══════════════════════════════════════════════════════════════════════ */
:root {
- --bg: #0e121b;
- --bg-soft: #151b28;
- --border: #232c3d;
- --fg: #e6ebf5;
- --muted: #93a1bd;
- --accent: #7c9cf5;
- --accent-2: #a78bfa;
- --radius: 14px;
+ /* surfaces */
+ --srf-0: #0a0a0c;
+ --srf-1: #121215;
+ --srf-2: #19191d;
+ --srf-3: #212127;
+ --srf-4: #2a2a31;
+
+ /* structure */
+ --line: rgba(255, 255, 255, 0.085);
+ --line-soft: rgba(255, 255, 255, 0.045);
+ --line-strong: rgba(255, 255, 255, 0.14);
+
+ /* text ramp */
+ --text-hi: #e8e9eb;
+ --text: #cbccd0;
+ --text-dim: #9a9ba1;
+ --text-faint: #696a71;
+
+ /* accent: one azure */
+ --star: #2f88d6;
+ --star-hi: #4aa6ec;
+ --star-deep: #20689f;
+ --star-dim: rgba(47, 136, 214, 0.18);
+ --star-line: rgba(47, 136, 214, 0.55);
+ --on-accent: #f3f7fc;
+ --sel: #f0871f; /* the editor's selection orange — attention only */
+
+ /* type */
+ --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
+ --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
+ --fs-xs: 12px;
+ --fs-sm: 13px;
+ --fs-md: 15px;
+ --fs-lg: 17px;
+ --fs-xl: 20px;
+ --fs-2xl: 28px;
+ --fs-3xl: clamp(38px, 5.4vw, 60px);
+
+ /* geometry: the editor's tight ladder, one step added for page scale */
+ --r-sm: 3px;
+ --r-md: 4px;
+ --r-lg: 6px;
+ --r-xl: 10px;
+ --u: 4px;
+
+ /* motion */
+ --e-out: cubic-bezier(0.2, 0, 0, 1);
+ --t-fast: 100ms;
+ --t: 160ms;
+
+ /* elevation: tinted toward the accent, never pure black */
+ --shadow-2: 0 4px 12px rgba(0, 0, 0, 0.45);
+ --shadow-3: 0 14px 34px rgba(0, 0, 0, 0.55), 0 3px 8px rgba(0, 0, 0, 0.4);
+ --shadow-hero: 0 40px 90px -40px rgba(47, 136, 214, 0.4), 0 8px 30px rgba(0, 0, 0, 0.55);
+ }
+
+ @font-face {
+ font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
+ src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
+ }
+ @font-face {
+ font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
+ src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
+ }
+ @font-face {
+ font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
+ src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
}
+ @font-face {
+ font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
+ src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
+ }
+
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
- background: var(--bg);
- color: var(--fg);
- font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
+ background: var(--srf-0);
+ color: var(--text);
+ font: 400 var(--fs-md)/1.65 var(--font-ui);
+ letter-spacing: -0.005em;
-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
- .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
+ h1, h2, h3 { color: var(--text-hi); letter-spacing: -0.025em; }
+ code, .mono { font-family: var(--font-mono); font-size: 0.92em; }
+ :focus-visible {
+ outline: 2px solid var(--star-hi);
+ outline-offset: 2px;
+ border-radius: var(--r-sm);
+ }
+ .skip {
+ position: absolute; left: -9999px; top: 8px; z-index: 100;
+ padding: 10px 16px; border-radius: var(--r-md);
+ background: var(--srf-3); color: var(--text-hi);
+ }
+ .skip:focus { left: 16px; }
+
+ .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
+
+ /* — the mark, everywhere it appears — */
+ .mark { display: block; flex: none; }
+ .brand {
+ display: inline-flex; align-items: center; gap: 10px;
+ font-weight: 700; font-size: var(--fs-lg); color: var(--text-hi);
+ letter-spacing: -0.02em;
+ }
+
+ /* ── header ─────────────────────────────────────────────────────────── */
header {
- position: sticky; top: 0; z-index: 10;
- backdrop-filter: blur(10px);
- background: color-mix(in srgb, var(--bg) 78%, transparent);
- border-bottom: 1px solid var(--border);
- }
- .nav { display: flex; align-items: center; gap: 20px; height: 64px; }
- .brand { font-weight: 700; letter-spacing: -0.01em; font-size: 18px; }
- .brand span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
+ position: sticky; top: 0; z-index: 20;
+ background: color-mix(in srgb, var(--srf-0) 82%, transparent);
+ backdrop-filter: blur(12px) saturate(140%);
+ border-bottom: 1px solid var(--line-soft);
+ }
+ .nav { display: flex; align-items: center; gap: 8px; height: 60px; }
.nav .spacer { flex: 1; }
- .nav a.link { color: var(--muted); font-size: 14px; }
- .nav a.link:hover { color: var(--fg); }
+ .nav .link {
+ padding: 8px 10px; border-radius: var(--r-md);
+ color: var(--text-dim); font-size: var(--fs-sm); font-weight: 500;
+ transition: color var(--t-fast) var(--e-out), background var(--t-fast) var(--e-out);
+ }
+ .nav .link:hover { color: var(--text-hi); background: rgba(255, 255, 255, 0.05); }
+ @media (max-width: 720px) { .nav .link.opt { display: none; } }
+ /* ── buttons ────────────────────────────────────────────────────────── */
.btn {
- display: inline-flex; align-items: center; gap: 8px;
- padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px;
- border: 1px solid var(--border); background: var(--bg-soft); color: var(--fg);
- transition: transform .12s ease, border-color .12s ease, background .12s ease;
+ display: inline-flex; align-items: center; justify-content: center; gap: 8px;
+ min-height: 44px; padding: 11px 18px;
+ border: 1px solid var(--line); border-radius: var(--r-lg);
+ background: var(--srf-3); color: var(--text-hi);
+ font: 600 var(--fs-sm)/1 var(--font-ui); letter-spacing: 0;
+ cursor: pointer;
+ transition: background var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out),
+ transform var(--t-fast) var(--e-out);
}
- .btn:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
+ .btn:hover { background: var(--srf-4); border-color: var(--line-strong); }
+ .btn:active { transform: translateY(1px); }
.btn.primary {
- border-color: transparent;
- background: linear-gradient(90deg, var(--accent), var(--accent-2));
- color: #0b1020;
+ background: var(--star); border-color: transparent; color: var(--on-accent);
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 6px 18px -8px rgba(47, 136, 214, 0.9);
+ }
+ .btn.primary:hover { background: var(--star-hi); }
+ .btn.primary:active { background: var(--star-deep); }
+ .btn.sm { min-height: 34px; padding: 8px 12px; font-size: var(--fs-xs); }
+ .btn svg { flex: none; }
+
+ /* ── hero ───────────────────────────────────────────────────────────── */
+ .hero { position: relative; padding: 88px 0 0; text-align: center; overflow: hidden; }
+ /* one soft azure bloom behind the mark — the splash screen's glow, quieted */
+ .hero::before {
+ content: ''; position: absolute; inset: -220px 0 auto; height: 620px;
+ background: radial-gradient(48% 46% at 50% 42%, rgba(47, 136, 214, 0.2), transparent 70%);
+ pointer-events: none;
}
+ .hero > * { position: relative; }
+ .hero .mark-lg { margin: 0 auto 26px; filter: drop-shadow(0 10px 30px rgba(47, 136, 214, 0.45)); }
- .hero { padding: 96px 0 64px; text-align: center; }
- .badge {
- display: inline-block; padding: 5px 12px; margin-bottom: 22px;
- border: 1px solid var(--border); border-radius: 999px;
- color: var(--muted); font-size: 13px;
+ .chip {
+ display: inline-flex; align-items: center; gap: 8px;
+ padding: 5px 12px 5px 8px; margin-bottom: 22px;
+ border: 1px solid var(--line); border-radius: 999px;
+ background: var(--srf-2);
+ font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-dim);
+ transition: border-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
+ }
+ a.chip:hover { border-color: var(--star-line); color: var(--text-hi); }
+ .chip .dot {
+ width: 6px; height: 6px; border-radius: 50%; background: var(--star-hi);
+ box-shadow: 0 0 0 3px var(--star-dim);
}
+ .chip .sep { color: var(--text-faint); }
+
.hero h1 {
- font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px;
- letter-spacing: -0.03em; font-weight: 800;
+ font-size: var(--fs-3xl); line-height: 1.08; font-weight: 700;
+ margin: 0 auto 20px; max-width: 22ch;
+ }
+ /* The line break is authored, not left to the measure: the headline is two
+ statements and reads as one only when they land on separate lines. */
+ .hero h1 em { font-style: normal; color: var(--star-hi); }
+ .hero .lead {
+ max-width: 62ch; margin: 0 auto 32px;
+ font-size: var(--fs-xl); line-height: 1.55; color: var(--text-dim);
}
- .hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
- .hero p.lead { max-width: 640px; margin: 0 auto 30px; color: var(--muted); font-size: 19px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
+ .cta .btn { padding-inline: 22px; font-size: var(--fs-md); min-height: 48px; }
+ .fine {
+ margin: 18px 0 0; color: var(--text-faint); font-size: var(--fs-sm);
+ display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
+ }
+ .fine .sep { opacity: 0.5; }
- .shot { margin: 64px auto 0; max-width: 960px; }
+ .shot { margin: 60px auto 0; max-width: 1000px; }
+ .shot figure { margin: 0; }
.shot img {
- width: 100%; height: auto; display: block; border-radius: var(--radius);
- border: 1px solid var(--border);
- box-shadow: 0 30px 80px -30px rgba(124, 156, 245, .35);
+ width: 100%; height: auto; display: block;
+ border: 1px solid var(--line); border-radius: var(--r-xl);
+ box-shadow: var(--shadow-hero);
+ }
+ .shot figcaption {
+ margin-top: 14px; color: var(--text-faint); font-size: var(--fs-sm);
+ }
+
+ /* ── section frame ──────────────────────────────────────────────────── */
+ section { padding: 104px 0; }
+ /* Sections that continue the one above rather than opening a new subject. */
+ section.tight { padding-top: 68px; }
+ .head { text-align: center; margin-bottom: 44px; }
+ .head .eyebrow {
+ display: block; margin-bottom: 12px;
+ font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em;
+ text-transform: uppercase; color: var(--star-hi);
+ }
+ .head h2 { font-size: var(--fs-2xl); margin: 0 0 10px; }
+ .head p { max-width: 60ch; margin: 0 auto; color: var(--text-dim); }
+
+ /* ── download ───────────────────────────────────────────────────────── */
+ /* The header is sticky, so an anchor that lands flush with the top lands
+ underneath it. */
+ #download { background: var(--srf-1); border-block: 1px solid var(--line-soft); scroll-margin-top: 60px; }
+ .dl-grid {
+ display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 16px; max-width: 800px; margin: 0 auto;
+ }
+ .dl-card {
+ position: relative; display: flex; flex-direction: column; gap: 4px;
+ padding: 26px 24px 24px;
+ border: 1px solid var(--line); border-radius: var(--r-xl);
+ background: var(--srf-2);
+ transition: border-color var(--t) var(--e-out), background var(--t) var(--e-out);
+ }
+ .dl-card:hover { border-color: var(--line-strong); }
+ .dl-card[data-recommended] {
+ border-color: var(--star-line);
+ background: linear-gradient(180deg, var(--star-dim), transparent 62%), var(--srf-2);
+ }
+ .dl-card .os { display: flex; align-items: center; gap: 10px; color: var(--text-hi); }
+ .dl-card .os svg { fill: currentColor; opacity: 0.9; }
+ .dl-card h3 { margin: 0; font-size: var(--fs-lg); font-weight: 600; }
+ .dl-card .req { margin: 2px 0 16px; color: var(--text-dim); font-size: var(--fs-sm); }
+ .dl-card .btn { width: 100%; }
+ .dl-card .meta {
+ margin-top: 12px; min-height: 18px;
+ font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint);
+ overflow-wrap: anywhere;
}
+ /* The separator belongs to the size, so a page whose mirror never answered
+ does not show a dot with nothing in front of it. */
+ .dl-card .meta .size:not(:empty)::after { content: ' · '; color: var(--text-faint); }
+ .badge-you {
+ position: absolute; top: -10px; left: 24px;
+ padding: 3px 9px; border-radius: 999px;
+ background: var(--star); color: var(--on-accent);
+ font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em;
+ text-transform: uppercase;
+ }
+ .dl-foot {
+ max-width: 800px; margin: 26px auto 0; text-align: center;
+ color: var(--text-faint); font-size: var(--fs-sm);
+ }
+ .dl-foot a { color: var(--text-dim); border-bottom: 1px solid var(--line); }
+ .dl-foot a:hover { color: var(--star-hi); border-color: var(--star-line); }
+ .dl-foot p { margin: 8px 0 0; }
+ .dl-foot .warnmark { color: var(--sel); }
- section.features { padding: 96px 0 32px; }
- .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
+ /* skeleton while the mirror is being asked */
+ .meta[data-loading] .size {
+ display: inline-block; width: 62px; height: 9px; vertical-align: middle;
+ border-radius: 999px; background: var(--srf-4);
+ animation: pulse 1.4s var(--e-out) infinite;
+ }
+ .meta[data-loading] .size::after { content: none; }
+ @keyframes pulse { 50% { opacity: 0.45; } }
+
+ /* ── features ───────────────────────────────────────────────────────── */
+ .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
- padding: 22px; border: 1px solid var(--border); border-radius: var(--radius);
- background: var(--bg-soft);
+ padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-xl);
+ background: var(--srf-2);
+ transition: border-color var(--t) var(--e-out), transform var(--t) var(--e-out);
+ }
+ .card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
+ .card .ico {
+ display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
+ border: 1px solid var(--star-line); border-radius: var(--r-lg);
+ background: var(--star-dim); color: var(--star-hi);
}
- .card h3 { margin: 0 0 8px; font-size: 17px; }
- .card p { margin: 0; color: var(--muted); font-size: 14px; }
+ .card h3 { margin: 0 0 8px; font-size: var(--fs-lg); font-weight: 600; }
+ .card p { margin: 0; color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.6; }
+ .card code { color: var(--text); background: var(--srf-3); padding: 1px 5px; border-radius: var(--r-sm); }
- section.code { padding: 64px 0; }
- section.code h2 { text-align: center; font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; }
- section.code p.sub { text-align: center; color: var(--muted); margin: 0 0 28px; }
+ /* ── targets strip ──────────────────────────────────────────────────── */
+ .targets {
+ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
+ max-width: 780px; margin: 0 auto;
+ }
+ .target {
+ padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
+ background: var(--srf-2); color: var(--text-dim); font-size: var(--fs-sm);
+ }
+ .target b { color: var(--text-hi); font-weight: 600; }
+
+ /* ── code ───────────────────────────────────────────────────────────── */
+ .code-shell {
+ max-width: 760px; margin: 0 auto;
+ border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
+ background: var(--srf-2); box-shadow: var(--shadow-3);
+ }
+ .code-bar {
+ display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
+ background: var(--srf-3); border-bottom: 1px solid var(--line-soft);
+ font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint);
+ }
+ .code-bar .tab {
+ padding: 4px 10px; border-radius: var(--r-sm);
+ background: var(--srf-1); color: var(--text-dim);
+ }
pre {
- margin: 0 auto; max-width: 720px; overflow: auto;
- background: #0b0f17; border: 1px solid var(--border); border-radius: var(--radius);
- padding: 20px 22px; font: 13.5px/1.7 "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
- color: #cdd6e6;
+ margin: 0; padding: 22px; overflow-x: auto;
+ font: 400 13.5px/1.75 var(--font-mono); color: var(--text);
+ background: var(--srf-1);
}
- .tok-k { color: #a78bfa; } .tok-s { color: #86e1a6; } .tok-f { color: #7c9cf5; } .tok-c { color: #5b6577; }
+ .k { color: #b272d6; } .f { color: var(--star-hi); } .s { color: #86c98f; }
+ .n { color: var(--sel); } .c { color: var(--text-faint); }
- footer { border-top: 1px solid var(--border); padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
- .foot { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
+ /* ── footer ─────────────────────────────────────────────────────────── */
+ footer { border-top: 1px solid var(--line-soft); background: var(--srf-1); padding: 44px 0; }
+ .foot { display: flex; align-items: center; gap: 20px 26px; flex-wrap: wrap; }
.foot .spacer { flex: 1; }
- .foot a:hover { color: var(--fg); }
+ .foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
+ .foot a { color: var(--text-dim); font-size: var(--fs-sm); }
+ .foot a:hover { color: var(--star-hi); }
+ .foot .legal { width: 100%; color: var(--text-faint); font-size: var(--fs-xs); }
+
+ @media (max-width: 640px) {
+ section { padding: 72px 0; }
+ .hero { padding-top: 56px; }
+ .cta .btn { width: 100%; }
+ }
+ @media (prefers-reduced-motion: reduce) {
+ html { scroll-behavior: auto; }
+ *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
+ }
</style>
</head>
<body>
+ <a class="skip" href="#main">Skip to content</a>
+
<header>
<div class="wrap nav">
- <div class="brand"><span>Estella</span></div>
+ <a class="brand" href="/">
+ <svg class="mark" width="24" height="24" viewBox="0 0 100 100" aria-hidden="true">
+ <path d="M50 50 L42 42 L50 6 L58 42 Z" fill="#4aa6ec" />
+ <path d="M50 50 L58 42 L94 50 L58 58 Z" fill="#2f88d6" />
+ <path d="M50 50 L58 58 L50 94 L42 58 Z" fill="#1c5988" />
+ <path d="M50 50 L42 58 L6 50 L42 42 Z" fill="#2c7cc0" />
+ </svg>
+ Estella
+ </a>
<div class="spacer"></div>
<a class="link" href="/docs/getting-started/introduction/">Docs</a>
+ <a class="link opt" href="/docs/api-ts/readme/">API</a>
+ <a class="link opt" href="/docs/zh-cn/getting-started/introduction/" lang="zh-CN">中文</a>
<a class="link" href="https://github.com/esengine/estella">GitHub</a>
- <a class="btn" href="https://github.com/esengine/estella/releases">Download</a>
+ <a class="btn sm primary" href="#download">Download</a>
</div>
</header>
- <main>
+ <main id="main">
+ <!-- ── hero ─────────────────────────────────────────────────────────── -->
<section class="hero wrap">
- <span class="badge">C++/WebAssembly · TypeScript SDK · ECS</span>
- <h1>A fast <span class="grad">2D game engine</span><br />for the web</h1>
+ <svg class="mark mark-lg" width="96" height="96" viewBox="0 0 100 100" role="img" aria-label="Estella">
+ <defs>
+ <filter id="halo" x="-40%" y="-40%" width="180%" height="180%">
+ <feGaussianBlur stdDeviation="4.2" />
+ </filter>
+ </defs>
+ <path d="M50 6 L58 42 L94 50 L58 58 L50 94 L42 58 L6 50 L42 42 Z" fill="#2f88d6" opacity="0.5" filter="url(#halo)" />
+ <path d="M50 50 L42 42 L50 6 L58 42 Z" fill="#4aa6ec" />
+ <path d="M50 50 L58 42 L94 50 L58 58 Z" fill="#2f88d6" />
+ <path d="M50 50 L58 58 L50 94 L42 58 Z" fill="#1c5988" />
+ <path d="M50 50 L42 58 L6 50 L42 42 Z" fill="#2c7cc0" />
+ <g stroke="#0a1826" stroke-width="0.7" stroke-linecap="round" opacity="0.5">
+ <line x1="50" y1="50" x2="42" y2="42" /><line x1="50" y1="50" x2="58" y2="42" />
+ <line x1="50" y1="50" x2="58" y2="58" /><line x1="50" y1="50" x2="42" y2="58" />
+ </g>
+ <path d="M42 42 L50 50 L58 42" fill="none" stroke="#9fd2f7" stroke-width="0.7" opacity="0.6" />
+ </svg>
+
+ <a class="chip" id="release-chip" href="https://github.com/esengine/estella/releases">
+ <span class="dot" aria-hidden="true"></span>
+ <span id="release-label">Latest release</span>
+ <span class="sep">·</span>
+ <span>changelog</span>
+ </a>
+
+ <h1>A fast 2D game engine<br />for <em>everywhere you ship</em></h1>
<p class="lead">
- Estella pairs a first-class TypeScript SDK with a C++/WebAssembly
- rendering core, and ships a visual editor. Build once, deploy to web
- browsers, the desktop, WeChat MiniGames, playable ads, and native
- Android / iOS.
+ Estella pairs a first-class TypeScript SDK with a C++/WebAssembly rendering
+ core, and ships a visual editor. One project builds for the web, the desktop,
+ WeChat MiniGames, playable ads, and native Android / iOS.
</p>
+
<div class="cta">
- <a class="btn primary" href="/docs/getting-started/quick-start/">Get Started →</a>
- <a class="btn" href="https://github.com/esengine/estella">View on GitHub</a>
+ <a class="btn primary" id="hero-download" href="#download">
+ <svg width="15" height="15" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
+ <path d="M7.25 1v8.19L4.53 6.47 3.47 7.53 8 12.06l4.53-4.53-1.06-1.06-2.72 2.72V1h-1.5ZM2.5 13v1.5h11V13h-11Z" />
+ </svg>
+ <span id="hero-download-label">Download the editor</span>
+ </a>
+ <a class="btn" href="/docs/getting-started/quick-start/">Quick start →</a>
</div>
+ <p class="fine">
+ <span>Free and open source</span><span class="sep">·</span>
+ <span>Apache-2.0</span><span class="sep">·</span>
+ <span>Windows &amp; macOS</span>
+ </p>
+
<div class="shot">
- <img src="/editor-hero-c5bfd2f3.png" alt="The Estella editor" loading="lazy" />
+ <figure>
+ <img src="/editor-hero-c5bfd2f3.png" width="1480" height="920"
+ alt="An action-RPG scene open in the Estella editor, with the scene graph in the outliner" loading="lazy" />
+ <figcaption>Celestial Heights — an action-RPG scene in the Estella editor.</figcaption>
+ </figure>
</div>
</section>
- <section class="features wrap">
+ <!-- ── download ─────────────────────────────────────────────────────── -->
+ <section id="download">
+ <div class="wrap">
+ <div class="head">
+ <span class="eyebrow">Download</span>
+ <h2>Get the editor</h2>
+ <p>
+ Served from the project's Cloudflare mirror — the same one the editor's
+ update check reads, and measured at 3.0 MB/s against GitHub's 2.0 from
+ Shanghai. Every release is on GitHub too.
+ </p>
+ </div>
+
+ <div class="dl-grid">
+ <div class="dl-card" id="card-win">
+ <div class="os">
+ <svg width="18" height="18" viewBox="0 0 16 16" aria-hidden="true"><path d="M0 2.25 6.5 1.36v6.02H0V2.25Zm7.3-1L16 0v7.38H7.3V1.25ZM0 8.62h6.5v6.02L0 13.75V8.62Zm7.3 0H16V16l-8.7-1.21V8.62Z"/></svg>
+ <h3>Windows</h3>
+ </div>
+ <p class="req">Windows 10 / 11 · x64 · installer</p>
+ <a class="btn primary" id="btn-win" href="https://dl.estella.games/latest/Estella-Editor-Setup.exe" download>
+ Download for Windows
+ </a>
+ <div class="meta" id="meta-win" data-loading><span class="size"></span><span class="name">Estella-Editor-Setup.exe</span></div>
+ </div>
+
+ <div class="dl-card" id="card-mac">
+ <div class="os">
+ <svg width="18" height="18" viewBox="0 0 16 16" aria-hidden="true"><path d="M11.18 8.4c-.02-1.63 1.33-2.42 1.39-2.46-.76-1.11-1.94-1.26-2.36-1.28-1-.1-1.96.59-2.47.59-.51 0-1.3-.58-2.13-.56-1.1.02-2.11.64-2.68 1.62-1.14 1.98-.29 4.92.82 6.53.54.79 1.19 1.67 2.04 1.64.82-.03 1.13-.53 2.12-.53s1.27.53 2.13.51c.88-.01 1.44-.8 1.98-1.59.62-.91.88-1.79.89-1.84-.02-.01-1.71-.66-1.73-2.63ZM9.6 3.6c.45-.55.76-1.31.67-2.07-.65.03-1.44.43-1.9.98-.42.48-.79 1.26-.69 2 .73.06 1.47-.37 1.92-.91Z"/></svg>
+ <h3>macOS</h3>
+ </div>
+ <p class="req">macOS 12+ · Apple silicon · disk image</p>
+ <a class="btn primary" id="btn-mac" href="https://dl.estella.games/latest/Estella-Editor-arm64.dmg" download>
+ Download for macOS
+ </a>
+ <div class="meta" id="meta-mac" data-loading><span class="size"></span><span class="name">Estella-Editor-arm64.dmg</span></div>
+ </div>
+ </div>
+
+ <div class="dl-foot">
+ <p>
+ Intel Macs and Linux: <a href="https://github.com/esengine/estella/blob/master/CONTRIBUTING.md">build from source</a>.
+ Every build, checksum and release note lives on the
+ <a href="https://github.com/esengine/estella/releases">releases page</a>.
+ </p>
+ <p>
+ <span class="warnmark" aria-hidden="true">▲</span>
+ Installers are unsigned for now, so Windows SmartScreen and macOS Gatekeeper
+ will ask before the first launch.
+ </p>
+ </div>
+ </div>
+ </section>
+
+ <!-- ── features ─────────────────────────────────────────────────────── -->
+ <section class="wrap">
+ <div class="head">
+ <span class="eyebrow">Why Estella</span>
+ <h2>An engine that behaves like an instrument</h2>
+ <p>A native rendering core, a typed SDK, and an editor that edits your project — not a pile of JSON.</p>
+ </div>
<div class="grid">
- <div class="card"><h3>Fast</h3><p>A C++ rendering pipeline compiled to WebAssembly — not interpreted JavaScript.</p></div>
- <div class="card"><h3>Type-safe SDK</h3><p><code>defineComponent</code>, <code>defineSystem</code>, <code>Query</code>, <code>Commands</code>, <code>Res</code>.</p></div>
- <div class="card"><h3>Data-oriented</h3><p>An ECS core with a single cache-friendly component storage layer.</p></div>
- <div class="card"><h3>Cross-platform</h3><p>One codebase, deployed to the web, the desktop, WeChat MiniGames, playable ads, and native Android / iOS.</p></div>
- <div class="card"><h3>Visual editor</h3><p>Scene hierarchy, inspector, and asset browser — no JSON editing.</p></div>
- <div class="card"><h3>Spine &amp; Physics</h3><p>Built-in Spine skeletal animation and physics support.</p></div>
+ <div class="card">
+ <div class="ico"><svg width="17" height="17" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M9.2 1 3 9h3.6l-.8 6L13 7H9.4l-.2-6Z"/></svg></div>
+ <h3>Fast by construction</h3>
+ <p>A C++ rendering pipeline compiled to WebAssembly, batching draws behind one command producer — not interpreted JavaScript.</p>
+ </div>
+ <div class="card">
+ <div class="ico"><svg width="17" height="17" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5.7 2.3 4.6 1.2 0 5.8v1.4l4.6 4.6 1.1-1.1L1.8 6.5l3.9-4.2Zm4.6 0 1.1-1.1 4.6 4.6v1.4l-4.6 4.6-1.1-1.1 3.9-4.2-3.9-4.2Z"/></svg></div>
+ <h3>Type-safe SDK</h3>
+ <p><code>defineComponent</code>, <code>defineSystem</code>, <code>Query</code>, <code>Commands</code>, <code>Res</code> — the compiler knows what a system reads and writes.</p>
+ </div>
+ <div class="card">
+ <div class="ico"><svg width="17" height="17" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2 2h5v5H2V2Zm7 0h5v5H9V2ZM2 9h5v5H2V9Zm7 0h5v5H9V9Z"/></svg></div>
+ <h3>Data-oriented core</h3>
+ <p>An ECS with one cache-friendly component store, change detection, and systems scheduled over the archetypes that match.</p>
+ </div>
+ <div class="card">
+ <div class="ico"><svg width="17" height="17" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M1 2h14v9H1V2Zm1.5 1.5v6h11v-6h-11ZM5 13h6v1.5H5V13Z"/></svg></div>
+ <h3>A real editor</h3>
+ <p>Scene graph, inspector, tilemaps, particles, animation, prefabs, visual event binding, and plugins that extend all of it.</p>
+ </div>
+ <div class="card">
+ <div class="ico"><svg width="17" height="17" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm4.9 6.2h-2.3a10.8 10.8 0 0 0-1-4 5.5 5.5 0 0 1 3.3 4ZM8 2.6c.6.8 1.1 2.4 1.2 4.6H6.8c.1-2.2.6-3.8 1.2-4.6ZM3.1 7.2a5.5 5.5 0 0 1 3.3-4 10.8 10.8 0 0 0-1 4H3.1Zm0 1.6h2.3c.1 1.5.4 2.9 1 4a5.5 5.5 0 0 1-3.3-4Zm4.9 4.6c-.6-.8-1.1-2.4-1.2-4.6h2.4c-.1 2.2-.6 3.8-1.2 4.6Zm1.6-.6c.5-1.1.9-2.5 1-4h2.3a5.5 5.5 0 0 1-3.3 4Z"/></svg></div>
+ <h3>Ships to six targets</h3>
+ <p>Web, desktop, WeChat MiniGames, single-file playable ads, and native Android / iOS — an arm64 app on an embedded Dawn, not a WebView.</p>
+ </div>
+ <div class="card">
+ <div class="ico"><svg width="17" height="17" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 1 2 3.5v4.2c0 3.4 2.5 6.2 6 7.3 3.5-1.1 6-3.9 6-7.3V3.5L8 1Zm0 1.7 4.5 1.9v3.1c0 2.6-1.9 4.8-4.5 5.8-2.6-1-4.5-3.2-4.5-5.8V4.6L8 2.7Z"/></svg></div>
+ <h3>Content hot-update</h3>
+ <p>Content-addressed asset groups a shipped game downloads and applies atomically, verified by digest and rolled back if wrong.</p>
+ </div>
</div>
</section>
- <section class="code wrap">
- <h2>Write game logic in TypeScript</h2>
- <p class="sub">Declare what a system needs; Estella runs it over matching entities each frame.</p>
-<pre><span class="tok-k">const</span> Speed = <span class="tok-f">defineComponent</span>(<span class="tok-s">'Speed'</span>, { value: <span class="tok-s">200</span> });
+ <!-- ── targets ──────────────────────────────────────────────────────── -->
+ <section class="wrap tight">
+ <div class="head">
+ <span class="eyebrow">One project</span>
+ <h2>Built for the platform you name</h2>
+ </div>
+ <div class="targets">
+ <span class="target"><b>Web</b> — WebGL 2 / WebGPU</span>
+ <span class="target"><b>Desktop</b> — Windows · macOS · Linux</span>
+ <span class="target"><b>WeChat</b> MiniGame</span>
+ <span class="target"><b>Playable ads</b> — one HTML file</span>
+ <span class="target"><b>Android</b> — APK · AAB · Studio project</span>
+ <span class="target"><b>iOS</b> — Xcode project</span>
+ </div>
+ </section>
-<span class="tok-f">addSystem</span>(<span class="tok-f">defineSystem</span>(
- [<span class="tok-f">Res</span>(Time), <span class="tok-f">Query</span>(<span class="tok-f">Mut</span>(LocalTransform), Speed)],
+ <!-- ── code ─────────────────────────────────────────────────────────── -->
+ <section class="wrap tight">
+ <div class="head">
+ <span class="eyebrow">The SDK</span>
+ <h2>Write game logic in TypeScript</h2>
+ <p>Declare what a system needs; Estella runs it over the matching entities each frame.</p>
+ </div>
+ <div class="code-shell">
+ <div class="code-bar"><span class="tab">movement.ts</span></div>
+<pre><span class="k">const</span> Speed = <span class="f">defineComponent</span>(<span class="s">'Speed'</span>, { value: <span class="n">200</span> });
+
+<span class="f">addSystem</span>(<span class="f">defineSystem</span>(
+ [<span class="f">Res</span>(Time), <span class="f">Query</span>(<span class="f">Mut</span>(LocalTransform), Speed)],
(time, query) => {
- <span class="tok-k">for</span> (<span class="tok-k">const</span> [entity, transform, speed] <span class="tok-k">of</span> query) {
+ <span class="k">for</span> (<span class="k">const</span> [entity, transform, speed] <span class="k">of</span> query) {
transform.position.x += speed.value * time.delta;
}
}
));</pre>
+ </div>
</section>
</main>
<footer>
<div class="wrap foot">
- <div class="brand"><span>Estella</span></div>
+ <a class="brand" href="/">
+ <svg class="mark" width="20" height="20" viewBox="0 0 100 100" aria-hidden="true">
+ <path d="M50 6 L58 42 L94 50 L58 58 L50 94 L42 58 L6 50 L42 42 Z" fill="var(--star)" />
+ </svg>
+ Estella
+ </a>
<div class="spacer"></div>
- <a href="/docs/getting-started/introduction/">Documentation</a>
- <a href="https://github.com/esengine/estella">GitHub</a>
- <a href="https://discord.gg/sAX6PXZ9">Discord</a>
- <a href="https://github.com/esengine/estella/blob/master/LICENSE">Apache-2.0</a>
+ <nav>
+ <a href="/docs/getting-started/introduction/">Documentation</a>
+ <a href="/docs/zh-cn/getting-started/introduction/" lang="zh-CN">中文文档</a>
+ <a href="/docs/api-ts/readme/">API reference</a>
+ <a href="https://github.com/esengine/estella/blob/master/CHANGELOG.md">Changelog</a>
+ <a href="https://github.com/esengine/estella">GitHub</a>
+ <a href="https://discord.gg/sAX6PXZ9">Discord</a>
+ <a href="https://qm.qq.com/q/BONa5LXQ0U">QQ 群</a>
+ <a href="https://github.com/esengine/estella/blob/master/LICENSE">Apache-2.0</a>
+ </nav>
+ <p class="legal">
+ © 2026 ESEngine Team. Estella is free and open source under the Apache License 2.0.
+ </p>
</div>
</footer>
+
+ <script>
+ // Progressive enhancement only. The download buttons already point at stable
+ // mirror aliases that always resolve to the newest release, so everything
+ // below is decoration: which card is yours, and what you are about to get.
+ (function () {
+ var MIRROR = 'https://dl.estella.games/latest.json';
+
+ function detectOS() {
+ var ua = navigator.userAgent;
+ if (/Mac|iPhone|iPad/.test(ua)) return 'mac';
+ if (/Windows/.test(ua)) return 'win';
+ return null;
+ }
+
+ function mb(bytes) {
+ return Math.round(bytes / 1048576) + ' MB';
+ }
+
+ // Mark the visitor's platform, and aim the hero button at it.
+ var os = detectOS();
+ if (os) {
+ var card = document.getElementById(os === 'mac' ? 'card-mac' : 'card-win');
+ var btn = document.getElementById(os === 'mac' ? 'btn-mac' : 'btn-win');
+ var tag = document.createElement('span');
+ tag.className = 'badge-you';
+ tag.textContent = 'your platform';
+ card.appendChild(tag);
+ card.setAttribute('data-recommended', '');
+ var hero = document.getElementById('hero-download');
+ hero.href = btn.href;
+ hero.setAttribute('download', '');
+ document.getElementById('hero-download-label').textContent =
+ os === 'mac' ? 'Download for macOS' : 'Download for Windows';
+ }
+
+ // Ask the mirror what the newest release is. A failure leaves the page as
+ // shipped — links still work, the chips just stay unlabelled.
+ fetch(MIRROR, { headers: { accept: 'application/json' } })
+ .then(function (r) { return r.ok ? r.json() : Promise.reject(r.status); })
+ .then(function (latest) {
+ if (latest.version) {
+ document.getElementById('release-label').textContent = 'v' + latest.version;
+ document.getElementById('release-chip').href =
+ 'https://github.com/esengine/estella/releases/tag/v' + latest.version;
+ }
+ var d = latest.downloads || {};
+ [['win', d.win], ['mac', d['mac-arm64']]].forEach(function (pair) {
+ var meta = document.getElementById('meta-' + pair[0]);
+ var info = pair[1];
+ meta.removeAttribute('data-loading');
+ if (!info) return;
+ if (info.size) meta.querySelector('.size').textContent = mb(info.size);
+ if (info.name) meta.querySelector('.name').textContent = info.name;
+ });
+ })
+ .catch(function () {
+ ['meta-win', 'meta-mac'].forEach(function (id) {
+ document.getElementById(id).removeAttribute('data-loading');
+ });
+ });
+ })();
+ </script>
</body>
</html>