CG数据库 >> 完美像素相机脚本Unity素材资源

本游戏资料是个关于完美像素相机脚本Unity素材资源,大小:110 KB  ,格式:unitypackage,使用软件:Unity,供广大设计师学习使用,语言:英语。

Unity3D是一个让你轻松创作的多平台的游戏开发工具,是一个全面整合的专业游戏引擎。Unity代表了一个质的飞跃——内置的光照贴图(lightmapping)、遮挡剔除(occlusion culling)和调试器。编辑器经过彻底革新,让你可以获得卓越的性能体验。不可思议、无法阻挡的产品已经看到了曙光。

Unity是一款跨平台的游戏开发工具,从一开始就被设计成易于使用的产品。作为一个完全集成的专业级应用,Unity还包含了价值数百万美元的功能强大的游戏引擎。Unity 4作为一个游戏开发工具,它的设计主旨就是让你能够创建令人惊讶的游戏。如果你之前尝试过Unity,请查看Unity 3都做了哪些更新。如果你是第一次尝试,那就好好看看吧,看Unity都能为你带来什么。Unity作为一种开发环境,可让你脱离传统的游戏开发方式,以一种更简单的方式专注于你的游戏开发。开发网络游戏、移动游戏、单机游戏,Unity都能完全胜任。

Pixel Perfect Camera Scripting Camera

Evil Window Dog

Requires Unity 5.0.0 or higher.

Pixel Perfect Camera script gives more control over the camera size and enables pixel perfect rendering for pixel art Sprites and Canvas elements.

Pixel perfect: adjusts the camera size so that each sprite pixel is rendered to an integer number of screen pixels. This is very important when you render pixel art using "point sampling".

Camera width: specify the camera width instead of height (the default Unity camera allows you to set only the camera height).

Size constraints: you can optionally set the maximum allowed camera width or height. This is useful if for example the user has an ultra wide monitor and you don't want your camera's width to be wider than some amount. The script will choose a camera size that respects all constraints.

Retro snap: enabling pixel snapping makes sprites snap to the artwork's pixel grid producing a snappy retro motion.

Canvas support: UI elements under a Canvas can be rendered in a pixel-perfect way.

视频预览:

完美像素相机脚本Unity素材资源的图片1
完美像素相机脚本Unity素材资源的图片2
完美像素相机脚本Unity素材资源的图片3

发布日期: 2017-10-31