Repository navigation
Use the web-lens starter in the Snapchat Web Lenses post - #106
Merged
Merged
Conversation
Points the post at create-playcanvas's new web-lens starter. Readers scaffold with npm create playcanvas@latest my-lens -- --starter web-lens and publish with npm run package, which builds the game, checks it against Snap's upload rules and writes the zip. The manual zip steps stay for Editor and other projects. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Points the Snapchat Web Lenses post at the new
web-lensstarter, released increate-playcanvas0.11.1, so readers get a working Lens game in one command and publish it with another.npm create playcanvas@latest my-lens -- --starter web-lens. A short paragraph says what the starter includes (a small portrait game with leaderboards, storage and Bitmoji wired up), that your agent replaces the game and keeps the Snapchat setup, and how to pick React or Web Components.src/lens.ts. Thenpm installstep is now for other Engine projects.npm run package, which builds the game, checks it against Snap's upload rules and writes the zip. The manual zip instructions, including theCompress-Archivewarning, stay for Editor and other projects, so the list goes from five steps to four.npm run lintandnpm run buildpass. Both commands in the post work against the publishedcreate-playcanvas0.11.1, including from an AI agent with no terminal.Smoke test
/snapchat-now-supports-playcanvas-gamesand go to "Option A: PlayCanvas Engine + Your Favorite LLM". It showsnpm create playcanvas@latest my-lens -- --starter web-lensand the paragraph about the starter.npm run package.🤖 Generated with Claude Code