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

Pages: 1 2 [3]
31
Support / Re: tk2dCamera Anchor Question
« on: October 11, 2013, 07:12:41 pm »
aha!
cool so it is a problem between global and relative aka local positions.

Thanks, something learned!


32
Support / tk2dCamera Anchor Question
« on: October 11, 2013, 05:37:33 pm »
Hey!

I'm Arnold and i'm super new to Unity coming from a small Gamemaking tool called Stencyl.
Here's my noob question.

I have my tk2dCamera setup with an child Anchor with the upper Left setting. Attached to the Anchor
i have my GameController Gameobject which sits at 0,0,1 in the Scene (upper left). Now i spawn a prefab (Sprite) via code as a child of the GameController and want to set the Sprite's position. This works but if i set the position of the Sprite to 0,0,1 it gets displayed in the middle of the Screen. My sprite is basically ignoring the tk2d Anchor. I just want to freely position my Sprite with 0,0 being top left, like in the scene view.

What am i doing wrong?

Pages: 1 2 [3]