unity制作2d游戏教程的精灵怎么制作

1.首先要创建一个精灵
GameProject--2Dproject--Sprite 叫bird
2.给这个精灵附加纹理,并让它显示自己想让它显示的场景层中,一般它的静止纹理就是动画的第一张图片
3.创建一个专门放动画的文件夹在Project视图中Assets下叫Animation
4.进入Animation路径
5.选择bird--点击Window--Animation--进入动画制作界面--这里制作的动画就是指定给bird精灵的
6.制作的过程中切换关键帧的时候可以更换bird的纹理,通过双击指定图片来添加每一帧
7.制作好后运行游戏,精灵就会播放这个动画
8.如果还想让这个精灵在播放动画的同时做一些动作,可以写一个C#脚本挂在它上面
阅读(...) 评论()扫一扫,访问微社区
后使用快捷导航没有帐号?
签到成功!您今天第{todayrank}个签到,签到排名竞争激烈,记得每天都来签到哦!已连续签到:{constant}天,累计签到:{days}天
关注:1103
当前位置: &
查看: 1612|回复: 11
用4.3新2D精灵制作的小游戏(不喜勿喷)
71648/5000排名<font color="#FF昨日变化主题帖子积分
日久生情, 积分 1648, 距离下一级还需 3352 积分
日久生情, 积分 1648, 距离下一级还需 3352 积分
蛮牛币3093
在线时间370 小时
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
才可以下载或查看,没有帐号?
本帖最后由 zhangzhen551 于
14:10 编辑
(1.35 MB, 下载次数: 12)
19:06 上传
每日推荐:
2145/150排名<font color="#FF昨日变化9主题帖子积分
初来乍到, 积分 145, 距离下一级还需 5 积分
初来乍到, 积分 145, 距离下一级还需 5 积分
在线时间28 小时
楼主啊,猜我打开看见了什么?一个Level1的场景,里面就一个摄像机,你叫我怎么评价?
每日推荐:
5976/1000排名<font color="#FF昨日变化1主题帖子积分
熟悉之中, 积分 976, 距离下一级还需 24 积分
熟悉之中, 积分 976, 距离下一级还需 24 积分
在线时间225 小时
楼主做的一定要看
每日推荐:
71648/5000排名<font color="#FF昨日变化主题帖子积分
日久生情, 积分 1648, 距离下一级还需 3352 积分
日久生情, 积分 1648, 距离下一级还需 3352 积分
蛮牛币3093
在线时间370 小时
楼主做的一定要看
谢谢支持,大家一起努力,一起加油哈!!
每日推荐:
110/50排名<font color="#FF昨日变化21主题帖子积分
注册看看, 积分 10, 距离下一级还需 40 积分
注册看看, 积分 10, 距离下一级还需 40 积分
在线时间2 小时
可以啊,支持支持!
来自:IOS客户端
每日推荐:
4339/500排名<font color="#FF昨日变化5主题帖子积分
四处流浪, 积分 339, 距离下一级还需 161 积分
四处流浪, 积分 339, 距离下一级还需 161 积分
在线时间55 小时
里面就几个素材{:102:}
每日推荐:
4309/500排名<font color="#FF昨日变化6主题帖子积分
四处流浪, 积分 309, 距离下一级还需 191 积分
四处流浪, 积分 309, 距离下一级还需 191 积分
在线时间53 小时
楼主 你的那个什么东西 怎么我什么也看不到呢!
每日推荐:
7排名<font color="#FF昨日变化1主题帖子积分
蛮牛币1395
在线时间238 小时
能不坑吗?我擦{:88:}{:88:}{:88:}
每日推荐:
5509/1000排名<font color="#FF昨日变化1主题帖子积分
熟悉之中, 积分 509, 距离下一级还需 491 积分
熟悉之中, 积分 509, 距离下一级还需 491 积分
蛮牛币1115
在线时间158 小时
楼主 人才啊;不带这么 骗人的;{:90:}{:90:}
每日推荐:
5803/1000排名<font color="#FF昨日变化3主题帖子积分
熟悉之中, 积分 803, 距离下一级还需 197 积分
熟悉之中, 积分 803, 距离下一级还需 197 积分
在线时间119 小时
就几个素材{:107:}{:107:}
每日推荐:
2108/150排名<font color="#FF昨日变化13主题帖子积分
初来乍到, 积分 108, 距离下一级还需 42 积分
初来乍到, 积分 108, 距离下一级还需 42 积分
在线时间29 小时
挺好看的,,楼主很厉害啊
[]: Emrys_manual 乐于助人,奖励 2
每日推荐:
3223/300排名<font color="#FF昨日变化27主题帖子积分
偶尔光临, 积分 223, 距离下一级还需 77 积分
偶尔光临, 积分 223, 距离下一级还需 77 积分
在线时间75 小时
不错,不错!!!!!!!!!!!!!
每日推荐:
社区QQ达人
使用QQ帐号登录论坛的用户
游戏蛮牛QQ群会员
加入游戏蛮牛官方QQ群
在“新人报到 ”版块发过自己的照片
连续签到30天游戏制作大师|中文游戏大师(Chinese Game Master)1.0 绿色免费版-东坡下载
东坡下载:内容最丰富最安全的下载站!
→ 中文游戏大师(Chinese Game Master) 1.0 绿色免费版
CGM采取纯绿色解压模式,用户下载后解压即可使用。用户第一次使用时,需要进入程序右上角的系统配置按钮进行文件关联,否则无法双击打开CGM工程文件。
中文游戏大师(Chinese Game Master)是一款独立的游戏制作软件,采用Lua脚本驱动,并全面汉化lua语句,极大的降低了业余游戏制作门槛,你可以制作做出你希望的任何2D游戏,包括网络游戏。软件特性1、使用轻型脚本语言(Lua),并全面汉化lua语句,创造中文编写游戏的捷径2、仿VC++的IDE,精心设计程序界面,愉悦开发人员的心情3、脚本速度优秀,可制作各种类型2D游戏,包含网络游戏4、国人开发,不定期升级维护,有技术保障5、自带代码编辑器,自动打包编译,语法高亮,自动完成,且能输出脚本语法错误,各种调试信息等6、免去程序安装步骤,引擎、开发环境最大程序精简,打造是国内最小的游戏开发软件7、自有加密格式,使支持库和程序的保密性更好8、自带大量游戏开发的常用工具,大大提升用户的开发速度9、现已支持网络通信功能使用CGM的程序流程1、创建游戏窗口及资源2、计算游戏需要的参数3、显示各种资源到屏幕上代码编写规范类的创建,中间是 点号,如 AGE引擎.创建()类中的方法使用,中间是 冒号,如 AGE引擎:销毁()所有的符号,都必须是小写,为了防止大小写的错误,我已经把Lua进行修改,程序会自动识别大小写,但仍无法100%识别,仍可能遇到错误,所以请务必使用小写符号程序版本说明程序目前,仍停留在B代号阶段,即开发测试版本。B3版在B1\B2两个版本的基础上,进行了全新的开发,全新架构,以及引进新的技术,使得程序在整体上的效率得到的质的飞跃,希望CGM以此赢得各路草根游戏开发者的欢迎,稍后,我们将进入布局功能的开发,敬请期待。
安卓官方手机版
IOS官方手机版
中文游戏大师(Chinese Game Master)截图
游戏制作是让人觉得很难的一个事情,但是目前网络上流传了很多制作器,不论是单机游戏还是文字游戏,地图制作工具和动画编程游戏,都不在话下。今天帮大家整理了一下,从搜索引擎动画编程到和文字类型的制作软件。东...
/ 8.1M这是一款支持支持三种类型的游戏
中文 / 15.1M想自己制作一款AVG游戏吗?想玩一
中文 / 66.3M彩虹文字游戏制作精灵软件追求快
中文 / 38.2M橙光文字游戏制作工具可以帮助游
中文 / 20.4M相信不少朋友跟我一样,玩过不少
中文 / 2.8M现在各种网页游戏层出不穷,那些
中文游戏大师(Chinese Game Master) 1.0 绿色免费版
本类最新软件
本类软件推荐
51.7M / 03-10 /
182M / 01-16 / Build 8.1 中文注册安装版(附序列号)
4.0M / 12-05 / 2.01 Build 1205 中文安装版
7.7M / 01-07 / 4.4
多国语言免费版
94.7M / 02-03 / 中文正式版
本类软件排行
装机必备软件
编程编译数据设计
请简要描述您遇到的错误,我们将尽快予以修正。
轮坛转帖HTML方式
轮坛转帖UBB方式分享零基础制作游戏教程之制作2D图像(2)
发布时间: 11:46:05
Tags:,,,,
作者:Alex Rose
第二部分:如何制作2D图像
如今我们已经完成了代码编写,但却还缺少合适的图像。请不要担心,我们可以很快掌握这一要领。(请点击此处阅读本系列)
我从未接触过美术设计,我也并不重视它。对于那些只拥有数学思维的人来说,在面对程序编写时也会遇到以下情况:
screenie(from gamasutra)
当你第一次开始编程时,你将逐步思考如何执行某些特定程序,但你却不晓得如何以代码形式将其呈现出来。或者你知道自己想要什么结果,但却想不出循序渐进的对策去获得这些结果。
而在美术设计中,我们也有可能遇到前一种问题,即在脑海中形成某个画面,并思考着如何去勾勒这一画面,但却因为缺乏美术能力而不能将其整合到程序中。
有时候,你的脑海中可能不存在与问题相关的画面,但是你却可以通过试错法去避开这一问题。就像我就不是个视觉思考者。当我闭上眼睛思考时,我便想不出任何生动的画面。
但是这却是个很容易解决的问题(即缺乏美术能力),即只要使用开源矢量图像编辑器Inkscape便可。
在最初面对Inkscape时,我真的很为难。我根本就不了解矢量图像,之前都是依赖于MS Paint(一种画图工具)。
而现在我认为矢量图像是最棒的选择,并且将所有的游戏图像设计都寄托于它。
所以我们可以基于这一逻辑一步一步地创造游戏图像。
以下我将列出矢量图像所具有的优势:
不包含任何烦人的“光栅层”。我们可以单独选择每个对象。如果在30个步骤之内你发现自己不喜欢最初所添加于对象上的内容,你便可以删除该组件。这是一种非常简单的做法。如果你想要将一个组件置于最上方?那只要按压一个按键便可。
具有强大的路径菜单。你可以在节点路径中改变任何形状,并在此获得更广泛的路径工具。就像维恩图解(游戏邦注:英国逻辑学家维恩制定的一种类逻辑图解)。你可以使用路径菜单在无穷符号里添加循环,并删去循环中的叠加块,从而确保只有部分区域保持重叠。
splitoptions(from gamasutra)
如何面向iOS设计游戏并确保今后的选择能够升至1080p?矢量图像是可扩展的。你可以基于任何分辨率(而不会影响质量)去输出矢量图像,从而说明图像的设定是具有前瞻性。
如果你勾勒出一条错误的曲线,你也不需要删除它再重新开始;而是只需要使用节点编辑器去抓取贝塞尔曲线,压弯曲线,移动节点并改变节点的角度便可。
能够轻松地创造出精灵图标/纹理结构。这是一种非常有用的工具。你可以通过数字选择每个对象的宽度,长度,x轴和y轴坐标,并将对象对齐到网格上。你可以基于任何坐标轴为对象分组。
window(from gamasutra)
能够轻松地创造出渐变的色彩。基于填充菜单我们能够进行线性渐变,径向渐变,并添加模糊和透明效果等。同时我们还能够增添轮廓,改变层次并在此添加渐变效果。
可以将文本映射在路径上并转变成贝塞尔曲线,从而轻松地创造出文本logo。
这也是创造图像用户界面(GUI)的绝佳工具。我们只需要花几分钟时间便能够创造一个合适的按键。不只如此,如果你是面向不同的分辨率制作GUI,Cartesian坐标系统也能帮助你面向GUI对象轻松地编写出最有效的代码。
我认为可以先勾勒出一些不规则的图形,并依附于节点路径,然后通过改变节点去创造真正的对象。也就是你可以通过在一个不规则图形上添加其它图形而创造出一个完整的内容。如下图:
cogs(from gamasutra)
只要移动滚动条,我们便能够创造出一个好看的平面图像。如果你的脑中已经形成了明确的画面,你便只需要花几分钟时间便能够描绘出这一想法。
上图便是使用贝塞尔曲线所创造的奖杯。你只需要明确一个基本的形状,然后调整节点并将其整合成你想要的形状便可。
矢量图像拥有一些非常棒的风格。你可以复制一些已经完成的图像,追踪所有图像创作的进展,并将旧的设计理念转变成新理念。以下便是我在制作《Rotation Station》角色时的进展:
characters(from gamasutra)
因为使用了Inkscape,我只花了1,2个月便完成了这些图像设计&#8212;&#8212;之前我从未接触过美术设计,一心只专注于编程设计。所以说实在的,使用Inkscape根本不需要我们花费太多时间,也无需具备美术才能。对于2D游戏开发者来说,这便是最佳软件选择&#8212;&#8212;并且还是免费的。
(本文为游戏邦/编译,拒绝任何不保留版权的转载,如需转载请联系:游戏邦)
Making Games with No Previous Experience &#8211; Part 2: 2D Art
by Alex Rose
Part 2: I don&#8217;t know how to make 2D Art!
So, you’re all good on the code front and making your game is starting to look like a realistic prospect, but you’re still absolutely useless at art? No worries. In no time you can get really good at it.
I could never do art, nor did I particularly care for it. But there’s a program that is incredible for mathematically minded people, and in a few weeks it produces results like this:
When you first start coding, your problems probably arise because you can think logically step by step how you would perform a specific procedure, but you don’t know how to convey that in code. Other problems arise because you know what outcome you want, but you can’t think of a step by step method for reaching that outcome.
In art, you tend to either have the former problem, where you can picture an image in your head, and think how you would assemble that picture, but you don’t have the artistic prowess to put it all together in a program.
Obviously, sometimes there&#8217;s also the issue that you don’t actually have an image in your head, but you can get around this through trial and error. I, personally, am not a very visual thinker. When I close my eyes to imagine things, I don’ I see the back of my eyelids.
However, the former problem (assembling an image step by step with a lack of artistic ability) is incredibly easy to solve, using a beautiful open source vector art editor called Inkscape.
Before I found Inkscape, I was completely stumped. I had no idea vector art exists. I used MS Paint for everything.
Vector art is the best thing ever. Really. I owe all my game’s aesthetics to it.
You can make art step by step using just logic.
Here’s some of the amazing benefits to using vector art:
No annoying “raster layers” and such. Every object is individually selectable. If in 30 steps’ time you decide you don’t like something you put onto your object at the start, you can just drag the offending component out. It’s that easy. Or you want to put one component on top? One button press.
The Path menu is incredible. You can convert any shape into node paths, and from there you get extensive path tools. Imagine a Venn diagram. You could use the Path menu to join the circles together into one infinity symbol, cut one circle out of the other, keep only the area that overlaps, etc.
Designing a game for iOS but want to keep your options open for upscaling it to 1080p in the future? Vector graphics are entirely scalable. You can output them in as low or high a resolution you want with no degradation in quality, so your graphics are completely future proof.
If you draw a curve that’s slightly wrong, you don’t have to rub it you can grab your Bezier curves with the node editor, and curve the lines, move the nodes and change the node angles.
Sprite sheets/texture atlases are a breeze. This is the ultimate tool for creating them. You can numerically choose the width, height, x and y coordinates of each object and snap objects to a grid. You can simply group any object and type in its desired coordinates.
Colour gradients are incredibly easy to apply. The Fill menu allows you to apply linear gradients, radial gradients, blur and transparency. You can add outlines, change the thickness of them and even apply gradients to those too.
Text can be mapped to paths and turned into Bezier curves, so making text logos is incredibly easy.
It’s the perfect tool for GUIs. It only takes a few minutes to make a slick button. Not only this, but if you’re making a GUI that’s going to be scaled for different resolutions, the Cartesian coordinate system makes it really easy to write code for GUI objects that have to sit on top of each other.
I recommend drawing things out of squares, converting these to node paths and then moving the nodes to make things. The great thing about this is that you alter the roundness of the square to make really juicy corners. For instance, check this simple cog:
Just by moving a slider on a box, you get nice, squishing looking sides. And it takes under a minute to make something like this if you have a picture in your head (and luckily, I already knew what a cog looked like). It’s just a case of breaking it down into steps.
Underneath that you can see a trophy made with Bezier curves. All you need is a basic shape, and then you simply tweak the nodes and it into the shape you want. I used a photograph of a trophy as a reference for the shape.
And vector art can have a range of really nice styles. Since you can just keep duplicating as you make things, you can keep track of all the progressions of everything you make and transfer ideas from old designs to new ones with ease. Here’s the progression of how I made my characters for Rotation Station:
And all these were designed within only a month or two of using Inkscape, with no prior knowledge of art at all, while largely focusing on learning how to code. It really honestly takes no time or artistic talent to get extremely proficient with Inkscape. It’s the perfect software for any 2D game developer, and it&#8217;s free. You should go try it out.
Stay tuned for next time, where I&#8217;ll be discussing where to start if you have no idea about making your own game music!()
CopyRight Since 2010 GamerBoom All rights reserved &&闽ICP备&号-1}

我要回帖

更多关于 unity制作2d游戏 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信