Essaie de lumière portées par la princesse. Une de vignettage, et l'autre comme un bougie légère.
This commit is contained in:
		| @@ -232,6 +232,29 @@ _data = { | |||||||
| "death": SubResource("Animation_uo4aj") | "death": SubResource("Animation_uo4aj") | ||||||
| } | } | ||||||
|  |  | ||||||
|  | [sub_resource type="Gradient" id="Gradient_wf4ie"] | ||||||
|  | offsets = PackedFloat32Array(0, 0.313609, 0.994083, 1) | ||||||
|  | colors = PackedColorArray(0.411765, 0.6, 0.956863, 0.105882, 0.741176, 0.839216, 0.984314, 0.219608, 0.980392, 1, 0.803922, 1, 1, 0.592157, 0.282353, 0) | ||||||
|  |  | ||||||
|  | [sub_resource type="GradientTexture2D" id="GradientTexture2D_t1uxd"] | ||||||
|  | gradient = SubResource("Gradient_wf4ie") | ||||||
|  | width = 1024 | ||||||
|  | height = 1024 | ||||||
|  | fill = 1 | ||||||
|  | fill_from = Vector2(0.482759, 0.508621) | ||||||
|  |  | ||||||
|  | [sub_resource type="Gradient" id="Gradient_srny4"] | ||||||
|  | interpolation_mode = 2 | ||||||
|  | offsets = PackedFloat32Array(0, 0.0828402, 0.698225) | ||||||
|  | colors = PackedColorArray(0.61339, 0.61339, 0.61339, 1, 0.47788, 0.47788, 0.47788, 1, 0, 0, 0, 1) | ||||||
|  |  | ||||||
|  | [sub_resource type="GradientTexture2D" id="GradientTexture2D_irtut"] | ||||||
|  | gradient = SubResource("Gradient_srny4") | ||||||
|  | width = 512 | ||||||
|  | height = 512 | ||||||
|  | fill = 1 | ||||||
|  | fill_from = Vector2(0.5, 0.5) | ||||||
|  |  | ||||||
| [node name="Princesse" type="CharacterBody2D"] | [node name="Princesse" type="CharacterBody2D"] | ||||||
| collision_mask = 113 | collision_mask = 113 | ||||||
| slide_on_ceiling = false | slide_on_ceiling = false | ||||||
| @@ -272,6 +295,22 @@ libraries = { | |||||||
| "": SubResource("AnimationLibrary_hxxp0") | "": SubResource("AnimationLibrary_hxxp0") | ||||||
| } | } | ||||||
|  |  | ||||||
|  | [node name="vignetting" type="PointLight2D" parent="."] | ||||||
|  | position = Vector2(0, -12) | ||||||
|  | scale = Vector2(0.79275, 0.765625) | ||||||
|  | energy = 1.8 | ||||||
|  | blend_mode = 1 | ||||||
|  | texture = SubResource("GradientTexture2D_t1uxd") | ||||||
|  | texture_scale = 2.5 | ||||||
|  |  | ||||||
|  | [node name="light" type="PointLight2D" parent="."] | ||||||
|  | position = Vector2(3, -0.187502) | ||||||
|  | scale = Vector2(0.628453, 0.586182) | ||||||
|  | color = Color(1, 0.85098, 0.862745, 1) | ||||||
|  | energy = 0.4 | ||||||
|  | texture = SubResource("GradientTexture2D_irtut") | ||||||
|  | texture_scale = 1.2 | ||||||
|  |  | ||||||
| [connection signal="cheese_collected" from="." to="." method="reload_fart"] | [connection signal="cheese_collected" from="." to="." method="reload_fart"] | ||||||
| [connection signal="animation_finished" from="Death player" to="." method="_on_death_player_animation_finished"] | [connection signal="animation_finished" from="Death player" to="." method="_on_death_player_animation_finished"] | ||||||
| [connection signal="animation_finished" from="Death player" to="." method="reload_scene"] | [connection signal="animation_finished" from="Death player" to="." method="reload_scene"] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Guillaume Piolat
					Guillaume Piolat