godot-shooter / commit
Change the smoke to originate from a circle. Slightly reorganized the world layers.
Smoke.tscn | 2 ++ World.tscn | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Smoke.tscn b/Smoke.tscn index a48de17..4383f0a 100644 --- a/Smoke.tscn +++ b/Smoke.tscn @@ -17,6 +17,8 @@ amount = 40 explosiveness = 0.2 lifetime_randomness = 0.5 texture = ExtResource( 1 ) +emission_shape = 1 +emission_sphere_radius = 10.0 direction = Vector2( -10, 0 ) spread = 180.0 gravity = Vector2( 0, -98 ) diff --git a/World.tscn b/World.tscn index f55b6a8..5ef8223 100644 --- a/World.tscn +++ b/World.tscn @@ -14,6 +14,18 @@ radius = 29.0172 script = ExtResource( 4 ) enemy_count = 3 +[node name="Player" parent="." groups=["player"] instance=ExtResource( 2 )] +position = Vector2( 513, 302 ) + +[node name="Destination" type="Area2D" parent="."] + +[node name="XSprite" type="Sprite" parent="Destination"] +modulate = Color( 0.0784314, 0, 1, 1 ) +texture = ExtResource( 1 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Destination"] +shape = SubResource( 1 ) + [node name="CanvasLayer2" type="CanvasLayer" parent="."] [node name="ParallaxBackground" type="ParallaxBackground" parent="CanvasLayer2"] @@ -38,18 +50,6 @@ visible = false [node name="Environment" type="Node2D" parent="."] -[node name="Player" parent="." groups=["player"] instance=ExtResource( 2 )] -position = Vector2( 513, 302 ) - -[node name="Destination" type="Area2D" parent="."] - -[node name="XSprite" type="Sprite" parent="Destination"] -modulate = Color( 0.0784314, 0, 1, 1 ) -texture = ExtResource( 1 ) - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Destination"] -shape = SubResource( 1 ) - [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="HUD" parent="CanvasLayer" instance=ExtResource( 3 )]