给 PlayCanvas 开发者带来重大好消息:你的游戏现在可以在 Snapchat 中运行了!🎉 借助 Snapchat Web Lenses,你可以使用 PlayCanvas 构建游戏,将其作为 Lens 上传,并向热爱游戏的庞大 Snapchatters 群体展示。
在本文中,我们将介绍 Web Lenses 是什么,展示首批登陆 Snapchat 的四款 PlayCanvas 游戏,并带你一步步完成自己游戏的构建与发布。
什么是 Web Lenses?🤔
Web Lens 是一种以 Lens 形式在 Snapchat 内部运行的 Web 应用。你可以使用熟悉的 Web 技术进行开发,将构建产物打包成 ZIP 文件,并通过“我的 Lenses”上传。Snapchat 会像发布其他 Lens 一样发布它,因此对玩家而言,启动你的游戏就像尝试一个新 Lens 一样简单。整个过程你甚至无需打开 Lens Studio。
游戏是 Web Lenses 的首要聚焦方向,而移动端网页游戏与之天然契合:它们专为竖屏触控设计,加载迅速且体积小巧。虽然可以使用任意 Web 框架,但 Snap 强烈推荐使用 PlayCanvas,它是目前功能最强大、优化最佳的 Web Lenses 引擎,Web Lenses 官方文档也全程基于 PlayCanvas 编写。
Web Lenses 概览
-
- 定义:一款 Web 应用,打包为 ZIP 文件并以 Snapchat Lens 形式发布 - 平台:iOS 与 Android 版 Snapchat - 显示比例:全屏竖屏(9:16) - 引擎:支持任意 Web 框架,Snap 推荐 PlayCanvas - 包体大小:最大 8 MB 的 ZIP 压缩包,根目录下的 index.html 不超过 1 MB - 运行时环境:支持 WebAssembly(含多线程)、Web Workers 和 eval() - 沙盒机制:完全隔离,无网络、摄像头、麦克风或运动传感器权限 - Snapchat 特性:通过 Web Lens API 支持排行榜、Bitmoji 和存储空间 - 当前状态:Beta 测试阶段,细节可能随时调整
-
为什么 Web Lenses 具有颠覆性意义?🚀
-
触达热爱游戏的庞大受众
- Snapchat 每月活跃用户高达 9.71 亿,游戏已成为他们消耗时间的重要部分:Snap 官方数据显示,Game Lenses 每月吸引超过 1.75 亿人次互动。Web Lenses 首次向网页游戏开发者开放了这一庞大受众群体。
- 玩家无需安装任何应用,你也无需争夺应用商店的排名位置。你的游戏会出现在所有 Lens 展示的位置,玩家既可以通过名称搜索,也可以扫描其 Snapcode 直接开始游玩。内置的排行榜功能还能激励玩家反复回来挑战彼此的最高分。🏆
-
通过 Lens+ 实现游戏变现 💰
- Lens+ 是 Snapchat 面向希望获取独家 Lens 的粉丝推出的订阅服务。通过 Lens+ Payouts 计划,创作者可以将某个 Lens 标记为仅对 Lens+ 及 Platinum 订阅者可见,并根据该 Lens 获得的互动量赚取收益分成。换言之,你的游戏被游玩的次数越多,获得的收入就越高。
- > 💡 提示 > Lens+ Payouts 面向符合资格国家的 18 岁以上创作者开放。Lens 会在提交时自动加入该计划。请在发布前查阅资格要求并完成申请!
-
首批登陆 Snapchat 的 PlayCanvas 游戏 🎮
我们正与一批才华横溢的开发者合作,打造首批基于 PlayCanvas 的 Web Lens。拿起手机扫描 Snapcode 即可游玩。使用普通相机应用同样可以打开游戏,并直接跳转至 Snapchat!
🌸 Bloom **NOWWA · Yohami Zerpa**
Bloom 是一款温馨治愈的花园解谜游戏。在棋盘上种植盆栽花卉,通过匹配颜色让它们绽放,尽可能长久地维持花园的生机。当空间变得局促时,洗牌和剪刀等道具能助你破局。🌷
> “Bloom 的玩家平均在游戏内停留 260 秒,近 30% 的玩家会在次日回访。我们的玩家以女性为主,这充分说明 Snapchat 平台上温馨解谜类游戏仍有巨大的发展空间。” > —— Yohami Zerpa
在 Snapchat 中体验 Bloom 使用手机相机或 Snapchat 扫描 Snapcode 即可直接进入。
🏀 Ball Smasher MetaM · Maksims Mihejevs
Ball Smasher 是一款节奏明快的街头篮球投篮游戏,目前搭载了万圣节主题皮肤。将篮球弹射到移动的篮筐中,连续命中可触发连击特效,并在倒计时结束前刷新排行榜最高分。🏀
> “在 PlayCanvas Editor 中开发 Ball Smasher 非常顺畅。我们的小团队仅在数小时内就完成了原型开发与 Snapchat 内的测试。这款超休闲游戏在几天内便突破了百万次游玩量。我们通过频繁更新内容与调整平衡性持续迭代,并在分析面板中即时看到数据反馈。增长完全依靠自然流量,我们对未来的商业化前景充满期待。” > —— Maksims Mihejevs
在 Snapchat 中体验 Ball Smasher 使用手机相机或 Snapchat 扫描 Snapcode 即可直接进入。
🐍 Snake Showdown Elanra Studios · Leonidas Maliokas
Snake Showdown 是一场热带岛屿上的蛇类生存大乱斗。吞噬光球不断成长,收集金色宝石,在倒计时结束前攀升排名,同时灵活走位躲避对手(头部碰撞无害,但身体接触即致命!)。别忘了留意潮汐变化。🌊
> “我们使用 PlayCanvas 开发了 Snake Showdown,首个版本从编码到上线 Snapchat 仅用了一天时间。
Bloom is a cozy garden puzzler. Plant potted flowers on the board, match colors to make them bloom and keep your garden growing for as long as you can. When space gets tight, power-ups like shuffle and shears help you dig your way out. 🌷
"Bloom players spend an average of 260 seconds in the game, and almost 30% of them come back the next day. Most of our players are women, which shows how much room there is on Snapchat for cozy puzzle games." — Yohami Zerpa
🏀 Ball Smasher
Ball Smasher is a fast-paced street-basketball shooter, currently dressed up in a spooky Halloween skin. Flick balls at hoops that slide across the street, chain baskets together for fiery streaks and beat the clock to post a score that tops the leaderboard. 🏀
"Ball Smasher was a breeze to build in PlayCanvas Editor. Our tiny team prototyped and tested it in Snapchat within hours. The hyper-casual gameplay hit millions of plays in days. We kept iterating with frequent content and balance updates, seeing results instantly in analytics. Growth stayed fully organic, and we're excited about the monetizing opportunities ahead." — Maksims Mihejevs
🐍 Snake Showdown
Snake Showdown is a slithery battle for survival on a tropical island. Gobble orbs to grow, grab golden gems and outmaneuver your rivals (heads bounce, but bodies are deadly!) as you race up the rankings before the clock runs out. Keep an eye on the tide, too. 🌊
"We built Snake Showdown with PlayCanvas, and the first version went from code to live on Snapchat in a single day. In its first four weeks it passed 7 million plays from more than 1.8 million players, who shared it over 100,000 times. And we're just getting started." — Leonidas Maliokas
🏂 Bitmoji Ski
Bitmoji Ski puts you on the slopes as your very own Bitmoji. Carve down the mountain, thread the flags for combos and launch off jumps for big air and 360s, all while trying not to bail into the trees! Every run counts toward the leaderboard. ❄️
"I made Bitmoji Ski to show the PlayCanvas community the kind of game that works well on Snapchat. It loads the player's own Bitmoji, and a leaderboard keeps them coming back for another run. It only took me a day to build, and it has hit 6 million impressions a day!" — Iakov Sumygin
Create a Game in Minutes With Easy Lens 🪄
原文较长(约 14,589 字),完整内容请浏览更多。Play Bloom in SnapchatMetaMPlay Ball Smasher in SnapchatElanra StudiosPlay Snake Showdown in SnapchatSnapPlay Bitmoji Ski in Snapchat
