当前位置:网站首页>Cocos learning diary 1 - node
Cocos learning diary 1 - node
2022-06-23 04:40:00 【herb. dr】
Catalog
1.2 Put the picture on the node
4.1 Add components to the node
4.2 Delete the component on the node
4.3 The relationship between components and nodes
One 、 Picture node
1.1 Create sprite node

1.2 Put the picture on the node
Drag the picture to the right


Two 、 Text node
2.1 Node action
Then the text is displayed on the screen
2.2 Add a node

3、 ... and 、UI node
3.1 effect
button、EditBox And so on. , For user input
3.2 establish

3.3 Button node structure
It has a three-tier structure , Namely press-button control > Button background > The text in the button

Among them, the button background can put pictures and so on
Button control can control the state of the button

Four 、 Nodes and components
4.1 Add components to the node



4.2 Delete the component on the node

4.3 The relationship between components and nodes
1、 The node itself has no type , What really works is the component
Picture node = Node + Sprite Components
2、 A node can be attached to multiple components
However, only one rendering component can be attached , Can not be hung at the same time Sprite and Label
边栏推荐
- [learn FPGA programming from scratch -40]: Advanced - Design - competition and risk
- [binary tree] flip equivalent binary tree
- 在线JSON转CSharp(C#)Class工具
- Leetcode 1208. 尽可能使字符串相等(终于解决,晚安)
- PTA:6-29 虚基类的应用-人与教师学生
- svg d3. JS generate tree tree view
- PTA:6-71 时钟模拟
- Pytoch --- pytoch customizes the dataset
- Pta:7-63 calculate the number one in the college entrance examination
- leetcode 91. Decode Ways 解码方法(中等)
猜你喜欢

语料库数据处理个案实例(词性赋码、词性还原)

flutter系列之:flutter中的Wrap

golang使用mongo-driver操作——增(基础)
![[advanced binary tree] AVLTree - balanced binary search tree](/img/a5/aef68dd489ef5545e5b11ee2d3facc.png)
[advanced binary tree] AVLTree - balanced binary search tree

Tiktok x-bogus and_ Signature parameter analysis

什么是元数据

【Pytorch】用自动微分求sin(x)的导数

Qt 及QT VS Tools插件官方下载及安装

How does flutter achieve different zoom animation effects

Implementation of VGA protocol based on FPGA
随机推荐
Getting started with tensorflow
② cocoapods原理及 PodSpec 文件上传操作
Mobile terminal city list sorting JS plug-in vertitylist js
What is metadata
Tiktok x-bogus and_ Signature parameter analysis
Pytoch --- pytoch customizes the dataset
Permission Operation in dynamics 365 plug-in
Photoshop PS viewing pixel coordinates, pixel colors, pixel HSB colors
Pta:7-37 student number analysis
论文阅读_关系抽取_CASREL
Pta:6-73 function call
Bug STM32 advanced timer (haha, to tell you the truth, the hardware timer can't reflect its strength. In fact, I want to send the kernel timer. Just think about it. Take your time)
[advanced binary tree] AVLTree - balanced binary search tree
Pta:7-58 Book audio-visual rental management
PTA:7-86 集合的模拟实现(函数模板)
PTA:7-37 学号解析
1183. 电力
Principle of 8-bit full adder
P1347 sorting (TOPO)
PTA:6-71 时钟模拟