godot-start/doc/demo02_base/base.md

32 lines
1.0 KiB
Markdown
Raw Normal View History

2021-09-12 10:07:51 +00:00
- 参考资料
- [godot官方文档](https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_basics.html)
2021-10-03 01:02:45 +00:00
- [Godot Tutorials的GDScript Fundamentals Tutorial Seriesyoutube播放量最高的godot教程视频](https://www.youtube.com/watch?v=JJQa3xrRNM0&list=PLJ690cxlZTgL4i3sjTPRQTyrJ5TTkYJ2_)
- [Godot Tutorials的Godot Basics Tutorial Seriesyoutube播放量最高的godot教程视频](https://www.youtube.com/watch?v=sChM51ibm5k&list=PLJ690cxlZTgIsmdEhFufnB7O6KWoMS8M6)
2021-09-12 10:07:51 +00:00
- [B站视频](https://www.bilibili.com/video/BV17g4y1z7uS)
# 数据类型
2021-09-13 10:34:42 +00:00
- gds有5种基础类型
- BooleanInteger(Java long)Float(Java double)StringNull
2021-10-03 01:02:45 +00:00
![Image text](image/integer.JPG)
![Image text](image/integer_overflow.JPG)
![Image text](image/step.JPG)
2021-09-12 10:07:51 +00:00
2021-10-03 01:02:45 +00:00
# 垃圾回收
![Image text](image/gc.JPG)
![Image text](image/gc1.png)
![Image text](image/gc2.png)
![Image text](image/gc3.png)
2021-10-04 08:49:12 +00:00
- gdscript是垃圾回收和手动回收结合起来了使用什么样的回收完全交给你自己
![Image text](image/太极.png)
2021-09-12 10:07:51 +00:00