-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCrab.tscn
59 lines (50 loc) · 1.59 KB
/
Crab.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[gd_scene load_steps=7 format=2]
[ext_resource path="res://img/icons8-crab-94.png" type="Texture" id=1]
[ext_resource path="res://img/bubble2.png" type="Texture" id=2]
[ext_resource path="res://Crab.gd" type="Script" id=3]
[ext_resource path="res://audio/clap02.wav" type="AudioStream" id=4]
[sub_resource type="ParticlesMaterial" id=9]
emission_shape = 1
emission_sphere_radius = 30.0
flag_disable_z = true
direction = Vector3( 0, -1, 0 )
gravity = Vector3( 0, -120, 0 )
initial_velocity = 100.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel = 3.0
[sub_resource type="CircleShape2D" id=10]
radius = 133.184
[node name="Crab" type="Node2D" groups=["crab"]]
script = ExtResource( 3 )
[node name="Particles1" type="Particles2D" parent="."]
modulate = Color( 1, 1, 1, 0.427451 )
self_modulate = Color( 0.776471, 1, 0.776471, 1 )
position = Vector2( 504, 960 )
scale = Vector2( 0.3, 0.3 )
z_index = 1
emitting = false
amount = 5
lifetime = 3.0
speed_scale = 3.0
explosiveness = 0.1
randomness = 0.5
process_material = SubResource( 9 )
texture = ExtResource( 2 )
[node name="Area2D" type="Area2D" parent="."]
position = Vector2( 545, 1013 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( -37, -42 )
shape = SubResource( 10 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
position = Vector2( 300, 900 )
stream = ExtResource( 4 )
volume_db = 7.0
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 499, 951 )
rotation = -0.560387
scale = Vector2( 2.94652, 2.82377 )
texture = ExtResource( 1 )
__meta__ = {
"_edit_lock_": true
}