Hi Guys!
I found this script: http://www.unifycommunity.com/wiki/index.php?title=Animating_Tiled_texture
But doesn’t work on iPhone at all! someone knows what to change to make it work?
Cheers!
Javier
Hi Guys!
I found this script: http://www.unifycommunity.com/wiki/index.php?title=Animating_Tiled_texture
But doesn’t work on iPhone at all! someone knows what to change to make it work?
Cheers!
Javier
hello!
First of all, make sure that all the vars have a type.
are you getting errors?, does it compile for you?
You know, just found out what the error was. I was using a wrong size of texture. It was to be 1024x1024 for example. Can’t be 1024x64 because it won’t work on the iPhone 'cause the SDK.
Thanks Moderator Sr!
1024x64 can work
There is no requirement for it to be square.
Exception is if you want to use compression and target an OS older than 2.2, as compression there is only supported on power of 2 square.
Exactly, when I exported that was the error the SDK gave me. It told me it needed to be on power of 2 square. No big deal because I can use the same texture (material) for different things.
Although, I will cry on my pillow VERY hard tonight because of that. But again, isn’t a big of a deal I believe, with the proper use.