initial commit
This commit is contained in:
53
bomb2.tscn
Normal file
53
bomb2.tscn
Normal file
@@ -0,0 +1,53 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bbdf5ntt282cq"]
|
||||
|
||||
[ext_resource type="Script" path="res://bomb.gd" id="1_jqcjo"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckdx8o2mm5ynf" path="res://assets/Bombe.png" id="2_alkef"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_vf2ry"]
|
||||
radius = 2.0
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_1i0c6"]
|
||||
offsets = PackedFloat32Array(0, 0.52439, 0.707317, 1)
|
||||
colors = PackedColorArray(0.632226, 6.37732e-07, 2.40654e-07, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.772549, 0.8, 0, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_r0qu4"]
|
||||
gradient = SubResource("Gradient_1i0c6")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_fqbuq"]
|
||||
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_u1w5g"]
|
||||
curve = SubResource("Curve_fqbuq")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_hq1ch"]
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 10.0
|
||||
spread = 180.0
|
||||
initial_velocity_min = 50.0
|
||||
initial_velocity_max = 100.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_over_velocity_max = 80.0
|
||||
scale_over_velocity_curve = SubResource("CurveTexture_u1w5g")
|
||||
color_ramp = SubResource("GradientTexture1D_r0qu4")
|
||||
|
||||
[node name="Bomb" type="Area2D"]
|
||||
position = Vector2(257, 118)
|
||||
script = ExtResource("1_jqcjo")
|
||||
|
||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_vf2ry")
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="."]
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("2_alkef")
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
|
||||
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
|
||||
amount = 30
|
||||
process_material = SubResource("ParticleProcessMaterial_hq1ch")
|
||||
explosiveness = 1.0
|
||||
Reference in New Issue
Block a user