In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
 
            
                     
                
2025-10-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use Creator to achieve the effect of rolling noodles, the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Let me show you the effect picture first.
How to achieve it?
Node introduction
1 is the background image, which can be ignored
2 is the prepared dough
3. The noodles rolled out are hidden first.
4 is the node that needs to be drawn
5 is a rolling pin.
Start production:
First hang a mask on the view and set it to the template mode, and the sprite frame will be set to the rolled cake. This setting allows Mask to mask the content according to the shape of the rolled cake.
Hanging on the walpaper-layer node is a script file I wrote about drawing graphics, and set the relevant parameters. The main thing this script does is use Graphics to draw graphics.
Hang the script provided to me by the Graphics component on the graphics node.
Use a rolling pin to listen for touch events, draw a circle by moving the rolling pin and using the coordinates of the rolling pin (not the coordinates of the touch point), and set the radius of the circle to 80 or more to achieve the feel of the rolling pie.
How can you tell if the noodles are rolled out?
Record the coordinates of nine points of the noodle cake
Judge the point through which the coordinates of the rolling pin go, one by one, and then you can set it to complete.
Finally, hide the painted pattern, dough, and show the previously set cake, and this effect is considered to be finished.
On how to use Creator to achieve a rolling effect is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about

The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r


A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from

Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





 
             
            About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.