-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtesting_shrimp.tscn
38 lines (28 loc) · 1.21 KB
/
testing_shrimp.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://shrimpicons/basic.png" type="Texture" id=1]
[ext_resource path="res://attack.png" type="Texture" id=2]
[ext_resource path="res://shrimp.gd" type="Script" id=3]
[sub_resource type="PhysicsMaterial" id=1]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 27.8434, 25.0544 )
[node name="Shrimp" type="RigidBody2D"]
physics_material_override = SubResource( 1 )
gravity_scale = 0.0
script = ExtResource( 3 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 2, 2 )
texture = ExtResource( 1 )
region_rect = Rect2( 60, 86, 28, 25 )
[node name="Camera2D" type="Camera2D" parent="."]
[node name="Attack" type="Sprite" parent="."]
visible = false
modulate = Color( 1, 1, 1, 0.784314 )
position = Vector2( 48, 0 )
scale = Vector2( 4, 4 )
texture = ExtResource( 2 )
[node name="Attack_Area" type="Area2D" parent="."]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Attack_Area"]
position = Vector2( -4, 0 )
polygon = PoolVector2Array( 28, -8, 44, -24, 60, -24, 60, -20, 52, -8, 68, -8, 76, -4, 76, 4, 68, 8, 52, 8, 60, 20, 60, 24, 44, 24, 28, 8 )