提交 09fbc40b 编写于 作者: 开发游戏的老王's avatar 开发游戏的老王

Version 1

上级 d68bedbe
{
"node_id": "game-3763515eddfe4932887fd39c826f317e",
"node_id": "game-a7419380ac974efcbc5fb1d347933d04",
"keywords": [],
"children": [
{
"游戏开发入门": {
"keywords": [
"Godot",
"Flappy Bird"
],
"children": [],
"keywords_must": [
"Godot"
],
"keywords_forbid": [],
"node_id": "game-8b79c45606e74fd48485bcdca73de39e"
}
}
],
"export": [
"learn.json"
],
"keywords_must": [],
"keywords_forbid": []
"keywords_forbid": [],
"group": 0
}
\ No newline at end of file
{
"node_id": "game-7dd736ff4d2e43bfa002ad16964a7ea8",
"node_id": "game-ddebb8f9c33e499ebf70e857f5e57244",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-4e8d0d681ad74f0baf658819a067b7df",
"node_id": "game-4609ca19969744c3af113a1c273f6aa3",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-585260a4beaa4505ae042e6976d45e22",
"node_id": "game-54ed259122714ae3b146ff5d5e3e9b9d",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-53ff6122ba0a4c41836eed2b8bdcab2b",
"node_id": "game-9820c7f433f94ad4a61bfebce0e86afb",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-97fe2d47c7bf4a68aa220806b5ddbd43",
"node_id": "game-fcc7df8805b04aa7a3885c23b6de0ee5",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-fc5c9011b67a40dd9800e641a4011047",
"node_id": "game-ce44239c61d3458b90a37dc93822ebe4",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-6387d2ddf5a8413a859e30351e3c9290",
"node_id": "game-abe61f57685e4d5b948f58b4403890bc",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-7df8a8f6fdf24ddc975506a798dafa00",
"node_id": "game-e4484e530d7544e1bd2203e39705b51c",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-a55d395e3c414c7ca28404b395b1afbb",
"node_id": "game-c9d47730e8154a7f8e09f2f0faf3846e",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-7b40ec0d41354fa9adde837f8504c586",
"node_id": "game-4f8ddd4a0c8c4800b0153cf5e0a97731",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-80786fe5d22e4a559a512686d5ee8cea",
"node_id": "game-564e4ed11c3c4dd881b09fb29eaf0833",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-bb9e4ae20c1c4af38af69636d09793ee",
"keywords": [],
"children": [],
"export": [
"learn.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
\ No newline at end of file
{
"type": "code_options",
"author": "hello_tute",
"source": "learn.md",
"notebook_enable": false,
"exercise_id": "d0091914c6bb43bf9f15a2e9beed5979"
}
\ No newline at end of file
# [知识点]用Call Method Track(方法回调轨道)实现动画回调
请先阅读本节讲义⬇
[《用Call Method Track(方法回调轨道)实现动画回调》](https://orzgame.blog.csdn.net/article/details/105230844)
我们想让某段动画播放到特定帧时自动触发(调用)一个函数,下列那种机制是最佳方案?
## 答案
Call Method Track(方法回调轨道)
## 选项
### A
手动计算时间并使用Timer延时触发
### B
使用Group机制
### C
没有开箱即用的方法,只能纯代码实现
{
"node_id": "game-1eb635fc0e784edbac7264db4d12a7ff",
"keywords": [],
"children": [],
"export": [
"learn.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
\ No newline at end of file
{
"type": "code_options",
"author": "hello_tute",
"source": "learn.md",
"notebook_enable": false,
"exercise_id": "5e328793a87c43c485eb3152a019b0a0"
}
\ No newline at end of file
# 大不了从头再来(新局启动)
请先阅读本节讲义⬇
[《大不了从头再来(新局启动)》](https://orzgame.blog.csdn.net/article/details/105161381)
将一个节点通过其父节点的`remove_child`从场景树中移除后,为什么还要调用其自身的`queue_free`函数?
## 答案
`remove_child`只是将它从场景树上移除,但其内存资源并未释放,所以要调用`queue_free`将其放到待释放队列中,由引擎释放其内存资源
## 选项
### A
没有必要调用
### B
调用其自身的`queue_free`以后就可以重复使用了
### C
可以给其赋值为null来代替`queue_free`
{
"node_id": "game-6baed610886c4dfab45c04c6d1a4c74d",
"keywords": [],
"children": [],
"export": [
"learn.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
\ No newline at end of file
{
"type": "code_options",
"author": "hello_tute",
"source": "learn.md",
"notebook_enable": false,
"exercise_id": "30a0ab7ff4cd4e699bffdf4a88ec537d"
}
\ No newline at end of file
# 番外篇:罗永浩都抖音了,要不咱们也抖一抖?(屏幕震动)
请先阅读本节讲义⬇
[《Godot Engine:屏幕振动效果的实现》](https://blog.csdn.net/ttm2d/article/details/103809442)
[《番外篇:罗永浩都抖音了,要不咱们也抖一抖?(屏幕震动)》](https://orzgame.blog.csdn.net/article/details/105262867)
下列选项中那些效果可以提高游戏的“打击感”?
## 答案
包括(但不限于)其他全部选项
## 选项
### A
屏幕震动
### B
音效
### C
一些粒子特效
{
"node_id": "game-4c824cdca5b24931846db2086aebeb70",
"node_id": "game-e2f919f34b524b43b50dc61ec09f9989",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-73781824af714b958ed07890c58df8f3",
"node_id": "game-204ac394144042d8aad5e5e90079a0e8",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-1118654a675c4c11a262eacbfe592c55",
"node_id": "game-7837069511e14a209a18d8f21f7c1cdb",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-1d58d22d9c694d138f414809a7c3d204",
"node_id": "game-92d76053805145d591d22d3c9679eef4",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-500198d650804137a10e34bf9e07ed8d",
"node_id": "game-cd00e66431484f1087cb6b779a7bfdbb",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-439aa38024ab4dd98c188b5577ec7a63",
"node_id": "game-b0e23a8f1f624ff1b4e0d214deb76942",
"keywords": [],
"children": [],
"export": [
......
{
"node_id": "game-3946edad886642598c4ead6778d65fac",
"node_id": "game-d519f3f21c60416aa6f1adc345fd11ee",
"keywords": [],
"children": [],
"export": [
......
......@@ -19,24 +19,9 @@
"children": [
{
"用Godot Engine开发一个FlappyBird小游戏": {
"node_id": "game-3763515eddfe4932887fd39c826f317e",
"node_id": "game-a7419380ac974efcbc5fb1d347933d04",
"keywords": [],
"children": [
{
"游戏开发入门": {
"keywords": [
"Godot",
"Flappy Bird"
],
"children": [],
"keywords_must": [
"Godot"
],
"keywords_forbid": [],
"node_id": "game-8b79c45606e74fd48485bcdca73de39e"
}
}
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......@@ -44,7 +29,7 @@
},
{
"新建Godot项目": {
"node_id": "game-80786fe5d22e4a559a512686d5ee8cea",
"node_id": "game-564e4ed11c3c4dd881b09fb29eaf0833",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -54,7 +39,7 @@
},
{
"Godot界面介绍": {
"node_id": "game-4c824cdca5b24931846db2086aebeb70",
"node_id": "game-e2f919f34b524b43b50dc61ec09f9989",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -64,7 +49,7 @@
},
{
"Hello World": {
"node_id": "game-73781824af714b958ed07890c58df8f3",
"node_id": "game-204ac394144042d8aad5e5e90079a0e8",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -74,7 +59,7 @@
},
{
"坠落吧,小鸟": {
"node_id": "game-1118654a675c4c11a262eacbfe592c55",
"node_id": "game-7837069511e14a209a18d8f21f7c1cdb",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -84,7 +69,7 @@
},
{
"在哪坠落就在哪飞起来": {
"node_id": "game-1d58d22d9c694d138f414809a7c3d204",
"node_id": "game-92d76053805145d591d22d3c9679eef4",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -94,7 +79,7 @@
},
{
"无限循环的地面": {
"node_id": "game-500198d650804137a10e34bf9e07ed8d",
"node_id": "game-cd00e66431484f1087cb6b779a7bfdbb",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -104,7 +89,7 @@
},
{
"[知识点]5种碰撞体以及RigidBody的4种模式": {
"node_id": "game-439aa38024ab4dd98c188b5577ec7a63",
"node_id": "game-b0e23a8f1f624ff1b4e0d214deb76942",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -114,7 +99,7 @@
},
{
"[知识点]Timer节点使用范例": {
"node_id": "game-3946edad886642598c4ead6778d65fac",
"node_id": "game-d519f3f21c60416aa6f1adc345fd11ee",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -124,7 +109,7 @@
},
{
"无尽水管子滚滚来(一)": {
"node_id": "game-7dd736ff4d2e43bfa002ad16964a7ea8",
"node_id": "game-ddebb8f9c33e499ebf70e857f5e57244",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -134,7 +119,7 @@
},
{
"无尽水管子滚滚来(二)": {
"node_id": "game-4e8d0d681ad74f0baf658819a067b7df",
"node_id": "game-4609ca19969744c3af113a1c273f6aa3",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -144,7 +129,7 @@
},
{
"[知识点]用自动加载(AutoLoad)实现单例模式(Singleton Pattern)": {
"node_id": "game-585260a4beaa4505ae042e6976d45e22",
"node_id": "game-54ed259122714ae3b146ff5d5e3e9b9d",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -154,7 +139,7 @@
},
{
"来点MUSIC(音效系统)": {
"node_id": "game-53ff6122ba0a4c41836eed2b8bdcab2b",
"node_id": "game-9820c7f433f94ad4a61bfebce0e86afb",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -164,7 +149,7 @@
},
{
"[知识点]本地数据存取的帮助类(加密非加密)": {
"node_id": "game-97fe2d47c7bf4a68aa220806b5ddbd43",
"node_id": "game-fcc7df8805b04aa7a3885c23b6de0ee5",
"keywords": [],
"children": [],
"keywords_must": [],
......@@ -174,7 +159,77 @@
},
{
"心里有数(计分系统)": {
"node_id": "game-fc5c9011b67a40dd9800e641a4011047",
"node_id": "game-ce44239c61d3458b90a37dc93822ebe4",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
},
{
"[知识点]如何使用外部字体和Label节点制作一个计时器": {
"node_id": "game-abe61f57685e4d5b948f58b4403890bc",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
},
{
"让数据说话(显示分数)": {
"node_id": "game-e4484e530d7544e1bd2203e39705b51c",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
},
{
"[知识点]两行代码实现观察者模式(Observer Pattern),就问你服不服?": {
"node_id": "game-c9d47730e8154a7f8e09f2f0faf3846e",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
},
{
"天下没有不OVER的GAME": {
"node_id": "game-4f8ddd4a0c8c4800b0153cf5e0a97731",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
},
{
"[知识点]用Call Method Track(方法回调轨道)实现动画回调": {
"node_id": "game-bb9e4ae20c1c4af38af69636d09793ee",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
},
{
"大不了从头再来(新局启动)": {
"node_id": "game-1eb635fc0e784edbac7264db4d12a7ff",
"keywords": [],
"children": [],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
},
{
"番外篇:罗永浩都抖音了,要不咱们也抖一抖?(屏幕震动)": {
"node_id": "game-6baed610886c4dfab45c04c6d1a4c74d",
"keywords": [],
"children": [],
"keywords_must": [],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册