ludic/ns-app.html
2026-09-17 22:10:03 +00:00

22 lines
No EOL
2.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>App — Ludic</title>
<meta name="description" content="The running application, as distinct from its window.">
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="docs.css">
</head>
<body>
<header class="nav"><div class="wrap nav-in"><a class="brand" href="index.html"><span class="logo">L</span> Ludic</a><button class="nav-toggle" aria-label="Toggle menu" aria-expanded="false">☰</button><nav class="nav-links"><a href="index.html">Home</a><a href="api.html">API Reference</a><a class="nav-cta" href="https://git.workshopsoft.io/workshopsoft/ludic">Source ↗</a></nav></div></header>
<main class="wrap item">
<div class="crumbs"><a href="api.html">API Reference</a> <span>›</span> <span class="here">App</span></div>
<div class="item-head"><span class="kind-badge kind-namespace">namespace</span><h1 id="top">App</h1></div>
<p class="ns-blurb">The running application, as distinct from its window. Today that is the boot splash: the runtime raises it before <code>main</code> from the game's asset pack, and <a href="app-splash_hide"><code>App.splash_hide</code></a> takes it down when the game has something to show instead. <a href="app-window_hide"><code>App.window_hide</code></a> and <a href="app-window_show"><code>App.window_show</code></a> take the game's own window off the screen and bring it back without closing it — a launcher stepping aside while the game it started runs.</p>
<div class="ns-methods"><a class="ns-method" href="app-splash_hide.html"><code class="nm-sig">App.splash_hide() -&gt; void</code><span class="nm-tip">Dismiss the boot splash.</span></a><a class="ns-method" href="app-set_icon.html"><code class="nm-sig">App.set_icon(path) -&gt; void</code><span class="nm-tip">Set the Dock icon from an image the game ships.</span></a><a class="ns-method" href="app-window_hide.html"><code class="nm-sig">App.window_hide() -&gt; void</code><span class="nm-tip">Take the game's window off the screen.</span></a><a class="ns-method" href="app-window_show.html"><code class="nm-sig">App.window_show() -&gt; void</code><span class="nm-tip">Bring the game's window back.</span></a></div>
<a class="back" href="api.html">← All symbols</a>
</main>
<script src="ludic-highlight.js"></script>
<script>Ludic.installCards(); Ludic.flashTarget();</script>
</body></html>