Skip to content

Releases

dsh-game-studio 0.1.0-rc.5

Pre-release

Choose a tag to compare

@finiking finiking released this 08 Nov 18:55

English

  • Storefront Game Wall (src/wall.ts): Upgraded the exported & online game wall into a Steam / PlayStation Store style digital storefront with a 5-game Hero Spotlight carousel, live search, 2D/3D and Portrait/Landscape filters, sorting, rich game cards with genre tags, cache-busted cover/game URLs, and a theater player with Restart & Fullscreen controls (including an automatic mobile fullscreen fallback on iOS Safari).
  • Mobile Touchscreen Polish (src/build.ts, src/playtest.ts, templates):
    • Added 100dvh, viewport-fit=cover, and mobile touch-callout / selection suppression to built games.
    • Added multi-touch pointerId protection and setPointerCapture to the 2D collector template and 3D voxel template so one thumb can steer while the other taps skill buttons.
    • Added a visual floating virtual joystick ring + knob to the 3D voxel template.
    • Updated GAME_STATE_CONTRACT to instruct agents that every keyboard action must also have an on-screen touch button or gesture supporting multi-touch.

Try it: https://finiking.github.io/dsh-games/wall/

Install or update: dsh plugin --profile web add @zseven-w/dsh-game-studio@0.1.0-rc.5.

简体中文

  • 商店风游戏墙升级(src/wall.ts):将导出与在线游戏墙升级为 Steam / PlayStation Store 风格的数字商店界面,包含 5 款焦点游戏轮播横幅(Hero Spotlight)、实时搜索框、2D/3D 与横竖屏筛选、排序栏、带玩法标签的商店卡片、封面与游戏链接缓存穿透(?v=),以及支持“重开”与“全屏”(含 iOS Safari 沉浸式全屏回退)的剧院播放器。
  • 移动端触屏体验全面优化(src/build.ts、src/playtest.ts、官方模板):
    • 构建产物默认启用 100dvh、viewport-fit=cover 与防长按呼出系统菜单样式,适配手机浏览器视口。
    • 为 2D collector 与 3D voxel 模板增加多指 pointerId 防抢占保护与 setPointerCapture,支持左手拖摇杆移动、右手同时点按技能。
    • 为 3D voxel 模板新增可视化浮动虚拟摇杆(半透明摇杆外圈与摇杆头)。
    • 在 GAME_STATE_CONTRACT 中补充移动端触控规范,要求所有键盘操作均具备对应的触屏按钮或手势。

在线试玩:https://finiking.github.io/dsh-games/wall/

安装或更新:dsh plugin --profile web add @zseven-w/dsh-game-studio@0.1.0-rc.5。

dsh-game-studio 0.1.0-rc.4

Pre-release

Choose a tag to compare

@finiking finiking released this 08 Nov 12:05

English

Share games beyond your Wi-Fi. Three new ways to send a game to friends:

  • Public link (temporary). Next to the phone QR code, Public link (30 min) opens a Cloudflare quick tunnel: a https://….trycloudflare.com/… link anyone can open on any network while your computer runs. Needs cloudflared installed (brew install cloudflared); the plugin never downloads it. The link closes when it expires, when you stop sharing or when DSH exits.
  • Publish to GitHub Pages (permanent). Publish to GitHub uploads the game to your own public repository (default dsh-games) and gives a link that keeps working when your computer is off. Uses your logged-in gh; asks before every publish; only writes to repositories it created (marked by .dsh-game-studio.json); uploads only the built game and a cover. Update and remove from the sidebar or with the new game_studio_publish tool.
  • Online game wall. Publish game wall puts your wall on Pages. It now loads each game only when you open it, so the wall itself is a few KB instead of megabytes.

Subscribe to other people's games. On the game wall, Online sources accepts owner/repo, a Pages link or any game link; their games appear as online tiles, refresh automatically, and play in a sandboxed frame labelled with where they come from. Exports and published walls never include other people's games.

Try it: https://finiking.github.io/dsh-games/wall/

Install or update: dsh plugin --profile web add @zseven-w/dsh-game-studio@0.1.0-rc.4.

简体中文

**分享不再局限于同一 Wi-Fi。**现在有三种方式把游戏发给朋友:

  • **公网临时链接:**手机扫码旁边新增了"公网链接(30 分钟)"按钮。它会开一条 Cloudflare 临时隧道,生成一个 https://….trycloudflare.com/… 链接。只要你的电脑开着,任何网络都能打开。需要先自行安装 cloudflared(brew install cloudflared),插件不会代为下载。链接在到期、停止分享或退出 DSH 时失效。
  • **发布到 GitHub Pages(长期有效):**点"发布到 GitHub",游戏会上传到你自己的公开仓库(默认叫 dsh-games),得到一个电脑关机后也能打开的链接。
    • 使用你本机已登录的 gh,每次发布前都会先确认。
    • 只往插件自己建的仓库里写(以 .dsh-game-studio.json 标记为准)。
    • 只上传构建好的游戏和一张封面。
    • 可以在侧栏更新或删除,agent 也可以用新工具 game_studio_publish。
  • **在线游戏墙:**点"发布游戏墙",整面墙会发布到 Pages。墙里的游戏点开时才加载,所以墙页面本身只有几 KB,不再是几 MB。

**订阅别人的游戏:**在游戏墙的"在线源"里输入 owner/repo、Pages 链接或任意一个游戏链接,对方的游戏就会以在线格子出现,并自动刷新。点开后在隔离的沙箱里运行,顶部标明来源。导出或发布游戏墙时,不会包含别人的游戏。

在线试玩:https://finiking.github.io/dsh-games/wall/

安装或更新:dsh plugin --profile web add @zseven-w/dsh-game-studio@0.1.0-rc.4。

dsh-game-studio 0.1.0-rc.3

Pre-release

Choose a tag to compare

@finiking finiking released this 06 Nov 08:28

English

Export your game wall. On the sidebar's game wall (+ → Game Studio · My games), Export wall packs the games it shows into one offline HTML page: the same tiles, and clicking one plays that game full-window under a slim bar (Esc goes back). Send it to friends or put it on a static host. Builds go in unchanged, nothing in your projects is rebuilt, and 3D games share one copy of three.js — 24 test games came to 5.6 MB.

Filter and sort the wall by 2D/3D, and by recent changes, version count or name. Export takes exactly what the wall shows, in that order.

New tools for the agent: game_studio_list finds a game by name ("the penguin game") without searching folders, and game_studio_export_wall exports the wall from the conversation.

Fixes: in a narrow sidebar the wall's tiles could overlap; the Chinese UI now calls the shelf 游戏墙 (English stays "My games").

Install or update: dsh plugin --profile web add @zseven-w/dsh-game-studio@latest.

简体中文

导出游戏墙。右栏游戏墙(+ → 游戏工坊 · 游戏墙)的导出游戏墙会把墙上显示的游戏打包成一个离线 HTML 页面:同样的格子,点哪个就全屏玩哪个,顶部有一条细栏,Esc 返回。可以直接发给朋友,或放到静态托管上。游戏按原样打包,不会重新构建你的项目;3D 游戏共用一份 three.js——24 个测试游戏导出后 5.6 MB。

**游戏墙可以筛选和排序:**按 2D/3D 筛选,按最近修改、版本数或名称排序。导出的就是墙上当前显示的游戏,顺序也一样。

给 agent 的新工具:game_studio_list 能按名字找到游戏("那个企鹅游戏"),不用翻文件夹;game_studio_export_wall 可以在对话里导出游戏墙。

**修复:**右栏较窄时游戏墙的格子会叠在一起;中文界面里展柜改名为「游戏墙」(英文仍是 "My games")。

安装或更新:dsh plugin --profile web add @zseven-w/dsh-game-studio@latest。

dsh-game-studio 0.1.0-rc.2

Pre-release

Choose a tag to compare

@finiking finiking released this 05 Nov 16:05

English

New: My games. Open the right sidebar's + and pick Game Studio · My games: every game in the session's workspace shows up as a card (cover, title, 2D/3D, versions, last change), newest first. Click one to play it in the studio tab — no agent, no tokens. Covers come from the latest playtest, which now saves its mid-game picture as .studio/cover.jpg; games never playtested show their hero art.

The scan looks at the workspace root and two levels below, skips dependency, build and hidden folders, and says so when a large workspace was only partly searched.

Also: the README gained a gameplay GIF and a gallery of games made from one sentence.

Install or update: dsh plugin --profile web add @zseven-w/dsh-game-studio@latest.

简体中文

**新增:我的游戏。**点右栏的 +,选 游戏工坊 · 我的游戏:当前会话工作区里做过的每个游戏都是一张卡片(封面、标题、2D/3D、版本数、最近修改时间),新的在前。点一下就在游戏工坊页签里玩,不经过 agent,也不花 token。封面取最近一次试玩的画面(试玩现在会把游戏中途的截图存成 .studio/cover.jpg);没试玩过的游戏显示主角美术。

扫描范围是工作区根目录及往下两层,跳过依赖、构建产物和隐藏文件夹;工作区太大只扫了一部分时会明确提示。

另外:README 增加了实机 GIF 和"一句话做出来的游戏"图集。

安装或更新:dsh plugin --profile web add @zseven-w/dsh-game-studio@latest。

dsh-game-studio 0.1.0-rc.1

Pre-release

Choose a tag to compare

@finiking finiking released this 05 Nov 12:17

English

First public release candidate. Describe a small game in one sentence inside a DSH conversation; the agent reshapes a 2D top-down or 3D voxel template, playtests it in a headless browser, and loads it in the right sidebar. Optional AI art (OpenAI image API or a signed-in Codex CLI) runs behind a cost approval card. Every change is a restorable version; games export as one offline HTML file or share over a LAN link with a QR code.

Install: dsh plugin --profile web add @zseven-w/dsh-game-studio@latest. Requires DSH 0.2.1 or later and Chrome or Edge for playtests. See README.md for usage, test results and known limits.

简体中文

首个公开候选版本。在 DSH 对话里用一句话描述小游戏,Agent 改造 2D 俯视或 3D 体素模板、在无头浏览器里自己试玩一遍,然后在右栏加载。可选 AI 美术(OpenAI 图片 API 或已登录的 Codex CLI),花费前先弹审批卡。每次改动都可回退;游戏可导出为单个离线 HTML 文件,或通过局域网链接加二维码分享到手机。

安装:dsh plugin --profile web add @zseven-w/dsh-game-studio@latest。需要 DSH 0.2.1 及以上,试玩需要 Chrome 或 Edge。用法、实测结果与已知边界见 README.zh.md。