Below is a snippet on how you can draw arcs on four corner inside a square.
Why would you do that? Imagine you are designing a storytelling tutorial which requires you to dim down the entire scene, and then carve a rounded corner square within the “dimmed” screen.
Think of CityVille’s tutorial mode in Facebook games.
No comments:
Post a Comment