diff --git a/doc/demo03_lifecycle/image/scene-tree.png b/doc/demo03_lifecycle/image/scene-tree.png new file mode 100644 index 0000000..f1d48c8 Binary files /dev/null and b/doc/demo03_lifecycle/image/scene-tree.png differ diff --git a/doc/demo03_lifecycle/image/scene-tree.png.import b/doc/demo03_lifecycle/image/scene-tree.png.import new file mode 100644 index 0000000..62cbf90 --- /dev/null +++ b/doc/demo03_lifecycle/image/scene-tree.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/scene-tree.png-8fa932e9fac3e420eeb8e8418c665405.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo03_lifecycle/image/scene-tree.png" +dest_files=[ "res://.import/scene-tree.png-8fa932e9fac3e420eeb8e8418c665405.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo03_lifecycle/lifecycle.md b/doc/demo03_lifecycle/lifecycle.md index 627c902..bbf8450 100644 --- a/doc/demo03_lifecycle/lifecycle.md +++ b/doc/demo03_lifecycle/lifecycle.md @@ -1,3 +1,4 @@ +![Image text](image/scene-tree.png) ![Image text](image/场景循环.png) ![Image text](image/场景帧.png) ![Image text](image/delta.png) diff --git a/doc/demo05_scene_node/scene_node.md b/doc/demo05_scene_node/scene_node.md index 3e5b4af..e3365a2 100644 --- a/doc/demo05_scene_node/scene_node.md +++ b/doc/demo05_scene_node/scene_node.md @@ -19,11 +19,11 @@ unity的2d坐标系虽然在左下角,但是unity的屏幕坐标系依然在 # 场景和节点 -![Image text](image/场景.png ) +![Image text](image/场景.png) ![Image text](image/节点.png) ![Image text](image/节点渲染顺序.png) -- 一个游戏可以包含多个场景,但是一个场景中必须有一个根节点,一个根节点可以包含多个不重名的子节点(unity的子节点可以同名),不同名更加符合习惯,为godot点赞。 +- 一个游戏可以包含多个场景,但是一个场景中必须有一个根节点,一个根节点可以包含多个不重名的子节点(unity的子节点可以同名),不同名更加符合习惯,为godot点赞。 # 基本组件 diff --git a/doc/demo06_collision/collision.md b/doc/demo06_collision/collision.md new file mode 100644 index 0000000..8995e19 --- /dev/null +++ b/doc/demo06_collision/collision.md @@ -0,0 +1,7 @@ +![Image text](image/collision-1.png) +![Image text](image/collision-2.png) +![Image text](image/collision-3.png) +![Image text](image/collision-4.png) +![Image text](image/collision-5.png) +![Image text](image/collision-6.png) +![Image text](image/collision-8.png) diff --git a/doc/demo06_collision/image/collision-1.png b/doc/demo06_collision/image/collision-1.png new file mode 100644 index 0000000..e08b377 Binary files /dev/null and b/doc/demo06_collision/image/collision-1.png differ diff --git a/doc/demo06_collision/image/collision-1.png.import b/doc/demo06_collision/image/collision-1.png.import new file mode 100644 index 0000000..791b914 --- /dev/null +++ b/doc/demo06_collision/image/collision-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/collision-1.png-8ac2e8e781ea7d6ed906d757f3f559e5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo06_collision/image/collision-1.png" +dest_files=[ "res://.import/collision-1.png-8ac2e8e781ea7d6ed906d757f3f559e5.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo06_collision/image/collision-2.png b/doc/demo06_collision/image/collision-2.png new file mode 100644 index 0000000..c9733ee Binary files /dev/null and b/doc/demo06_collision/image/collision-2.png differ diff --git a/doc/demo06_collision/image/collision-2.png.import b/doc/demo06_collision/image/collision-2.png.import new file mode 100644 index 0000000..f9a9a20 --- /dev/null +++ b/doc/demo06_collision/image/collision-2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/collision-2.png-fc899c991f2c8fb46de93d84c1534870.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo06_collision/image/collision-2.png" +dest_files=[ "res://.import/collision-2.png-fc899c991f2c8fb46de93d84c1534870.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo06_collision/image/collision-3.png b/doc/demo06_collision/image/collision-3.png new file mode 100644 index 0000000..36d9a57 Binary files /dev/null and b/doc/demo06_collision/image/collision-3.png differ diff --git a/doc/demo06_collision/image/collision-3.png.import b/doc/demo06_collision/image/collision-3.png.import new file mode 100644 index 0000000..391575a --- /dev/null +++ b/doc/demo06_collision/image/collision-3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/collision-3.png-5b84cad579cdb808018a87e7e2da0ece.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo06_collision/image/collision-3.png" +dest_files=[ "res://.import/collision-3.png-5b84cad579cdb808018a87e7e2da0ece.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo06_collision/image/collision-4.png b/doc/demo06_collision/image/collision-4.png new file mode 100644 index 0000000..7b8f739 Binary files /dev/null and b/doc/demo06_collision/image/collision-4.png differ diff --git a/doc/demo06_collision/image/collision-4.png.import b/doc/demo06_collision/image/collision-4.png.import new file mode 100644 index 0000000..274b424 --- /dev/null +++ b/doc/demo06_collision/image/collision-4.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/collision-4.png-8abde2684cb4a6da72469d58ba07777e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo06_collision/image/collision-4.png" +dest_files=[ "res://.import/collision-4.png-8abde2684cb4a6da72469d58ba07777e.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo06_collision/image/collision-5.png b/doc/demo06_collision/image/collision-5.png new file mode 100644 index 0000000..b6fc5a3 Binary files /dev/null and b/doc/demo06_collision/image/collision-5.png differ diff --git a/doc/demo06_collision/image/collision-5.png.import b/doc/demo06_collision/image/collision-5.png.import new file mode 100644 index 0000000..0802df5 --- /dev/null +++ b/doc/demo06_collision/image/collision-5.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/collision-5.png-2653efac990cee63d2b2622d0247d2f2.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo06_collision/image/collision-5.png" +dest_files=[ "res://.import/collision-5.png-2653efac990cee63d2b2622d0247d2f2.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo06_collision/image/collision-6.png b/doc/demo06_collision/image/collision-6.png new file mode 100644 index 0000000..85c9eaf Binary files /dev/null and b/doc/demo06_collision/image/collision-6.png differ diff --git a/doc/demo06_collision/image/collision-6.png.import b/doc/demo06_collision/image/collision-6.png.import new file mode 100644 index 0000000..34b6f9b --- /dev/null +++ b/doc/demo06_collision/image/collision-6.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/collision-6.png-c0917cd6d905b0263e6add598db75898.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo06_collision/image/collision-6.png" +dest_files=[ "res://.import/collision-6.png-c0917cd6d905b0263e6add598db75898.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo06_collision/image/collision-8.png b/doc/demo06_collision/image/collision-8.png new file mode 100644 index 0000000..82edc2f Binary files /dev/null and b/doc/demo06_collision/image/collision-8.png differ diff --git a/doc/demo06_collision/image/collision-8.png.import b/doc/demo06_collision/image/collision-8.png.import new file mode 100644 index 0000000..26b4d32 --- /dev/null +++ b/doc/demo06_collision/image/collision-8.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/collision-8.png-c887b4e45e60a6b1517bfed5cb3258c7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo06_collision/image/collision-8.png" +dest_files=[ "res://.import/collision-8.png-c887b4e45e60a6b1517bfed5cb3258c7.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/scheduler/SchedulerBus.gd b/scheduler/SchedulerBus.gd new file mode 100644 index 0000000..1eccaec --- /dev/null +++ b/scheduler/SchedulerBus.gd @@ -0,0 +1,16 @@ +extends Node + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass