32 lines
1.0 KiB
Markdown
32 lines
1.0 KiB
Markdown
- 参考资料
|
||
- [godot官方文档](https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_basics.html)
|
||
- [Godot Tutorials的GDScript Fundamentals Tutorial Series,youtube播放量最高的godot教程视频](https://www.youtube.com/watch?v=JJQa3xrRNM0&list=PLJ690cxlZTgL4i3sjTPRQTyrJ5TTkYJ2_)
|
||
- [Godot Tutorials的Godot Basics Tutorial Series,youtube播放量最高的godot教程视频](https://www.youtube.com/watch?v=sChM51ibm5k&list=PLJ690cxlZTgIsmdEhFufnB7O6KWoMS8M6)
|
||
- [B站视频](https://www.bilibili.com/video/BV17g4y1z7uS)
|
||
|
||
# 数据类型
|
||
- gds有5种基础类型
|
||
- Boolean,Integer(Java long),Float(Java double),String,Null
|
||
|
||
![Image text](image/integer.JPG)
|
||
![Image text](image/integer_overflow.JPG)
|
||
![Image text](image/step.JPG)
|
||
|
||
|
||
# 垃圾回收
|
||
|
||
![Image text](image/gc.JPG)
|
||
![Image text](image/gc1.png)
|
||
![Image text](image/gc2.png)
|
||
![Image text](image/gc3.png)
|
||
|
||
- gdscript是垃圾回收和手动回收结合起来了,使用什么样的回收完全交给你自己
|
||
![Image text](image/太极.png)
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|