Does anyone know here what the best texturesetting is for an animated cursor? I have rendered out an animation in 1920 x 1080 resolution. But once I imported the combined pictures into Unity and using AC in the CursorTab, I get a lot of framerate issues. My texture is set as advanced with the read/write enabled. I don't have any warning messages, except for one in the advanced texture tab that says: Only textures with Width/Height beeing multiple of 4 can be compressed to DXT5 format. I don't know what to do about this warning message and I don't know if AC is related. I think it are my texture settings that cause the problem. So please: is anyone here that succeeded in making a high resolution animated cursor without lag? If so, please explain to me how. Thanks!
Comments
I use .png
Never had any problems.
Also, I see you changed it to 1000*1000, my guess you just squeezed the sides, it won't display right. You really have to have all your sprites in your sprite sheet nicely separate and uniform, like each sprite should be 24*24 and when combined into a sprite sheet the final texture should be 120*120 if you have 5 rows and 5 columns.
Because you can not tell AC what exact resolution it should render out in Unity like if you have a sprite sheet 278*624 and in it you have each frame with 42*68, it won't display correct.
You can try alternatively to make your cursor animation follow your cursor and hide the cursor. But it would be cumbersome since every time you'd need to use an actionlist.
However I do have this in my game too where I need some specific objects to follow my cursor.
I made a simple script that make an object follow the cursor and a custom action that disables/enables that script/component. Here's the custom action to disable/enable your component http://www.adventurecreator.org/forum/discussion/3932/custom-action-disable-enable-your-component-your-custom-script#latest
So when I need my object to follow the cursor I turn on it's visibility and enable follow cursor script/component.
If your texture has layers like in .psd then no wonder your 1020*1024 texture causes such a huge fps drop.
I use imagemagick for combining and trimming my sprites into one sprite sheet.
5 rows and 4 columns are fine as long as the texture's width and height are equal e.g. 120*120, 256*256 etc
Try to find a way to use your texure as Sprite and not as Advanced, try in .png perhaps .tga whatever Unity supports with alpha channel. Try to set it as Sprite but not as multiple.