diff --git a/doc/demo10_animation/animation.md b/doc/demo10_animation/animation.md index 96fe101..661af09 100644 --- a/doc/demo10_animation/animation.md +++ b/doc/demo10_animation/animation.md @@ -1,3 +1,12 @@ +- sprite + +``` +上世纪70年代,在德州电器公司,一个叫Daniel Hillis的前辈最早把Sprite这个词用在计算机图形上,在展示界面上, +有一些东西在实现层面并不是和整个画面融为一体的,而是『漂浮』在其他画面之上,像『幽灵』一样,所以被称为Sprite。 + +一张一张的图片组成了一个会动的精灵 +``` + ![Image text](image/animation1.png) ![Image text](image/animation2.png) ![Image text](image/animation3.png) diff --git a/doc/demo11_particle_light/image/particle1.png b/doc/demo11_particle_light/image/particle1.png new file mode 100644 index 0000000..8198bfa Binary files /dev/null and b/doc/demo11_particle_light/image/particle1.png differ diff --git a/doc/demo11_particle_light/image/particle1.png.import b/doc/demo11_particle_light/image/particle1.png.import new file mode 100644 index 0000000..7fcce52 --- /dev/null +++ b/doc/demo11_particle_light/image/particle1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle1.png-3bd4f8d301341007ca330deadd8c8dde.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle1.png" +dest_files=[ "res://.import/particle1.png-3bd4f8d301341007ca330deadd8c8dde.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/demo11_particle_light/image/particle10.png b/doc/demo11_particle_light/image/particle10.png new file mode 100644 index 0000000..d5448fc Binary files /dev/null and b/doc/demo11_particle_light/image/particle10.png differ diff --git a/doc/demo11_particle_light/image/particle10.png.import b/doc/demo11_particle_light/image/particle10.png.import new file mode 100644 index 0000000..2a608b1 --- /dev/null +++ b/doc/demo11_particle_light/image/particle10.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle10.png-1e78b300d0f4a0f0f885fa87e0f4e1ad.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle10.png" +dest_files=[ "res://.import/particle10.png-1e78b300d0f4a0f0f885fa87e0f4e1ad.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/demo11_particle_light/image/particle11.png b/doc/demo11_particle_light/image/particle11.png new file mode 100644 index 0000000..7faab4b Binary files /dev/null and b/doc/demo11_particle_light/image/particle11.png differ diff --git a/doc/demo11_particle_light/image/particle11.png.import b/doc/demo11_particle_light/image/particle11.png.import new file mode 100644 index 0000000..173c196 --- /dev/null +++ b/doc/demo11_particle_light/image/particle11.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle11.png-c56e7f3276777afde4c187bb61147308.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle11.png" +dest_files=[ "res://.import/particle11.png-c56e7f3276777afde4c187bb61147308.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/demo11_particle_light/image/particle12.png b/doc/demo11_particle_light/image/particle12.png new file mode 100644 index 0000000..f0216f7 Binary files /dev/null and b/doc/demo11_particle_light/image/particle12.png differ diff --git a/doc/demo11_particle_light/image/particle12.png.import b/doc/demo11_particle_light/image/particle12.png.import new file mode 100644 index 0000000..8d7645b --- /dev/null +++ b/doc/demo11_particle_light/image/particle12.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle12.png-175f7f805edd03b61ec06dedab71b973.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle12.png" +dest_files=[ "res://.import/particle12.png-175f7f805edd03b61ec06dedab71b973.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/demo11_particle_light/image/particle13.png b/doc/demo11_particle_light/image/particle13.png new file mode 100644 index 0000000..7455db0 Binary files /dev/null and b/doc/demo11_particle_light/image/particle13.png differ diff --git a/doc/demo11_particle_light/image/particle13.png.import b/doc/demo11_particle_light/image/particle13.png.import new file mode 100644 index 0000000..523f99b --- /dev/null +++ b/doc/demo11_particle_light/image/particle13.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle13.png-5aecb5a50a1db2fff63d18325146f687.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle13.png" +dest_files=[ "res://.import/particle13.png-5aecb5a50a1db2fff63d18325146f687.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/demo11_particle_light/image/particle14.png b/doc/demo11_particle_light/image/particle14.png new file mode 100644 index 0000000..1455159 Binary files /dev/null and b/doc/demo11_particle_light/image/particle14.png differ diff --git a/doc/demo11_particle_light/image/particle14.png.import b/doc/demo11_particle_light/image/particle14.png.import new file mode 100644 index 0000000..292e80e --- /dev/null +++ b/doc/demo11_particle_light/image/particle14.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle14.png-dd9d70515563d0d81431f2100497ebc5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle14.png" +dest_files=[ "res://.import/particle14.png-dd9d70515563d0d81431f2100497ebc5.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/demo11_particle_light/image/particle15.png b/doc/demo11_particle_light/image/particle15.png new file mode 100644 index 0000000..40aa49b Binary files /dev/null and b/doc/demo11_particle_light/image/particle15.png differ diff --git a/doc/demo11_particle_light/image/particle15.png.import b/doc/demo11_particle_light/image/particle15.png.import new file mode 100644 index 0000000..6f06c41 --- /dev/null +++ b/doc/demo11_particle_light/image/particle15.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle15.png-dc89c5e6da2ee4e36db17e7ec2ebcfeb.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle15.png" +dest_files=[ "res://.import/particle15.png-dc89c5e6da2ee4e36db17e7ec2ebcfeb.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/demo11_particle_light/image/particle16.png b/doc/demo11_particle_light/image/particle16.png new file mode 100644 index 0000000..714fea1 Binary files /dev/null and b/doc/demo11_particle_light/image/particle16.png differ diff --git a/doc/demo11_particle_light/image/particle16.png.import b/doc/demo11_particle_light/image/particle16.png.import new file mode 100644 index 0000000..71f6f9c --- /dev/null +++ b/doc/demo11_particle_light/image/particle16.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle16.png-728d98d0b7b9f0fbc1b9b27c4d4bc27b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle16.png" +dest_files=[ "res://.import/particle16.png-728d98d0b7b9f0fbc1b9b27c4d4bc27b.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/demo11_particle_light/image/particle17.png b/doc/demo11_particle_light/image/particle17.png new file mode 100644 index 0000000..712b48d Binary files /dev/null and b/doc/demo11_particle_light/image/particle17.png differ diff --git a/doc/demo11_particle_light/image/particle17.png.import b/doc/demo11_particle_light/image/particle17.png.import new file mode 100644 index 0000000..803e543 --- /dev/null +++ b/doc/demo11_particle_light/image/particle17.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle17.png-603d1a1a4d07632da8ea1c0aa305350f.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle17.png" +dest_files=[ "res://.import/particle17.png-603d1a1a4d07632da8ea1c0aa305350f.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/demo11_particle_light/image/particle18.png b/doc/demo11_particle_light/image/particle18.png new file mode 100644 index 0000000..24fcf5d Binary files /dev/null and b/doc/demo11_particle_light/image/particle18.png differ diff --git a/doc/demo11_particle_light/image/particle18.png.import b/doc/demo11_particle_light/image/particle18.png.import new file mode 100644 index 0000000..cce3813 --- /dev/null +++ b/doc/demo11_particle_light/image/particle18.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle18.png-50a15906aee4a85d7b4afa463d8eb693.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle18.png" +dest_files=[ "res://.import/particle18.png-50a15906aee4a85d7b4afa463d8eb693.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/demo11_particle_light/image/particle19.png b/doc/demo11_particle_light/image/particle19.png new file mode 100644 index 0000000..e0a16f4 Binary files /dev/null and b/doc/demo11_particle_light/image/particle19.png differ diff --git a/doc/demo11_particle_light/image/particle19.png.import b/doc/demo11_particle_light/image/particle19.png.import new file mode 100644 index 0000000..0e3c3b3 --- /dev/null +++ b/doc/demo11_particle_light/image/particle19.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle19.png-343c55e0cc403d53c9489c0fd0ee7bb8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle19.png" +dest_files=[ "res://.import/particle19.png-343c55e0cc403d53c9489c0fd0ee7bb8.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/demo11_particle_light/image/particle2.png b/doc/demo11_particle_light/image/particle2.png new file mode 100644 index 0000000..a386633 Binary files /dev/null and b/doc/demo11_particle_light/image/particle2.png differ diff --git a/doc/demo11_particle_light/image/particle2.png.import b/doc/demo11_particle_light/image/particle2.png.import new file mode 100644 index 0000000..39106a5 --- /dev/null +++ b/doc/demo11_particle_light/image/particle2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle2.png-a0b17c03f087f692be4705c0a9ee55db.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle2.png" +dest_files=[ "res://.import/particle2.png-a0b17c03f087f692be4705c0a9ee55db.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/demo11_particle_light/image/particle20.png b/doc/demo11_particle_light/image/particle20.png new file mode 100644 index 0000000..e631be0 Binary files /dev/null and b/doc/demo11_particle_light/image/particle20.png differ diff --git a/doc/demo11_particle_light/image/particle20.png.import b/doc/demo11_particle_light/image/particle20.png.import new file mode 100644 index 0000000..4847ca5 --- /dev/null +++ b/doc/demo11_particle_light/image/particle20.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle20.png-c1a155770085be08cf04d4c26a6c0f58.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle20.png" +dest_files=[ "res://.import/particle20.png-c1a155770085be08cf04d4c26a6c0f58.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/demo11_particle_light/image/particle21.png b/doc/demo11_particle_light/image/particle21.png new file mode 100644 index 0000000..ee6e270 Binary files /dev/null and b/doc/demo11_particle_light/image/particle21.png differ diff --git a/doc/demo11_particle_light/image/particle21.png.import b/doc/demo11_particle_light/image/particle21.png.import new file mode 100644 index 0000000..fd8b305 --- /dev/null +++ b/doc/demo11_particle_light/image/particle21.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle21.png-86e5e26e9f9ba08c0935e23080d5c4d6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle21.png" +dest_files=[ "res://.import/particle21.png-86e5e26e9f9ba08c0935e23080d5c4d6.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/demo11_particle_light/image/particle22.png b/doc/demo11_particle_light/image/particle22.png new file mode 100644 index 0000000..a178ae9 Binary files /dev/null and b/doc/demo11_particle_light/image/particle22.png differ diff --git a/doc/demo11_particle_light/image/particle22.png.import b/doc/demo11_particle_light/image/particle22.png.import new file mode 100644 index 0000000..c1e00f1 --- /dev/null +++ b/doc/demo11_particle_light/image/particle22.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle22.png-70d02bd060256b5e19cf68ce155ede1a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle22.png" +dest_files=[ "res://.import/particle22.png-70d02bd060256b5e19cf68ce155ede1a.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/demo11_particle_light/image/particle23.png b/doc/demo11_particle_light/image/particle23.png new file mode 100644 index 0000000..9a21cdb Binary files /dev/null and b/doc/demo11_particle_light/image/particle23.png differ diff --git a/doc/demo11_particle_light/image/particle23.png.import b/doc/demo11_particle_light/image/particle23.png.import new file mode 100644 index 0000000..939a308 --- /dev/null +++ b/doc/demo11_particle_light/image/particle23.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle23.png-78c9daa08d698fbcdb58f200bc01e624.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle23.png" +dest_files=[ "res://.import/particle23.png-78c9daa08d698fbcdb58f200bc01e624.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/demo11_particle_light/image/particle24.png b/doc/demo11_particle_light/image/particle24.png new file mode 100644 index 0000000..acc3e64 Binary files /dev/null and b/doc/demo11_particle_light/image/particle24.png differ diff --git a/doc/demo11_particle_light/image/particle24.png.import b/doc/demo11_particle_light/image/particle24.png.import new file mode 100644 index 0000000..34bd3dc --- /dev/null +++ b/doc/demo11_particle_light/image/particle24.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle24.png-71b9b5951bff895fc84a3d16fd703614.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle24.png" +dest_files=[ "res://.import/particle24.png-71b9b5951bff895fc84a3d16fd703614.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/demo11_particle_light/image/particle25.png b/doc/demo11_particle_light/image/particle25.png new file mode 100644 index 0000000..df948b4 Binary files /dev/null and b/doc/demo11_particle_light/image/particle25.png differ diff --git a/doc/demo11_particle_light/image/particle25.png.import b/doc/demo11_particle_light/image/particle25.png.import new file mode 100644 index 0000000..467aadc --- /dev/null +++ b/doc/demo11_particle_light/image/particle25.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle25.png-a40df304252a0fa72cd423a7eb7e4135.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle25.png" +dest_files=[ "res://.import/particle25.png-a40df304252a0fa72cd423a7eb7e4135.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/demo11_particle_light/image/particle26.png b/doc/demo11_particle_light/image/particle26.png new file mode 100644 index 0000000..060b4bc Binary files /dev/null and b/doc/demo11_particle_light/image/particle26.png differ diff --git a/doc/demo11_particle_light/image/particle26.png.import b/doc/demo11_particle_light/image/particle26.png.import new file mode 100644 index 0000000..5efd5f2 --- /dev/null +++ b/doc/demo11_particle_light/image/particle26.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle26.png-eb593fbaa3603de47e6873d0b1bcae85.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle26.png" +dest_files=[ "res://.import/particle26.png-eb593fbaa3603de47e6873d0b1bcae85.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/demo11_particle_light/image/particle27.png b/doc/demo11_particle_light/image/particle27.png new file mode 100644 index 0000000..9d739a5 Binary files /dev/null and b/doc/demo11_particle_light/image/particle27.png differ diff --git a/doc/demo11_particle_light/image/particle27.png.import b/doc/demo11_particle_light/image/particle27.png.import new file mode 100644 index 0000000..6fd6c85 --- /dev/null +++ b/doc/demo11_particle_light/image/particle27.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle27.png-8c8ba2f3d4117a0ff58a73264fba3bcb.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle27.png" +dest_files=[ "res://.import/particle27.png-8c8ba2f3d4117a0ff58a73264fba3bcb.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/demo11_particle_light/image/particle3.png b/doc/demo11_particle_light/image/particle3.png new file mode 100644 index 0000000..bbeb02a Binary files /dev/null and b/doc/demo11_particle_light/image/particle3.png differ diff --git a/doc/demo11_particle_light/image/particle3.png.import b/doc/demo11_particle_light/image/particle3.png.import new file mode 100644 index 0000000..3464c7a --- /dev/null +++ b/doc/demo11_particle_light/image/particle3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle3.png-13a595178d125cdd8235004b99751ae4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle3.png" +dest_files=[ "res://.import/particle3.png-13a595178d125cdd8235004b99751ae4.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/demo11_particle_light/image/particle4.png b/doc/demo11_particle_light/image/particle4.png new file mode 100644 index 0000000..d81e5aa Binary files /dev/null and b/doc/demo11_particle_light/image/particle4.png differ diff --git a/doc/demo11_particle_light/image/particle4.png.import b/doc/demo11_particle_light/image/particle4.png.import new file mode 100644 index 0000000..054ffb9 --- /dev/null +++ b/doc/demo11_particle_light/image/particle4.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle4.png-7543ac5d949a379605f60f52ca110c90.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle4.png" +dest_files=[ "res://.import/particle4.png-7543ac5d949a379605f60f52ca110c90.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/demo11_particle_light/image/particle5.png b/doc/demo11_particle_light/image/particle5.png new file mode 100644 index 0000000..e5c2bdc Binary files /dev/null and b/doc/demo11_particle_light/image/particle5.png differ diff --git a/doc/demo11_particle_light/image/particle5.png.import b/doc/demo11_particle_light/image/particle5.png.import new file mode 100644 index 0000000..8b4aa62 --- /dev/null +++ b/doc/demo11_particle_light/image/particle5.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle5.png-02b972c685893c4493907b50d856ba4a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle5.png" +dest_files=[ "res://.import/particle5.png-02b972c685893c4493907b50d856ba4a.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/demo11_particle_light/image/particle6.png b/doc/demo11_particle_light/image/particle6.png new file mode 100644 index 0000000..324acfd Binary files /dev/null and b/doc/demo11_particle_light/image/particle6.png differ diff --git a/doc/demo11_particle_light/image/particle6.png.import b/doc/demo11_particle_light/image/particle6.png.import new file mode 100644 index 0000000..5cd777b --- /dev/null +++ b/doc/demo11_particle_light/image/particle6.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle6.png-3e0070e19587a78d06af0939512a2101.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle6.png" +dest_files=[ "res://.import/particle6.png-3e0070e19587a78d06af0939512a2101.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/demo11_particle_light/image/particle7.png b/doc/demo11_particle_light/image/particle7.png new file mode 100644 index 0000000..d822edd Binary files /dev/null and b/doc/demo11_particle_light/image/particle7.png differ diff --git a/doc/demo11_particle_light/image/particle7.png.import b/doc/demo11_particle_light/image/particle7.png.import new file mode 100644 index 0000000..53fc007 --- /dev/null +++ b/doc/demo11_particle_light/image/particle7.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle7.png-bbf6489b065e3a692cad4bb7ee7f06f5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle7.png" +dest_files=[ "res://.import/particle7.png-bbf6489b065e3a692cad4bb7ee7f06f5.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/demo11_particle_light/image/particle8.png b/doc/demo11_particle_light/image/particle8.png new file mode 100644 index 0000000..f998d86 Binary files /dev/null and b/doc/demo11_particle_light/image/particle8.png differ diff --git a/doc/demo11_particle_light/image/particle8.png.import b/doc/demo11_particle_light/image/particle8.png.import new file mode 100644 index 0000000..5b975ef --- /dev/null +++ b/doc/demo11_particle_light/image/particle8.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle8.png-13e8affe5a674d0d90dd4d80cae09f61.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle8.png" +dest_files=[ "res://.import/particle8.png-13e8affe5a674d0d90dd4d80cae09f61.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/demo11_particle_light/image/particle9.png b/doc/demo11_particle_light/image/particle9.png new file mode 100644 index 0000000..dd72986 Binary files /dev/null and b/doc/demo11_particle_light/image/particle9.png differ diff --git a/doc/demo11_particle_light/image/particle9.png.import b/doc/demo11_particle_light/image/particle9.png.import new file mode 100644 index 0000000..8ff1306 --- /dev/null +++ b/doc/demo11_particle_light/image/particle9.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/particle9.png-a9e465dd75bfc157fdcf3fdda7793236.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo11_particle_light/image/particle9.png" +dest_files=[ "res://.import/particle9.png-a9e465dd75bfc157fdcf3fdda7793236.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/demo11_particle_light/particle.md b/doc/demo11_particle_light/particle.md new file mode 100644 index 0000000..fe2119e --- /dev/null +++ b/doc/demo11_particle_light/particle.md @@ -0,0 +1,27 @@ +![Image text](image/particle1.png) +![Image text](image/particle2.png) +![Image text](image/particle3.png) +![Image text](image/particle4.png) +![Image text](image/particle5.png) +![Image text](image/particle6.png) +![Image text](image/particle7.png) +![Image text](image/particle8.png) +![Image text](image/particle9.png) +![Image text](image/particle10.png) +![Image text](image/particle11.png) +![Image text](image/particle12.png) +![Image text](image/particle13.png) +![Image text](image/particle14.png) +![Image text](image/particle15.png) +![Image text](image/particle16.png) +![Image text](image/particle17.png) +![Image text](image/particle18.png) +![Image text](image/particle19.png) +![Image text](image/particle20.png) +![Image text](image/particle21.png) +![Image text](image/particle22.png) +![Image text](image/particle23.png) +![Image text](image/particle24.png) +![Image text](image/particle25.png) +![Image text](image/particle26.png) +![Image text](image/particle27.png) \ No newline at end of file diff --git a/scene/demo11_particle_light/image/white_square.png b/scene/demo11_particle_light/image/white_square.png new file mode 100644 index 0000000..45cdbe5 Binary files /dev/null and b/scene/demo11_particle_light/image/white_square.png differ diff --git a/scene/demo11_particle_light/image/white_square.png.import b/scene/demo11_particle_light/image/white_square.png.import new file mode 100644 index 0000000..5ebcf1e --- /dev/null +++ b/scene/demo11_particle_light/image/white_square.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/white_square.png-1bf12a3951ac2e8d713316b3f8f54ac1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://scene/demo11_particle_light/image/white_square.png" +dest_files=[ "res://.import/white_square.png-1bf12a3951ac2e8d713316b3f8f54ac1.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/scene/demo11_particle_light/light.tscn b/scene/demo11_particle_light/light.tscn new file mode 100644 index 0000000..79c1b04 --- /dev/null +++ b/scene/demo11_particle_light/light.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://scene/demo11_particle_light/image/white_square.png" type="Texture" id=1] + +[node name="Node2D" type="Node2D"] + +[node name="SpriteWhite1" type="Sprite" parent="."] +modulate = Color( 0.180392, 0.501961, 0.388235, 1 ) +position = Vector2( 158.801, 162.168 ) +scale = Vector2( 0.33008, 0.33008 ) +texture = ExtResource( 1 ) + +[node name="SpriteWhite2" type="Sprite" parent="."] +modulate = Color( 0.568627, 0.239216, 0.239216, 1 ) +position = Vector2( 388.318, 165.736 ) +scale = Vector2( 0.33008, 0.33008 ) +texture = ExtResource( 1 ) + +[node name="SpriteWhite3" type="Sprite" parent="."] +modulate = Color( 0.109804, 0.0784314, 0.482353, 1 ) +position = Vector2( 671.349, 157.411 ) +scale = Vector2( 0.33008, 0.33008 ) +texture = ExtResource( 1 ) + +[node name="Light2D" type="Light2D" parent="."] +position = Vector2( 537.522, 221.192 ) +scale = Vector2( 3.52112, 0.96036 ) +texture = ExtResource( 1 ) diff --git a/scene/demo11_particle_light/occlude.tscn b/scene/demo11_particle_light/occlude.tscn new file mode 100644 index 0000000..147ec4c --- /dev/null +++ b/scene/demo11_particle_light/occlude.tscn @@ -0,0 +1,40 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://scene/demo11_particle_light/image/white_square.png" type="Texture" id=1] +[ext_resource path="res://icon.png" type="Texture" id=2] + +[sub_resource type="OccluderPolygon2D" id=1] +polygon = PoolVector2Array( -149.743, -150.861, -148.283, 150.259, 150.348, 150.259, 150.348, -151.244 ) + +[node name="Node2D" type="Node2D"] + +[node name="Background" type="Sprite" parent="."] +modulate = Color( 0.427451, 0.392157, 0.392157, 1 ) +light_mask = 3 +position = Vector2( 514.927, 190.273 ) +scale = Vector2( 3, 100 ) +texture = ExtResource( 1 ) + +[node name="Shadow" type="Sprite" parent="."] +modulate = Color( 0.490196, 0.0509804, 0.541176, 1 ) +position = Vector2( 478.061, 140.326 ) +scale = Vector2( 0.31026, 0.31026 ) +texture = ExtResource( 1 ) + +[node name="LightOccluder2D" type="LightOccluder2D" parent="Shadow"] +light_mask = 2 +occluder = SubResource( 1 ) +light_mask = 2 + +[node name="Light" type="Sprite" parent="."] +position = Vector2( 462.666, 380.919 ) +texture = ExtResource( 2 ) +__meta__ = { +"_edit_group_": true +} + +[node name="Light2D" type="Light2D" parent="Light"] +scale = Vector2( 10, 10 ) +texture = ExtResource( 1 ) +shadow_enabled = true +shadow_item_cull_mask = 2 diff --git a/scene/demo11_particle_light/particle1.tscn b/scene/demo11_particle_light/particle1.tscn new file mode 100644 index 0000000..f8a8b30 --- /dev/null +++ b/scene/demo11_particle_light/particle1.tscn @@ -0,0 +1,37 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://scene/demo11_particle_light/image/white_square.png" type="Texture" id=1] + +[sub_resource type="Gradient" id=1] +colors = PoolColorArray( 0.29541, 0.150013, 0.150013, 1, 0.682129, 0.167868, 0.167868, 1 ) + +[sub_resource type="GradientTexture" id=2] +gradient = SubResource( 1 ) + +[sub_resource type="Curve" id=3] +_data = [ Vector2( 0.0592105, 0.263636 ), 0.0, 0.0, 0, 0, Vector2( 0.532895, 0.745454 ), 0.0, 0.0, 0, 0, Vector2( 0.967105, 0.327273 ), 0.0, 0.0, 0, 0 ] + +[sub_resource type="CurveTexture" id=4] +curve = SubResource( 3 ) + +[sub_resource type="ParticlesMaterial" id=5] +flag_disable_z = true +direction = Vector3( 0, -1, 0 ) +spread = 10.0 +gravity = Vector3( 0, 0, 0 ) +initial_velocity = 441.86 +angular_velocity = 200.93 +orbit_velocity = 0.0 +orbit_velocity_random = 0.0 +scale = 0.2 +scale_random = 0.36 +scale_curve = SubResource( 4 ) +color_ramp = SubResource( 2 ) + +[node name="Node2D" type="Node2D"] + +[node name="Particles2D" type="Particles2D" parent="."] +position = Vector2( 433.903, 489.402 ) +amount = 20 +process_material = SubResource( 5 ) +texture = ExtResource( 1 )