pull/2/head
jaysunxiao 2021-10-07 23:47:42 +08:00
parent 7725e22c90
commit 5ab0da989e
60 changed files with 938 additions and 12 deletions

View File

@ -25,7 +25,7 @@ ue虽然开源源代码但是代码量太大历史包袱太重不适合
```
- 自己能够本地编译godot源代码成就感爆棚
- unity用多了你会感觉自己就是个脚本小子
-
```
使用godot你既可以用GDScript去编写代码也可以用C++去编写代码,还可以去改底层引擎代码

View File

@ -13,3 +13,7 @@
- AnimationPlayer是时间和属性的变化是一种动画的表现
- AnimatedSprite是序列帧的简便的用法
![Image text](image/animated1.png)
![Image text](image/animated2.png)
![Image text](image/animated3.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/animated1.png-a0e1a80f3d66eaf2c25a0b497afdf390.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo10_animation/image/animated1.png"
dest_files=[ "res://.import/animated1.png-a0e1a80f3d66eaf2c25a0b497afdf390.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/animated2.png-a34931f509c8409a67486979097520ee.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo10_animation/image/animated2.png"
dest_files=[ "res://.import/animated2.png-a34931f509c8409a67486979097520ee.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/animated3.png-da9855f968cadee89a9f76dcbdba4464.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo10_animation/image/animated3.png"
dest_files=[ "res://.import/animated3.png-da9855f968cadee89a9f76dcbdba4464.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

21
doc/demo15_audio/audio.md Normal file
View File

@ -0,0 +1,21 @@
![Image text](image/audio1.png)
![Image text](image/audio2.png)
![Image text](image/audio3.png)
![Image text](image/audio4.png)
![Image text](image/audio5.png)
![Image text](image/audio6.png)
![Image text](image/audio7.png)
![Image text](image/audio8.png)
![Image text](image/audio9.png)
![Image text](image/audio10.png)
![Image text](image/audio11.png)
![Image text](image/audio12.png)
![Image text](image/audio13.png)
![Image text](image/audio14.png)
![Image text](image/audio15.png)
![Image text](image/audio16.png)
![Image text](image/audio17.png)
![Image text](image/audio18.png)
![Image text](image/audio19.png)
![Image text](image/audio21.png)
![Image text](image/audio22.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio1.png-593baa1ee58234088b2575ed40344921.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio1.png"
dest_files=[ "res://.import/audio1.png-593baa1ee58234088b2575ed40344921.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio10.png-658cd70b4cb726abf90f93d3d7648f58.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio10.png"
dest_files=[ "res://.import/audio10.png-658cd70b4cb726abf90f93d3d7648f58.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio11.png-92a16a7ed49f127f624fb11f53768978.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio11.png"
dest_files=[ "res://.import/audio11.png-92a16a7ed49f127f624fb11f53768978.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio12.png-5ecab9ad5faf697750267c1ab8935fb2.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio12.png"
dest_files=[ "res://.import/audio12.png-5ecab9ad5faf697750267c1ab8935fb2.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio13.png-3f1d5257b6eb191947f5fe0725f1a528.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio13.png"
dest_files=[ "res://.import/audio13.png-3f1d5257b6eb191947f5fe0725f1a528.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio14.png-59bae2b82831079b70911fe5e133c432.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio14.png"
dest_files=[ "res://.import/audio14.png-59bae2b82831079b70911fe5e133c432.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio15.png-5116d6c8b24f080ae9c2a4e61a993da5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio15.png"
dest_files=[ "res://.import/audio15.png-5116d6c8b24f080ae9c2a4e61a993da5.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio16.png-aecfaf2563fb90d731c73ca0cb658eca.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio16.png"
dest_files=[ "res://.import/audio16.png-aecfaf2563fb90d731c73ca0cb658eca.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio17.png-94877037e05b8fa3a4bf422a0ac656dd.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio17.png"
dest_files=[ "res://.import/audio17.png-94877037e05b8fa3a4bf422a0ac656dd.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio18.png-af4c6bd16fe113fa5915ecffb84dae3c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio18.png"
dest_files=[ "res://.import/audio18.png-af4c6bd16fe113fa5915ecffb84dae3c.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio19.png-aa314399e10a290b0286a2dd2e77ea67.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio19.png"
dest_files=[ "res://.import/audio19.png-aa314399e10a290b0286a2dd2e77ea67.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio2.png-74b1c8403929e0e44419c366d3b64f50.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio2.png"
dest_files=[ "res://.import/audio2.png-74b1c8403929e0e44419c366d3b64f50.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio20.png-37e7df8abcda25aa01d5813a32cc790d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio20.png"
dest_files=[ "res://.import/audio20.png-37e7df8abcda25aa01d5813a32cc790d.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio21.png-428f1adcf19337836ef613a2f307835e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio21.png"
dest_files=[ "res://.import/audio21.png-428f1adcf19337836ef613a2f307835e.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio22.png-955c3c33b49d6f81e6c0ef315b91796e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio22.png"
dest_files=[ "res://.import/audio22.png-955c3c33b49d6f81e6c0ef315b91796e.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio3.png-115f8d04818f07e03048c58a0e8dfa12.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio3.png"
dest_files=[ "res://.import/audio3.png-115f8d04818f07e03048c58a0e8dfa12.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio4.png-98aed9a01e43478144a19c862e2b704f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio4.png"
dest_files=[ "res://.import/audio4.png-98aed9a01e43478144a19c862e2b704f.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio5.png-b66b6ad73b9f2c4254c6c9f3f549134e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio5.png"
dest_files=[ "res://.import/audio5.png-b66b6ad73b9f2c4254c6c9f3f549134e.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio6.png-8cbfed7c6cd873e4186ee81bce0bee52.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio6.png"
dest_files=[ "res://.import/audio6.png-8cbfed7c6cd873e4186ee81bce0bee52.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio7.png-996bfbbffec2d8e992933ce9d03fc10d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio7.png"
dest_files=[ "res://.import/audio7.png-996bfbbffec2d8e992933ce9d03fc10d.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio8.png-ea429c29d33fa38ad58836ea74dbebf5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio8.png"
dest_files=[ "res://.import/audio8.png-ea429c29d33fa38ad58836ea74dbebf5.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/audio9.png-b8bcaf3bed55f819e2521f8bf7f6cdc2.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://doc/demo15_audio/image/audio9.png"
dest_files=[ "res://.import/audio9.png-b8bcaf3bed55f819e2521f8bf7f6cdc2.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

View File

@ -112,7 +112,7 @@ texture = ExtResource( 4 )
[node name="Animation_3" type="Node2D" parent="."]
[node name="icon" type="Sprite" parent="Animation_3"]
position = Vector2( 317.477, 302.72 )
position = Vector2( 966.209, 326.747 )
texture = ExtResource( 4 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Animation_3"]
@ -126,7 +126,6 @@ position = Vector2( 319.802, 425.747 )
scale = Vector2( 1.86179, 1.57452 )
texture = ExtResource( 6 )
hframes = 60
frame = 5
[node name="AnimationPlayer" type="AnimationPlayer" parent="Animation_4"]
autoplay = "animation_2"
@ -140,7 +139,7 @@ __meta__ = {
[node name="AnimatedSprite" type="AnimatedSprite" parent="Animation_5"]
frames = SubResource( 3 )
frame = 7
frame = 5
playing = true
[connection signal="timeout" from="Animation_1/Sprite/Timer" to="Animation_1/Sprite" method="_on_Timer_timeout"]

Binary file not shown.

View File

@ -0,0 +1,15 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
path="res://.import/Follow Me - Andrew Langdon.mp3-208cd3bb30a229567f90fba5350fdc21.mp3str"
[deps]
source_file="res://scene/demo15_audio/audio/Follow Me - Andrew Langdon.mp3"
dest_files=[ "res://.import/Follow Me - Andrew Langdon.mp3-208cd3bb30a229567f90fba5350fdc21.mp3str" ]
[params]
loop=true
loop_offset=0

View File

@ -0,0 +1,9 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://scene/demo15_audio/audio/Follow Me - Andrew Langdon.mp3" type="AudioStream" id=1]
[node name="Node2D" type="Node2D"]
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 1 )
autoplay = true

View File

@ -0,0 +1,35 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://scene/demo15_audio/audio/Follow Me - Andrew Langdon.mp3" type="AudioStream" id=1]
[sub_resource type="Animation" id=1]
resource_name = "music"
length = 10.0
loop = true
tracks/0/type = "audio"
tracks/0/path = NodePath("AudioStreamPlayer")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"clips": [ {
"end_offset": 0.0,
"start_offset": 12.0,
"stream": ExtResource( 1 )
}, {
"end_offset": 0.0,
"start_offset": 0.0,
"stream": null
} ],
"times": PoolRealArray( 0, 10.1 )
}
[node name="Node2D" type="Node2D"]
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "music"
anims/music = SubResource( 1 )

View File

@ -1,13 +1,6 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=2 format=2]
[ext_resource path="res://script/demo_test/demoTest.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[node name="Node2D" type="Node2D"]
script = ExtResource( 1 )
[node name="icon" type="Sprite" parent="."]
position = Vector2( 958.772, 540.059 )
texture = ExtResource( 2 )
[node name="Node2D" type="Node2D" parent="."]