1. 程式人生 > >Unity即將到來的2D工具

Unity即將到來的2D工具

tin ons fhq autoconf origin .org oss chang wiki

孫廣東 2015.7.5

看了一下對功能介紹的視頻,確實功能強大。

可是須要FQ在youtube上觀看,所以就下載下來了。能夠瀏覽一下:

http://www.iqiyi.com/playlist288928702.html


Release Notes

TileMapDescriptionIssues #Videos/Demos
Tile Animation

Tiles can be animated with a simple loop of sprites. Animations can be set by
* Location - The tile at (x, y) will play the animation


* Tile Type - All tiles painted with the same sprite will play the animation

The priority order for rendering tile map animations:
1. Location
2. Tile Type
3. Tile (Renders the original sprite painted if there is no animation)

技術分享

#31
Brush FlipAllows you to flip sprites across the X and Y axis and paint the sprites onto the tile map. The following keys have been bound:

* x: Flips sprites horizontally
* y: Flips sprites vertically
#26
UndoUndo all changes to the tile map
Tile Transform APIPosition, Rotation, Scale functions have been added to set the transform for tiles in the tile map
SmartSpriteDescriptionIssues #Videos/Demos
Curved Edges

Edges can be tessellated as spline with point rotation support

技術分享

#37Video
Delete PointsDelete points directly from scene view by selecting it and pressing Delete on Windows. (fn+Delete on Mac).
Physics2DDescriptionIssues #Videos/Demos
Relative JointKeeps two Rigidbody2D at their relative orientation using configurable maximum linear/angular forces (Uses Box2Ds b2MotorJoint)
技術分享
Video
Fixed JointRigidly connects two Rigidbody2D together at their anchor points (Uses Box2Ds b2WeldJoint)
技術分享
Video
Target JointThe joint attempts to move a Rigidbody2D to a specific target position (Uses Box2Ds b2MouseJoint)
技術分享
Video
Friction JointApplies both force and torque to reduce both the linear and angular velocities to zero (Uses Box2Ds b2FrictionJoint)
技術分享
Video
Buoyancy EffectorApplies forces to simulate buoyancy, fluid-flow and fluid drag.
技術分享
技術分享
Video
Use Collider MassNew Rigidbody2D.useColliderMass property calculates the mass of the Rigidbody2D from the total mass of all colliders. Each collider mass is its Density x Area.
技術分享
Video
All JointsBreakable joints using BreakForce/BreakTorque. New properties to expose current reaction-force/torque that use the current fixed time-ste
技術分享
Video
All JointsAuto-Configure Connected-Anchor
技術分享
Video
Distance Joint & Spring JointAuto-configure Distance
技術分享
Video
Slider JointAuto-Configure Angle
技術分享
Video
SkewDescriptionIssues #Videos/Demos
Skew with RectTransform

2D Images now supports skewing via RectTransform

技術分享

#47
MaskingDescriptionIssues #Videos/Demos
Workflow improvements* Masks can affect multiple layers
* Masks will affect only the layers they are selected for
* Masks will automatically be rendered at the correct order based on the layers they are affecting
* Masks and Mask-ables have a new editor icon that will help in visualising the entire setup
#39
Under the hood* Moved all masking code to new component
* Dedicated inspector for masking component
9-SliceDescriptionIssues #Videos/Demos
Collider Support2D colliders do not auto resize when SpriteRenderer is in 9 slice mode. User needs to attach the ‘Tile Collider’ component for 2D colliders to resize in 9 slice mode

New Demos

  • Tile Map
  • Pixel Perfect Demo

Known Issues

  • No component icons for RelativeJoint2D, FixedJoint2D, TargetJoint2D, FrictionJoint2D or BuoyancyEffector2D
  • Maskable sprites does not work within a prefab.
  • SmartSprite splines may ‘loop‘ around itself under various circumstances which creates poorly tessellated edges.
  • SmartSprite‘s edge handle is not on the line if the edge is curved
  • SmartSprite‘s polygon collider may not match curved edges perfect

Updated

????

Unity即將到來的2D工具