TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Protecc, a Missile Command-like game made with Paper.js and Netlify

2 点作者 tbwriting大约 4 年前
Try it out here: https:&#x2F;&#x2F;www.playprotecc.com<p>Why Paper.js? I was looking into Javascript libraries so I could start prototyping this (Three, Pixi, and Phaser were the initial frontrunners) and I stumbled across this HN thread: https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23083730<p>Comments warned against using Paper.js for games, as it “isn’t meant to handle thousands of rectangles,” but praised it for its path-manipulating capabilities. Seemed like a promising enough lead to follow for that reason - the game is heavy on &quot;wiggles&quot; and I wasn’t keeping thousands of shapes on the screen at any one time - so I figured it was worth investigating.<p>I have to say: it absolutely was. I&#x27;d highly recommend it for a lot of different of 2D projects. It was so versatile and easy to use that I ended up building a couple small buttons and modals with it too (although this was partly because I didn&#x27;t want to leave PaperScript-world).<p>Major thanks to Netlify, too. They made setting this up a breeze.

暂无评论

暂无评论