- Godot Engine Game Development Projects
- Chris Bradfield
- 191字
- 2021-06-18 18:51:33
Project organization
As your projects become larger and more involved, you'll find that saving all of your scenes and scripts in the same folder becomes unwieldy.
A common response to this by Godot beginners is to make a scenes folder and a scripts folder, and to save each type of file in the respective folder. This isn't very effective. Soon, you find yourself hunting through the scripts folder, looking for the script you need because it's jumbled up with all the other scripts of your game.
A more logical organization is to create a folder for each type of object. A player folder, for example, will hold the player's scene file, script(s), and any other resources that it needs. Organizing your project in this way is much more scalable and can be extended even further if you have a very large number of objects. For example, refer to the following screenshot:

Throughout this project, the examples will assume that each new scene type is being saved in a folder of that type, along with its script. The Player.tscn and Player.gd files, for example, will be saved in a player folder.
- Div+CSS 3.0網(wǎng)頁(yè)布局案例精粹
- Circos Data Visualization How-to
- Getting Started with Clickteam Fusion
- Python Data Science Essentials
- 智能工業(yè)報(bào)警系統(tǒng)
- 80x86/Pentium微型計(jì)算機(jī)原理及應(yīng)用
- 塊數(shù)據(jù)5.0:數(shù)據(jù)社會(huì)學(xué)的理論與方法
- 氣動(dòng)系統(tǒng)裝調(diào)與PLC控制
- 單片機(jī)C語(yǔ)言程序設(shè)計(jì)完全自學(xué)手冊(cè)
- Building a BeagleBone Black Super Cluster
- 電子設(shè)備及系統(tǒng)人機(jī)工程設(shè)計(jì)(第2版)
- Photoshop CS4數(shù)碼攝影處理50例
- Photoshop CS4數(shù)碼照片處理入門、進(jìn)階與提高
- Advanced Deep Learning with Keras
- 計(jì)算機(jī)硬件技術(shù)基礎(chǔ)學(xué)習(xí)指導(dǎo)與練習(xí)