-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build WP error. #29
Closed
Closed
Build WP error. #29
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixed Sintel scene.
There is now a text field above the save pose button on the skeleton custom editor. This allows the user to set the filename for the pose rather than using the default New Pose # I also added an alternate CreateAsset method in the ScriptableObjectUtility class with a filename parameter.
Modified the IK Editor script with a function to automatically add a helper Added a new Create Helper button to the editor that... - Creates Helper named in relation to the bone - Sets it as the IK Components target - sets the skeleton as a parent - Positions the helper at the bone - automatically selects the helper
IK has some problem, if the bones are scaled differently on the x and y axis.
…rom an animation. Output includes alpha for transparency, works with Unity Free and Unity Pro. Uses Render Textures for full camera resolution and can only be used with Unity Pro, without Render Texture, the screen width is split between 2 cameras, black and white, and the alpha is created from the differences between the images rendered from the 2 cameras. The AnimationToPNG prefab includes the cameras and the script to export animations to PNG files. Just drag the prefab into an empty scene along with the animation to be exported, and press "Play".
Added AnimationToPNG utility script to output a series of PNG files from...
In this implementation Skin2D objects go outside of normal bone structure but under skeleton. In this you have to select bones that will modify skinned mesh. Normal structure: skeleton bones hip torso skinnedMeshes skin1 (Skin2D) skin2 (Skin2D)
…Bones into unstable Conflicts: Assets/SpritesAndBones/Scripts/Skin2D.cs
…eleton structure.
…deform the mesh without the need for bones.
…local and parent rotation before creating the mesh and using the sprite renderer and polygon colliders bounds to figure out the offset from the sprite texture's origin. Moved menu items for all skeletal animation to it's own tab under "Sprites".
…enu, auto skin the Skin2D to the parent bone.
…adows on the sprites. Added a new Shader Sprites-Skeleton-Diffuse for flipping the normals on rotation. Minor edits to menu.
…e their color customized and have six more options for shapes: Dot, Cross, X, Circle, Polygon, and None. The new shapes respect multidimensional scaling, so permutations such as ellipses are possible. An additional cross and/or X can be drawn on top of the selected shape, allowing further differentiation between otherwise similar helpers. Helpers can also have their size frozen so when the scene camera zooms in/out the absolute size of the helper remains the same on-screen.
Adding customization options to the helper gizmo.
…he texture, so that value needs to be scaled in as well.
…s rect width and bounds width.
… vertices in PolygonMesh.
Use my fork instead https://github.com/playemgames/UnitySpritesAndBones/tree/unstable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I tried to build it for WP but received an error message:
"Error building Player: Exception: Error: method
System.Void System.IO.File::WriteAllBytes(System.String,System.Byte[])
doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Boolean AnimationToPNG/c__Iterator2::MoveNext().".How do I fix it!