Cocos creator 3.3.2 simply implements small functions (skybox, constant force, particle effects, ui display 3D model, model blood bar follow display, click ray detection, light map...)

Start playing with creator3d, implement small functions, and practice

1. The 3D model is displayed on the ui, and the targetTexture property of the camera used

2. Lightmap, objects still have sunny and shady sides

 

 3. Simple particle effects

4. Constant force, use of rigid body force, skybox

 

 

5. Click on the ray detection screen and set the character to the clicked position

 

6. The blood bar shows that the near ones are bigger and the far ones are smaller

 

 Project address: https://github.com/SuiFengErQu/cocos-creator3d-mini_demo/

 

Guess you like

Origin blog.csdn.net/github_38633141/article/details/121040144