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

Pages: [1]
1
Support / Re: 2D Terrain Plugin
« on: October 04, 2013, 06:41:04 pm »
Alright! Thanks for the reply! :)

2

touchCircle and lifeOutline both use the same Atlas, and it is a 4096x4096 atlas. We plan on reducing it to multiple 2048 atlases for the sake of the maximum atlas size on apple devices, but that is just a matter of time. Could the size of the atlas be a memory issue?

-Justin

This, my friend! The bigger the Atlas-Size the bigger the RAM consumption. If you look into the Atlas-Data in the Unity-Inspector you will see how much of RAM the Atlas will consume when loaded.

So here is my advice:

- make them smaller. Not only the Size but also Format (which has also a big impact on the RAM-Size)

For example, I have one TextureAtlas for my Sky-Background which is a PSD-File/Sprite with a Gradient. It's 2kb in RAM-Usage (Max Size is set to 64 and Format is set to "RGB Compressed PVRTC 4bits"). Of course I could set it to 4096 and RGBA 32, but that would be just dumb, because there is absolutely NO difference in quality, at least you can't see it with your eyes ;)

In order to save fillrate unikron told me to split up sprites in two parts: one part with transparencie the other one is solid. Now this will save you also a lot of memory, cause your solid-part has (in best case) only on colour. My Solid-Part-Textureatlas is set to 512 in Size and the same RGB Compression in the Format Setting and gives me a RAM-Usage of 128 kb.

With GUI, Character, Enemies, Backgrounds etc. I got something like 80-90 MB of RAM Usage, that being said, only the Background-Atlases are optimized, so I think I'll go down to 60-70 after optimizing the Atlases of the Player, the Enemies etc.

3
Support / 2D Terrain Plugin
« on: October 04, 2013, 05:26:38 pm »
Hey there guys,

so I just wanted to ask if you plan on implementing something like this:

http://forum.unity3d.com/threads/197962-2D-Terrain-Creation-Tool

Would be a neat and powerful extension to 2DToolkit :)

4
Support / Re: Custom Box Collider
« on: August 11, 2013, 06:48:30 pm »
Ah, thanks for the clarification. So, I'm using PlayMaker and I used the Set Property-Action on the Rigidbody which I attached to the sprite (set to kinematic in order to not mess up the PlatformController) and set the bool value of DetectCollision to false and it worked!
This way it's more efficient than disabling/enabling the Collider, isn't it?

5
Support / Custom Box Collider
« on: August 11, 2013, 06:13:16 pm »
Hey there.

Working with the latest 2DToolkit Version in the AssetStore.

So I used the Custom Box Collider Feature in the SpriteCollection Editor on certain Sprites (Sprites which are used in the Attack-Animation).
Now I want to use this for handling collision via Trigger.
The thing is: that Collider is now enabled ALL the time and not only when the Animation is played. Is there a way via the editor to disable that or do I have to script that?

Pages: [1]