原文
| ||||||||||||||
| ||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43666439
Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 SVG 的妙用 (fuma-nama.vercel.app) fmerian 20 分钟前 21 分 | 隐藏 | 过去 | 收藏 | 1 条评论 kmoser 0 分钟前 [–] 这让我知道 SVG 可以做动画。酷!我想知道是否有人用 SVG 和动画重现了像 Asteroids 这样的矢量图形游戏。你必须使用 JS 来改变小行星在被射击时的形状和方向,但这只需要一点 JS 代码。 回复 加入我们 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:
| ||||||||||||||
| ||||||||||||||
![]() |
I wonder if anybody has recreated vector graphics games like Asteroids using SVGs and animation. You'd have to use JS to change the shape and direction of the asteroids when they're shot, but that would just require a bit of JS.
reply