Skip to content
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
wants to merge 68 commits into from
Closed

Build WP error. #29

wants to merge 68 commits into from

Conversation

nopbongdem
Copy link

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!

Banbury and others added 30 commits January 23, 2014 19:29
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
playemgames and others added 28 commits July 3, 2014 14:46
…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.
@playemgames
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants