I am using a cropping class i found in ‘share your code’
when I mask an image it shows in ios simulators but not in the other ones like droid
any clue??
Thanks!! Adrian
I am using a cropping class i found in ‘share your code’
when I mask an image it shows in ios simulators but not in the other ones like droid
any clue??
Thanks!! Adrian
Are you using multiple masks?
Hi Master Rob
Not, only a simple mask (5 pictures , 1 mask per picture)
Thanks. Adrian
I could use a single file, but this class creates 1 mask.png per mask you set.
are you putting them in the same group? I know Android has a limit of two stacked masks if I remember correctly.
I create the imagerect with a for loop
each is included inside its own group
I will try to reduce the size mask and create justone image and will come back with what happens
Thank you thank you. A.
Master:
I think it has something to do with the mask size:
I am using your tutorial about the ULTIMATE CONFIG.LUA, so all my fullscreen images have the safe area around to work in any screen.
As I want to paginate the images horizontally and change between them with a swipe, I am using a the class I’ve downloaded from these forums creates a bitmap with the size of the screen. as I need the masks to be exactly the size of the screen, something happens with the sizes. For iOS, I made the are 1 pixel smaller per side, and it worked.
Cheers.
I started trying different values for android and it needs 20 pixels per side.
Keep in mind that your masks have to be evenly divisible by 4 on each side. In other words a mask that is 303px by 225px is going to cause problems. You must have a enough black around the white. I try to make my white are evenly divisible by 4 then add 4px of black on all four sides.
Generally for full screen, you don’t need masks.
Thank you Rob!
Are you using multiple masks?
Hi Master Rob
Not, only a simple mask (5 pictures , 1 mask per picture)
Thanks. Adrian
I could use a single file, but this class creates 1 mask.png per mask you set.
are you putting them in the same group? I know Android has a limit of two stacked masks if I remember correctly.
I create the imagerect with a for loop
each is included inside its own group
I will try to reduce the size mask and create justone image and will come back with what happens
Thank you thank you. A.
Master:
I think it has something to do with the mask size:
I am using your tutorial about the ULTIMATE CONFIG.LUA, so all my fullscreen images have the safe area around to work in any screen.
As I want to paginate the images horizontally and change between them with a swipe, I am using a the class I’ve downloaded from these forums creates a bitmap with the size of the screen. as I need the masks to be exactly the size of the screen, something happens with the sizes. For iOS, I made the are 1 pixel smaller per side, and it worked.
Cheers.
I started trying different values for android and it needs 20 pixels per side.
Keep in mind that your masks have to be evenly divisible by 4 on each side. In other words a mask that is 303px by 225px is going to cause problems. You must have a enough black around the white. I try to make my white are evenly divisible by 4 then add 4px of black on all four sides.
Generally for full screen, you don’t need masks.
Thank you Rob!