SpriteKitWatchFace icon indicating copy to clipboard operation
SpriteKitWatchFace copied to clipboard

Square Face Improvements

Open dimitribouniol opened this issue 6 years ago • 4 comments

Use a mask for the square face instead of trying to get complicated math to work reliably ;)

dimitribouniol avatar Oct 11 '18 15:10 dimitribouniol

screen shot 2018-10-11 at 8 47 54 am

dimitribouniol avatar Oct 11 '18 15:10 dimitribouniol

Also, the simulator was acting pretty wonky, so I wasn't sure what radius to use (I tried to guess by understanding the math you had, but couldn't figure it out), so I settled on 16. Feel free to adjust accordingly.

screen shot 2018-10-11 at 8 50 31 am

dimitribouniol avatar Oct 11 '18 15:10 dimitribouniol

@steventroughtonsmith Now with some real math ;)

(You can use the provided functions to easily calculate where the center of a circular tick mark should be placed by drawing the appropriate CGPathRef, for instance)

dimitribouniol avatar Oct 12 '18 03:10 dimitribouniol

i think my PR (https://github.com/steventroughtonsmith/SpriteKitWatchFace/pull/18) may fix the issue you see here https://github.com/steventroughtonsmith/SpriteKitWatchFace/pull/3#issuecomment-429009005

jakedowns avatar Oct 18 '18 16:10 jakedowns