制作 2d 精灵的资源?

发布于 2024-09-08 13:58:47 字数 1459 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

乖不如嘢 2024-09-15 13:58:47

这里有一篇文章,其中包含很多详细信息

这个网站也有一些与精灵相关的资源,论坛上有一些有经验的人提供的指南。

如果你想学习制作 2D 精灵,我能给的最好建议就是向别人的辛勤工作学习。找到一个带有可编辑精灵的游戏,然后从修改现有精灵开始(简单的重新着色是一个简单的起点)。然后,您可以继续进行更大的精灵修改(形状、大小等)、在游戏之间“交换”精灵、创建一个简单的游戏并使用您从现有游戏“借用”的精灵等。

Here's an article with quite a few details

This site also has some sprite-related resources, and the forums have some guides from a number of experienced people.

If you are wanting to learn about making 2D sprites, the best advice I can give is to learn from the hard work of others. Find a game with sprites that you can edit, and start by modifying the existing sprites (a simple recolor is an easy starting point). Then you can move on to larger sprite modifications (shape, size, etc), "swapping" sprites between games, creating a simple game and using sprites that you "borrowed" from an existing game, etc.

寂寞美少年 2024-09-15 13:58:47

我最近一直在思考这个问题。

在过去,精灵是逐像素手绘的。这非常适合平面 2D 游戏(横向卷轴游戏、卡通冒险游戏、Z 轴自上而下游戏等),特别是当它们的分辨率为 320x200 时。华丽的手绘精灵游戏的一些例子包括 Sierra 和 Lucas Arts 冒险游戏、迪士尼的跳跃和奔跑、Capcom 的战斗机游戏、Tyrian/Raptor 风格的自上而下卷轴游戏以及早期的 RTS 游戏(C&C、WC1) 。
有些游戏,如《波斯王子》和《真人快打》,使用了动画演员的精灵。这产生了流畅的运动,但看起来“平坦”。

在 90 年代中期和 00 年代初之间,角色/物品精灵绘制是通过拍摄 3D 对象的静态图像来完成的。从《帝国时代 1》开始,几乎所有 2D RTS 游戏都这么做了。 AFAIK Diablo、Baldur's Gate、Divine Divinity 和其他此类 RPG 游戏也做了同样的事情。这就是这些游戏出现在这么多 CD 上的原因——它们内容丰富。
这种方法看起来很棒(不是平面的,而是“2.5D”),但需要大量的硬盘空间。此外,虽然您可以在 Paint 中生成手绘精灵,但 2.5D 精灵需要 3Ds Max(或同等软件)。
这种方法出现的一个问题是服装设计中的组合爆炸(即,如果您想要为穿着三件不同外套、三顶不同帽子和三条不同裤子的角色制作动画,则需要 27 个不同的动画)。正如《暗黑破坏神 II》和《博德之门》中所见,解决这个问题的方法是布娃娃——为身体的每个部位制作不同的精灵。这需要做很多工作。暴雪制作了自己的工具来制作精灵,但我不确定是否有公开的精灵布娃娃工具。

最近,大多数游戏都是 3D 的。许多模型实际上看起来比旧的 2.5D 模型更糟糕,因为简单的 3D 模型可以在精灵中很好地制作动画,但在实时 3D 中效果很差。区别在于,名人的迷人照片(在特定灯光下从一定距离拍摄,然后在 Photoshop 中进行处理)与同一名人在现实生活中的外观(可能不那么迷人)之间。

我想知道是否有3D对象->精灵程序。我知道其中一个(现在不记得名字了),但是还有其他吗?至少我确信 Maya 和 3ds Max 都有脚本可以从不同角度拍摄动画 3D 对象的镜头。有谁对此了解更多吗?

I've been thinking about this problem recently.

In the old days, sprites were hand-drawn pixel by pixel. This works well for flat 2D games (side-scrollers, cartoon adventure games, Z-axis top-down, and such), particularly if they are in the 320x200 resolution. Some examples of gorgeous hand-drawn sprite games are the Sierra and Lucas Arts adventure games, Disney's jump&runs, Capcom's fighter games, the Tyrian/Raptor-style top-down scrollers, and the early RTS games (C&C, WC1).
Some games, like Prince of Persia and Mortal Combat, used sprites from animated actors. That produced fluid motion, but looked 'flat'.

Between the mid-90s and the early-00s, character/item sprite-drawing was done by taking stills of 3D objects. Practically every 2D RTS game since around Age of Empires 1 did that. AFAIK Diablo, Baldur's Gate, Divine Divinity, and other such RPG games did the same. This is the reason those games came on so many CDs - they were chock-full of content.
This approach looks great (not flat, but "2.5D") but takes a lot of hard-drive space. Also, whereas you could produce hand-drawn sprites in Paint, the 2.5D ones require 3Ds Max (or equivalent).
One problem that arises with this approach is the combinatorial explosion in costume design (i.e. if you want animate a character in three different coats with three different hats and three different pairs of pants, you need 27 distinct animation). The solution to this, as seen in Diablo II and Baldur's Gate, is rag-dolling - you produce different sprites for every part of the body. This takes a lot of work. Blizzard made their own tools to produce their sprites, but I'm not sure there are sprite rag-dolling tools in the open.

More recently, most games are 3D. Many actually look worse than the old 2.5D ones, because a simple 3D model can animate well in sprites, but poorly in real-time 3D. The difference is that between a glamor shot of a celebrity, taken from a certain distance in certain lighting and then worked-over in photoshop, and the appearance of the same celebrity in real-life (which may not be as glamorous).

I wonder if there are 3D Object -> Sprite programs. I know of one (don't remember the name at the moment), but are there others? At the very least I'm sure there are scripts for Maya and 3ds Max that take shots of an animated 3D object from different angles. Does anyone know more on this?

末が日狂欢 2024-09-15 13:58:47

要制作 2D 游戏精灵:

打开绘图。画一幅画。另存为 bmp。您现在有一个 1 帧精灵。如果需要热点、碰撞信息等,您可以在代码中添加元数据。如果您希望它具有动画效果,请创建一堆 bmp,并以您想要的动画速度一次显示 1 个。

不需要像这样的教程链接。或者,您可以下载数千个精灵编辑器中的任何一个,在一个地方执行上述操作。

To make a 2D game sprite:

Open up paint. Paint a picture. Save as a bmp. You now have a 1 frame sprite. You can add meta data to this in code if needed for hotspot, collision info, etc. If you want it to animate, create a bunch of bmps and display them 1 at a time at whatever speed you want to animate them at.

No need for a tutorial link for something like this. Or, you can download any one of thousands of sprite editors that do the above stuff in one place.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文