x


Animating a Character Sprite Sheet.

Can someone show me some examples how to animate a sprite sheet like this? http://www.spriters-resource.com/snes/chronotrigger/crono.png Ive read everyone on a SpriteManager, But it says attach scripts, But i dont think those scripts come with my copy of Unity, And i cant find download links for it either.

more ▼

asked Mar 03 '11 at 06:50 AM

Xaeias gravatar image

Xaeias
23 2 2 7

just get 2DToolkit and such woes disappear !

Jul 15 '12 at 07:20 PM Fattie
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

This tutorial: http://www.piecesinteractive.se/blog/spritemanager-beginners-guide-unitydevelop

Comes with details on how to download and install the scripts you are looking for (the free version though) I did find the one line of code that I was looking for being hidden outside of code blocks though. If you have the same problem, you're looking for:

mySpriteManager.AddSprite(gameObject, WorldWidthOfSprite, WorldHeightOfSprite, XonTheTexture, YonTheTexture, WidthOnTheTexture, HeightOnTheTexture, false);

Though you probably want to save the return value from that function cause you're going to end up needing it.

more ▼

answered Jul 12 '12 at 03:17 PM

Muuskii gravatar image

Muuskii
1.1k 4 10

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3768
x1040
x212
x51

asked: Mar 03 '11 at 06:50 AM

Seen: 2246 times

Last Updated: Jul 15 '12 at 07:20 PM