Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/games/bloom-shooter/gameplay.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/HomePage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const platforms = [
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/></svg>
{t("home.getStarted")}
</a>
<a href="https://github.com/Bloom-Engine" target="_blank" rel="noopener" class="btn btn-secondary">
<a href="https://github.com/Bloom-Engine/engine" target="_blank" rel="noopener" class="btn btn-secondary">
{t("home.viewOnGithub")}
</a>
</div>
Expand Down Expand Up @@ -254,7 +254,7 @@ endMode3D();</code></pre>
<h2>{t("home.cta.title")}</h2>
<p>{t("home.cta.desc")}</p>
<div class="hero-actions">
<a href="https://github.com/Bloom-Engine" target="_blank" rel="noopener" class="btn btn-primary">
<a href="https://github.com/Bloom-Engine/engine" target="_blank" rel="noopener" class="btn btn-primary">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/></svg>
{t("home.cta.button")}
</a>
Expand Down
116 changes: 92 additions & 24 deletions src/components/ShowcasePage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const games = [
url: "https://apps.apple.com/us/app/bloom-jump/id6761447092",
image: "/games/bloom-jump/mac.webp",
altKey: "home.game.alt",
platforms: "iPhone · iPad · Mac · Apple TV · Vision · Apple Watch · Android · Web",
liveKey: "showcase.liveBadge",
platforms: "iPhone · iPad · Mac · Apple TV · Vision · Apple Watch · Android · Windows · Web",
stores: [
{
label: "App Store",
Expand All @@ -43,6 +44,65 @@ const games = [
url: "https://bloomengine.dev/jump/",
kind: "web",
},
{
label: "Microsoft Store",
sublabel: "Windows",
url: "https://apps.microsoft.com/detail/9nltqh8f4cg8",
kind: "microsoft",
},
{
label: "Download",
sublabel: "Windows · MSIX",
url: "/downloads/bloom-jump/BloomJump-1.0.83.0.msix",
kind: "download",
},
{
label: "GitHub",
sublabel: "Bloom-Engine/jump",
url: "https://github.com/Bloom-Engine/jump",
kind: "github",
},
],
},
{
name: "Bloom Shooter",
descKey: "showcase.bloomShooter.desc",
url: "https://play.google.com/store/apps/details?id=com.bloomengine.shooter",
image: "/games/bloom-shooter/gameplay.webp",
altKey: "showcase.bloomShooter.alt",
liveKey: "showcase.liveBadgeGooglePlay",
platforms: "Android · Windows · Web",
stores: [
{
label: "Google Play",
sublabel: "Android",
url: "https://play.google.com/store/apps/details?id=com.bloomengine.shooter",
kind: "google",
},
{
label: "Microsoft Store",
sublabel: "Windows",
url: "https://apps.microsoft.com/detail/9p1wzjt33htp",
kind: "microsoft",
},
{
label: "Web",
sublabel: "bloomengine.dev/shooter",
url: "https://bloomengine.dev/shooter/",
kind: "web",
},
{
label: "Download",
sublabel: "Windows · MSIX",
url: "/downloads/bloom-shooter/BloomShooter-1.0.7.0.msix",
kind: "download",
},
{
label: "GitHub",
sublabel: "Bloom-Engine/shooter",
url: "https://github.com/Bloom-Engine/shooter",
kind: "github",
},
],
},
];
Expand All @@ -60,41 +120,51 @@ const games = [
<div class="container">
<div class="showcase-grid">
{games.map((g) => (
<div class="showcase-card">
<article class="showcase-card">
<a href={g.url} target="_blank" rel="noopener" class="showcase-preview">
<img src={g.image} alt={t(g.altKey)} width="1640" height="1280" loading="lazy" />
</a>
<div class="showcase-info">
<span class="showcase-live">{t("showcase.liveBadge")}</span>
<span class="showcase-live">{t(g.liveKey)}</span>
<h3>{g.name}</h3>
<p>{g.descKey ? t(g.descKey) : ""}</p>
<div class="showcase-stores">
{g.stores.map((s) => (
<a href={s.url} target="_blank" rel="noopener" class="store-badge">
<a
href={s.url}
class="store-badge"
{...(s.kind === "download" ? { download: "" } : { target: "_blank", rel: "noopener" })}
>
{s.kind === "apple" ? (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"/></svg>
) : s.kind === "google" ? (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M3.6 2.1c-.3.3-.5.7-.5 1.2v17.4c0 .5.2.9.5 1.2l.1.1 9.7-9.7v-.2L3.7 2zM17 15.3l-3.2-3.2v-.2L17 8.7l.1.1 3.8 2.2c1.1.6 1.1 1.7 0 2.3zm-1-1.1l-2.4-2.4-7.5 7.5c.4.4 1 .4 1.6.1zm-9.9 5.3 7.5-7.5-7.5-7.5z"/></svg>
) : s.kind === "microsoft" ? (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M3 3h8.5v8.5H3zM12.5 3H21v8.5h-8.5zM3 12.5h8.5V21H3zM12.5 12.5H21V21h-8.5z"/></svg>
) : s.kind === "github" ? (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 2C6.48 2 2 6.58 2 12.25c0 4.53 2.87 8.37 6.84 9.73.5.1.68-.22.68-.49 0-.24-.01-.88-.01-1.73-2.78.62-3.37-1.37-3.37-1.37-.45-1.18-1.11-1.5-1.11-1.5-.91-.64.07-.62.07-.62 1 .07 1.53 1.06 1.53 1.06.89 1.57 2.34 1.11 2.91.85.09-.66.35-1.11.63-1.37-2.22-.26-4.56-1.14-4.56-5.07 0-1.12.39-2.03 1.03-2.75-.1-.26-.45-1.3.1-2.71 0 0 .84-.28 2.75 1.05a9.3 9.3 0 0 1 5 0c1.91-1.33 2.75-1.05 2.75-1.05.55 1.41.2 2.45.1 2.71.64.72 1.03 1.63 1.03 2.75 0 3.94-2.34 4.81-4.57 5.06.36.32.68.94.68 1.9 0 1.37-.01 2.48-.01 2.82 0 .27.18.6.69.49A10.26 10.26 0 0 0 22 12.25C22 6.58 17.52 2 12 2z"/></svg>
) : s.kind === "download" ? (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M11 3h2v9.17l3.59-3.58L18 10l-6 6-6-6 1.41-1.41L11 12.17zM5 18h14v2H5z"/></svg>
) : (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.93 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A8.03 8.03 0 0 1 5.08 16zm2.95-8H5.08a8.03 8.03 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"/></svg>
)}
<span class="store-badge-text">
<span class="store-badge-label">{s.label}</span>
<span class="store-badge-label">{s.kind === "download" ? t("showcase.download") : s.label}</span>
<span class="store-badge-sub">{s.sublabel}</span>
</span>
</a>
))}
</div>
<span class="showcase-platforms">{g.platforms}</span>
</div>
</div>
</article>
))}
</div>

<div class="showcase-cta">
<h2>{t("showcase.cta.title")}</h2>
<p>{t("showcase.cta.desc")}</p>
<a href="https://github.com/Bloom-Engine" target="_blank" rel="noopener" class="btn btn-primary">
<a href="https://github.com/Bloom-Engine/engine" target="_blank" rel="noopener" class="btn btn-primary">
{t("showcase.cta.button")}
</a>
</div>
Expand All @@ -121,13 +191,14 @@ const games = [

.showcase-grid {
display: grid;
gap: 2rem;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
margin-bottom: 4rem;
}

.showcase-card {
display: grid;
grid-template-columns: 6fr 5fr;
display: flex;
flex-direction: column;
border-radius: 16px;
overflow: hidden;
background: var(--bloom-light);
Expand All @@ -143,6 +214,8 @@ const games = [

.showcase-preview {
display: block;
aspect-ratio: 16 / 10;
overflow: hidden;
}

.showcase-preview img {
Expand All @@ -153,10 +226,10 @@ const games = [
}

.showcase-info {
padding: 2.5rem;
flex: 1;
padding: 1.5rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}

Expand All @@ -174,7 +247,7 @@ const games = [
}

.showcase-info h3 {
font-size: 1.5rem;
font-size: 1.25rem;
margin-bottom: 0.5rem;
}

Expand All @@ -188,14 +261,15 @@ const games = [
.showcase-stores {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
gap: 0.5rem;
margin-top: auto;
}

.store-badge {
display: inline-flex;
align-items: center;
gap: 0.55rem;
padding: 0.5rem 0.9rem;
gap: 0.5rem;
padding: 0.45rem 0.75rem;
border-radius: 10px;
background: var(--bloom-dark);
color: #fff;
Expand Down Expand Up @@ -227,12 +301,12 @@ const games = [
}

.store-badge-label {
font-size: 0.875rem;
font-size: 0.8125rem;
font-weight: 700;
}

.showcase-platforms {
margin-top: 0.5rem;
margin-top: 0.9rem;
font-size: 0.8125rem;
font-weight: 600;
color: rgba(27, 42, 30, 0.45);
Expand All @@ -250,10 +324,4 @@ const games = [
margin: 0.75rem auto 1.5rem;
max-width: 400px;
}

@media (max-width: 768px) {
.showcase-card {
grid-template-columns: 1fr;
}
}
</style>
8 changes: 4 additions & 4 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const languageMenuPath = localizedPathAvailable ? pathWithoutLocale : "/";
<a href={localePath(locale, "/showcase")}>{t("nav.showcase")}</a>
<a href="/docs">{t("nav.docs")}</a>
<a href={localePath(locale, "/blog")}>{t("nav.blog")}</a>
<a href="https://github.com/Bloom-Engine" target="_blank" rel="noopener">{t("nav.github")}</a>
<a href="https://github.com/Bloom-Engine/engine" target="_blank" rel="noopener">{t("nav.github")}</a>
<div class="lang-switcher">
<button class="lang-btn" aria-label={t("meta.languageLabel")} aria-haspopup="true" aria-expanded="false">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
Expand Down Expand Up @@ -119,12 +119,12 @@ const languageMenuPath = localizedPathAvailable ? pathWithoutLocale : "/";
<a href={localePath(locale, "/showcase")}>{t("nav.showcase")}</a>
<a href="/docs">{t("nav.docs")}</a>
<a href={localePath(locale, "/blog")}>{t("nav.blog")}</a>
<a href="https://github.com/Bloom-Engine" target="_blank" rel="noopener">{t("nav.github")}</a>
<a href="https://github.com/Bloom-Engine/engine" target="_blank" rel="noopener">{t("nav.github")}</a>
</div>
<div class="footer-col">
<h4>{t("footer.community")}</h4>
<a href="https://github.com/Bloom-Engine" target="_blank" rel="noopener">{t("footer.discussions")}</a>
<a href="https://github.com/Bloom-Engine" target="_blank" rel="noopener">{t("footer.contributing")}</a>
<a href="https://github.com/Bloom-Engine/engine" target="_blank" rel="noopener">{t("footer.discussions")}</a>
<a href="https://github.com/Bloom-Engine/engine" target="_blank" rel="noopener">{t("footer.contributing")}</a>
</div>
</div>
</div>
Expand Down
8 changes: 7 additions & 1 deletion src/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,15 @@
"desc": "Veröffentlichte Spiele, gebaut mit Bloom — jetzt erhältlich und kostenlos spielbar.",
"metaDescription": "Veröffentlichte Spiele, gebaut mit Bloom — jetzt erhältlich und kostenlos spielbar.",
"liveBadge": "Jetzt im App Store",
"liveBadgeGooglePlay": "Jetzt bei Google Play",
"download": "Download",
"bloomJump": {
"desc": "Ein kostenloser Retro-Pixel-Plattformer — fünf handgemachte Level, 60 FPS und ein originaler Chiptune-Soundtrack. Komplett mit Bloom gebaut, läuft nativ auf iPhone, iPad und Mac."
},
"bloomShooter": {
"desc": "Ein kostenloser Third-Person-Alien-Shooter — fünf handgestaltete Arenen, fünfzig Wellen, sechs Waffen und am Ende wartet die Matriarch. Komplett mit Bloom gebaut, ohne Werbung und ohne In-App-Käufe.",
"alt": "Bloom Shooter Gameplay"
},
"cta": {
"title": "Etwas mit Bloom gebaut?",
"desc": "Wir würden dein Projekt gern hier vorstellen. Teile es auf GitHub und lass es uns wissen!",
Expand Down Expand Up @@ -180,7 +186,7 @@
"li.next4": "Die Beispielspiele als Open Source veröffentlichen, inklusive einer Demo, die etwas größer ist als Pong.",
"li.next5": "Die Perry-Kompilierungspipeline im Detail aufschreiben. Mehrere Leute haben danach gefragt.",
"h.try": "Probier es aus",
"p.try1": "Bloom ist Open Source unter MIT. Das gesamte Repository liegt auf <a href=\"https://github.com/Bloom-Engine\" target=\"_blank\" rel=\"noopener\">GitHub</a>. Wenn du mitlesen willst, ohne zu forken, gibt es in den <a data-internal=\"docs\">Docs</a> einen 12-zeiligen Quick Start, und die <a data-internal=\"showcase\">Showcase</a>-Seite listet, was wir selbst damit bauen.",
"p.try1": "Bloom ist Open Source unter MIT. Das gesamte Repository liegt auf <a href=\"https://github.com/Bloom-Engine/engine\" target=\"_blank\" rel=\"noopener\">GitHub</a>. Wenn du mitlesen willst, ohne zu forken, gibt es in den <a data-internal=\"docs\">Docs</a> einen 12-zeiligen Quick Start, und die <a data-internal=\"showcase\">Showcase</a>-Seite listet, was wir selbst damit bauen.",
"p.try2": "So oder so: Danke fürs Reinschauen. Wir posten hier weiter, sobald größere Stücke landen."
}
}
Expand Down
8 changes: 7 additions & 1 deletion src/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,15 @@
"desc": "Live games built with Bloom — out now and free to play.",
"metaDescription": "Live games built with Bloom — out now and free to play.",
"liveBadge": "Live on the App Store",
"liveBadgeGooglePlay": "Live on Google Play",
"download": "Download",
"bloomJump": {
"desc": "A free retro pixel platformer — five hand-crafted levels, 60 FPS, and an original chiptune soundtrack. Built entirely with Bloom, running natively on iPhone, iPad, and Mac."
},
"bloomShooter": {
"desc": "A free third-person alien shooter — five handcrafted arenas, fifty waves, six weapons, and the Matriarch waiting at the end. Built entirely with Bloom, with no ads and no in-app purchases.",
"alt": "Bloom Shooter gameplay"
},
"cta": {
"title": "Build something with Bloom?",
"desc": "We'd love to feature your project here. Share it on GitHub and let us know!",
Expand Down Expand Up @@ -180,7 +186,7 @@
"li.next4": "Open-source the example games, including a slightly bigger demo than Pong.",
"li.next5": "Write up the Perry compilation pipeline in detail. Several people have asked.",
"h.try": "Try it",
"p.try1": "Bloom is open source under MIT. The whole repository is on <a href=\"https://github.com/Bloom-Engine\" target=\"_blank\" rel=\"noopener\">GitHub</a>. If you want to follow along without forking, the <a data-internal=\"docs\">docs</a> have a 12-line quick start, and the <a data-internal=\"showcase\">showcase</a> page lists what we are building with it ourselves.",
"p.try1": "Bloom is open source under MIT. The whole repository is on <a href=\"https://github.com/Bloom-Engine/engine\" target=\"_blank\" rel=\"noopener\">GitHub</a>. If you want to follow along without forking, the <a data-internal=\"docs\">docs</a> have a 12-line quick start, and the <a data-internal=\"showcase\">showcase</a> page lists what we are building with it ourselves.",
"p.try2": "Either way: thanks for taking a look. We will keep posting here as bigger pieces land."
}
}
Expand Down
Loading
Loading