- Godot Engine Game Development Projects
- Chris Bradfield
- 148字
- 2021-06-18 18:51:30
Node setup
Create a new scene and add a CanvasLayer node named HUD. A CanvasLayer node allows you to draw your UI elements on a layer above the rest of the game, so that the information it displays doesn't get covered up by any game elements like the player or the coins.
Godot provides a wide variety of UI elements that may be used to create anything from indicators such as health bars to complex interfaces such as inventories. In fact, the Godot editor that you are using to make this game is built in Godot using these elements. The basic nodes for UI elements are extended from Control, and appear with green icons in the node list. To create your UI, you'll use various Control nodes to position, format, and display information. Here is what the HUD will look like when complete:

- Word 2000、Excel 2000、PowerPoint 2000上機(jī)指導(dǎo)與練習(xí)
- Mastering Proxmox(Third Edition)
- 大數(shù)據(jù)項(xiàng)目管理:從規(guī)劃到實(shí)現(xiàn)
- 面向STEM的mBlock智能機(jī)器人創(chuàng)新課程
- 西門子PLC與InTouch綜合應(yīng)用
- Expert AWS Development
- 精通Excel VBA
- 新編計(jì)算機(jī)組裝與維修
- Hands-On Reactive Programming with Reactor
- 軟件工程及實(shí)踐
- Applied Data Visualization with R and ggplot2
- SMS 2003部署與操作深入指南
- 水晶石影視動(dòng)畫精粹:After Effects & Nuke 影視后期合成
- 智能鼠原理與制作(進(jìn)階篇)
- The DevOps 2.1 Toolkit:Docker Swarm