Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - db82

Pages: [1]
1
Support / Re: Importing / Exporting between projects
« on: March 15, 2012, 11:09:59 am »
Sorry for late reply.

We are using the Pro trial version, 3.5.0f5

How to duplicate this:

1. Create a new project, include 2D Toolkit, Open demo 1 - demoscene.
2. Create a prefab named SheepPrefab
3. Drag sheep from Hierarchy to SheepPrefab in Project.
4. Right-click on SheepPrefab and Export Package (Note: DemoSpriteCollection is missing from the Items to Export)
5. Create a new Project, include 2D Toolit.
6. Delete tk2d_demo as if this was a blank project
7. Import the SheepPrefab package into the project
8. Bring the DemoAnimations up in Inspector, select the sheep clip

At this point no frames are displayed in Inspector, I also get a bunch of these errors in Inspector:

Code: [Select]
IndexOutOfRangeException: Array index is out of range.
tk2dSpriteAnimationEditor.DrawSpritePreview (Int32 collectionId, Int32 spriteId) (at Assets/TK2DROOT/tk2d/Sprites/Editor/tk2dSpriteAnimationEditor.cs:542)
tk2dSpriteAnimationEditor.OnInspectorGUI () (at Assets/TK2DROOT/tk2d/Sprites/Editor/tk2dSpriteAnimationEditor.cs:446)
UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty)
UnityEditor.InspectorWindow.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)




2
Support / Importing / Exporting between projects
« on: March 12, 2012, 06:12:00 pm »
Hi

We are experimenting with sharing assets between our team.

If I make a prefab of an AnimatedSprite and export / import to a new project, the SpriteCollection for the prefab seems to be missing.

Is there any easy fix for this?

Thanks

3
Great thanks!

4
Is it possible to set a collider for all frames of a sprite collection in one hit? Rather than individually selecting each frame one by one?

I have a lot of frames!

Thanks

5
Support / Re: Is it possible to create an animation via code?
« on: March 07, 2012, 03:32:58 pm »
Hi

Just purchased 2D Toolkit and impressed so far!

But I am in a similar position, I need to create 9 Sprite Animation objects which are all identical, only difference is each one uses a different Sprite Collection.

Would be great if we could duplicate a Sprite Animation and set (or drag onto it) a Sprite Collection to auto update the frames!

Pages: [1]