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 - AGP

Pages: [1]
1
Support / Re: tk2dSprite.Count Holds 3 Where it Should Hold 2
« on: April 18, 2012, 10:17:44 pm »
I don't understand your question. Where me is an instance of tk2dSprite, the line print(me.collection.Count) prints 3 where it should print 2.

2
Support / tk2dSprite.Count Holds 3 Where it Should Hold 2
« on: April 18, 2012, 10:12:47 pm »
I have a two-frame collection whose Count variable is storing 3. What gives? Would looping with Count-1 make sense?

3
Support / Re: Rightmost Coordinate of a Sprite
« on: April 17, 2012, 08:28:34 pm »
float rightMost = src.transform.position + Vector3(src.GetBounds().extents.x, 0, 0) ?

4
Support / Rightmost Coordinate of a Sprite
« on: April 17, 2012, 08:24:17 pm »
How do I find the rightmost coordinate of a given sprite in worldspace?

5
Support / Re: SpriteAnimation won't take my SpriteCollection
« on: April 10, 2012, 10:40:40 pm »
I probably hadn't, no. It works now. :- ) Thanks.

6
Support / SpriteAnimation won't take my SpriteCollection
« on: April 10, 2012, 10:15:38 pm »
Sorry if this sounds stupid, but it's my first time and 2d Toolkit has changed so much since this video:http://www.youtube.com/watch?v=lwJaODiJc9g

Anyway, the first time I created (as per the video) the SpriteAnimation after creating my SpriteCollection, it seemed to scan my project and not find my SpriteCollection. Now, all I get is 4 DemoSpriteCollection as options for my SpriteAnimation, which sucks. So, how do I associate my SpriteCollection with the SpriteAnimation?

Pages: [1]