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.


Topics - tom123

Pages: [1]
1
Support / loading time when showing a sprite the first time
« on: April 19, 2014, 09:47:05 pm »
On older devices like iPad2 or iPhone4 there's always a fraction of a second that the game stops, whenever some particular sprites get shown the very first time. If that sprite gets shown the second time, it's all fine.

I don't have Unity Pro, so I couldn't use the exact profiling and now I can't even say a 100% sure that it's because of any toolkit 2d code. But generally, is there any known performance consuming code that gets run every time a sprite is shown the first time?


2
Support / Tk2dTextMesh: change font size for part of the text
« on: March 22, 2014, 03:24:36 pm »
I have one Tk2dTextMesh (would prefer to keep it as one), and I want part of the text smaller than the other part.
For example until 10th character in one size, and from 11th character in another size.

Is there a straightforward way to do that?
If not, what would be the recommended way to go if I don't want to have two Tk2dTextmeshes?

3
Support / pause and continue tk2dAnimatedSprite
« on: July 27, 2013, 06:08:06 am »
When the user hits pause, I want all tk2dAnimatedSprites to stop, and then continue when the user hits continue.
What's the correct way to do this?
Right now I'm calling pause() on the tk2dAnimatedSprite, and then when the user hits continue, I'm calling play().

pause() works, but play() doesn't bring it back to playing.. is there anything else I need to call to get him to continue the animation?

4
Support / multiplatform - simpler solution?
« on: June 23, 2013, 10:32:58 pm »
I'm in the middle of making a game with toolkit 2d, and I've done all my graphics for the iPad3 size, with the plan that I'll just scale them all down by half and use that for iPad2, and iPhone4+5

So I was hoping I could just go into the Data directory of each Sprite Collection and add another image that has half of the size, calling it atlas0Small.png. And then somehow switch between atlas0.png and atlas0Small.png
But by switching to the smaller one, the result comes out blurry on the iPhone5.. even though it now has the right amount of pixels according to the iPhone5's resolution.
Is there anything that I'm missing?

Then I've looked at the official way of how to handle the multiplatform thing on toolkit 2d:
http://www.unikronsoftware.com/2dtoolkit/docs/2.00/advanced/platform_specific_sprite_collections.html

but it doesn't seem logic to me why I have to scale down every single texture, rather than just the main one - meaning atlas0.png?

Pages: [1]