Skip to content

🚪 第一屏就是用户名+密码:建议改成「起个昵称直接进」/ Let players in with just a nickname #11

Description

@longmaolab

2026-08-10 我们把 https://sushigamelab.com 上的 10 个游戏挨个点进去玩了一遍,从"一个完全没玩过的人打开它会怎样"这个角度记录。

PVP Arena 是这一批里技术含量最高的一个 —— 真·权威服务端联机、多种枪械和近战、商店、房间内打字聊天,这些跑在浏览器里而且是自己写的服务端,很多大人都做不出来。

但它也是唯一一个第一屏就把人挡在外面的游戏。这条 issue 只讲这一件事和它的三个附带小问题。


1. 第一屏就是用户名 + 密码框(最影响人数的一条)

现在打开 https://sushigamelab.com/pvp/ 看到的是:

        PVP ARENA
 AK20 · Blank Map · Multiplayer

      [ Username        ]
      [ Password        ]

          [ PLAY ]

对一个从链接点进来的人,这一屏等于在说"想看看长什么样?先注册一个账号"。绝大多数人会直接关掉——他们连游戏画面都还没看到,凭什么先给你一个账号密码。

建议:把密码变成可选的。

  • 默认流程改成:输一个昵称 → 直接进 → 玩。
  • 商店买的东西要跨设备保存,才提示"要不要设个密码把进度存下来"。
  • 也就是账号从"门票"变成"存档功能"。

技术上现在这套账号体系不用拆,只要允许"没有密码的临时用户"就行。

  • 昵称直接进,密码改成可选

2. 登录框背后 HUD 透出来了

登录框还在的时候,背后能看到血条 HEALTH 300、右下角 AK20 30/90、底部四个武器格(PRIMARY / SECONDARY / MELEE / SUPPORT)和一整行按键提示,都是半透明地压在登录框下面。

不影响功能,但第一眼看上去像是"页面没加载完"。登录状态下把 #hud 整个 display:none 就好。

  • 登录时隐藏 HUD

3. 没人在线的时候,玩家注册完会撞上一个空房间

这是联机游戏的通病:好不容易注册完,进去发现一个人都没有,然后就再也不回来了。

建议两处都显示在线人数:

  • 门户卡片上:PVP Arena · 竞技场 —— 现在 3 人在线(0 人的时候显示"现在没人,可以先自己进去逛地图")
  • 登录页标题下面同一行信息

服务端本来就知道连接数,加一个 /status 返回 {online: N} 就够了。

  • /status 接口
  • 门户卡片 + 登录页显示在线人数

4. "别用你常用的密码"这句话,出现的地方不对

现在这句提醒只写在门户卡片上

进去要注册用户名和密码 —— 请随便起一个,别用你在别处用过的密码。

但真正需要看到它的人,是已经站在密码框前面、手指正要打字的那个人。很多人是直接从搜索或者别人发的链接进 /pvp/ 的,根本没经过门户。

建议:密码框下面直接放一行小字。如果第 1 条做了(密码可选),这行字就变成"这个密码只用来存你的商店进度,随便起一个就行"。

  • 密码框下面加一行提醒

English summary: PVP Arena is the most technically ambitious game in the set — an authoritative multiplayer server, guns and melee, a shop, in-room chat — but it is the only one that blocks people at the first screen with a username + password form before they have seen anything. (1) Let players in with just a nickname and make the password optional, only offered once they have shop progress worth saving. (2) The HUD (health bar, ammo, weapon slots) bleeds through behind the login box — hide it while logged out. (3) A multiplayer game with an empty room is a dead end: expose an online-player count via /status and show it on both the portal card and the login screen. (4) The "pick a throwaway password" warning currently lives only on the portal card, not on the screen where someone is actually typing a password.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions