diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-06-03 10:30:38 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-06-03 10:30:38 -0300 |
commit | c7d45ec085086ab86192a7890b9622320d57b89d (patch) | |
tree | 0a764a6a2b7bded960a652c81a4b5a6815dd3c31 /demos/2d/light_mask | |
parent | f9af57f3bdb16e015ee10b979fe18cf2195077f9 (diff) |
Removed demos
they go to their own project now
Diffstat (limited to 'demos/2d/light_mask')
-rw-r--r-- | demos/2d/light_mask/burano.png | bin | 974437 -> 0 bytes | |||
-rw-r--r-- | demos/2d/light_mask/engine.cfg | 9 | ||||
-rw-r--r-- | demos/2d/light_mask/icon.png | bin | 6285 -> 0 bytes | |||
-rw-r--r-- | demos/2d/light_mask/lightmask.tscn | 134 | ||||
-rw-r--r-- | demos/2d/light_mask/splat.png | bin | 18255 -> 0 bytes |
5 files changed, 0 insertions, 143 deletions
diff --git a/demos/2d/light_mask/burano.png b/demos/2d/light_mask/burano.png Binary files differdeleted file mode 100644 index 6eec09d585..0000000000 --- a/demos/2d/light_mask/burano.png +++ /dev/null diff --git a/demos/2d/light_mask/engine.cfg b/demos/2d/light_mask/engine.cfg deleted file mode 100644 index 3c2f1f3a79..0000000000 --- a/demos/2d/light_mask/engine.cfg +++ /dev/null @@ -1,9 +0,0 @@ -[application] - -name="Using Lights As Mask" -main_scene="res://lightmask.tscn" -icon="res://icon.png" - -[rasterizer] - -shadow_filter=3 diff --git a/demos/2d/light_mask/icon.png b/demos/2d/light_mask/icon.png Binary files differdeleted file mode 100644 index 34a6b709f6..0000000000 --- a/demos/2d/light_mask/icon.png +++ /dev/null diff --git a/demos/2d/light_mask/lightmask.tscn b/demos/2d/light_mask/lightmask.tscn deleted file mode 100644 index d489b735b0..0000000000 --- a/demos/2d/light_mask/lightmask.tscn +++ /dev/null @@ -1,134 +0,0 @@ -[gd_scene load_steps=5 format=1] - -[ext_resource path="res://burano.png" type="Texture" id=1] -[ext_resource path="res://splat.png" type="Texture" id=2] - -[sub_resource type="CanvasItemMaterial" id=1] - -shader/shading_mode = 2 - -[sub_resource type="Animation" id=2] - -length = 4.0 -loop = true -step = 0.1 -tracks/0/type = "value" -tracks/0/path = NodePath("light1:transform/pos") -tracks/0/interp = 1 -tracks/0/keys = { "cont":true, "times":FloatArray( 0, 1, 2, 3 ), "transitions":FloatArray( -2, -2, -2, -2 ), "values":[ Vector2( 601.028, 242.639 ), Vector2( 318.649, 327.353 ), Vector2( 381.263, 130.915 ), Vector2( 462.294, 389.968 ) ] } -tracks/1/type = "value" -tracks/1/path = NodePath("light2:transform/pos") -tracks/1/interp = 1 -tracks/1/keys = { "cont":true, "times":FloatArray( 0, 1, 2, 3 ), "transitions":FloatArray( -2, -2, -2, -2 ), "values":[ Vector2( 196.528, 185.139 ), Vector2( 135.142, 454.013 ), Vector2( 638.105, 334.923 ), Vector2( 331.375, 101.653 ) ] } -tracks/2/type = "value" -tracks/2/path = NodePath("light3:transform/pos") -tracks/2/interp = 1 -tracks/2/keys = { "cont":true, "times":FloatArray( 0, 1, 2, 3 ), "transitions":FloatArray( -2, -2, -2, -2 ), "values":[ Vector2( 442.528, 411.139 ), Vector2( 635.283, 236.8 ), Vector2( 216.215, 396.815 ), Vector2( 682.96, 294.708 ) ] } - -[node name="lightmask_demo" type="Control"] - -anchor/right = 1 -anchor/bottom = 1 -focus/ignore_mouse = false -focus/stop_mouse = true -size_flags/horizontal = 2 -size_flags/vertical = 2 -margin/left = 0.0 -margin/top = 0.0 -margin/right = 0.0 -margin/bottom = 0.0 - -[node name="burano" type="TextureFrame" parent="."] - -material/material = SubResource( 1 ) -focus/ignore_mouse = true -focus/stop_mouse = true -size_flags/horizontal = 2 -size_flags/vertical = 2 -margin/left = 0.0 -margin/top = 0.0 -margin/right = 800.0 -margin/bottom = 600.0 -texture = ExtResource( 1 ) - -[node name="light1" type="Light2D" parent="."] - -transform/pos = Vector2( 601.028, 242.639 ) -transform/scale = Vector2( 1.62522, 1.62999 ) -enabled = true -texture = ExtResource( 2 ) -offset = Vector2( 0, 0 ) -scale = 1.0 -color = Color( 1, 1, 1, 1 ) -energy = 1.0 -mode = 2 -range/height = 0.0 -range/z_min = -1024 -range/z_max = 1024 -range/layer_min = 0 -range/layer_max = 0 -range/item_mask = 1 -shadow/enabled = false -shadow/color = Color( 0, 0, 0, 0 ) -shadow/buffer_size = 2048 -shadow/esm_multiplier = 80.0 -shadow/item_mask = 1 - -[node name="light2" type="Light2D" parent="."] - -transform/pos = Vector2( 196.528, 185.139 ) -transform/scale = Vector2( 1.76194, 1.71984 ) -enabled = true -texture = ExtResource( 2 ) -offset = Vector2( 0, 0 ) -scale = 1.0 -color = Color( 1, 1, 1, 1 ) -energy = 1.0 -mode = 2 -range/height = 0.0 -range/z_min = -1024 -range/z_max = 1024 -range/layer_min = 0 -range/layer_max = 0 -range/item_mask = 1 -shadow/enabled = false -shadow/color = Color( 0, 0, 0, 0 ) -shadow/buffer_size = 2048 -shadow/esm_multiplier = 80.0 -shadow/item_mask = 1 - -[node name="light3" type="Light2D" parent="."] - -transform/pos = Vector2( 442.528, 411.139 ) -transform/scale = Vector2( 1.76194, 1.71984 ) -enabled = true -texture = ExtResource( 2 ) -offset = Vector2( 0, 0 ) -scale = 1.0 -color = Color( 1, 1, 1, 1 ) -energy = 1.0 -mode = 2 -range/height = 0.0 -range/z_min = -1024 -range/z_max = 1024 -range/layer_min = 0 -range/layer_max = 0 -range/item_mask = 1 -shadow/enabled = false -shadow/color = Color( 0, 0, 0, 0 ) -shadow/buffer_size = 2048 -shadow/esm_multiplier = 80.0 -shadow/item_mask = 1 - -[node name="anim" type="AnimationPlayer" parent="."] - -playback/process_mode = 1 -playback/default_blend_time = 0.0 -root/root = NodePath("..") -anims/maskmotion = SubResource( 2 ) -playback/active = true -playback/speed = 1.0 -blend_times = [ ] -autoplay = "maskmotion" - - diff --git a/demos/2d/light_mask/splat.png b/demos/2d/light_mask/splat.png Binary files differdeleted file mode 100644 index 8c35f068a0..0000000000 --- a/demos/2d/light_mask/splat.png +++ /dev/null |