-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathone_shot_johnny.tscn
43 lines (32 loc) · 1.19 KB
/
one_shot_johnny.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://shrimpicons/glass_cannon.png" type="Texture" id=1]
[ext_resource path="res://attack.png" type="Texture" id=2]
[ext_resource path="res://johnny.gd" type="Script" id=3]
[sub_resource type="PhysicsMaterial" id=1]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 53.8768, 32 )
[sub_resource type="CapsuleShape2D" id=3]
radius = 16.0
height = 16.0
[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 )
flip_h = true
region_rect = Rect2( 0, 85, 54, 30 )
[node name="Camera2D" type="Camera2D" parent="."]
[node name="Attack" type="Sprite" parent="."]
visible = false
modulate = Color( 1, 0, 0, 0.784314 )
position = Vector2( 69.8753, 0 )
scale = Vector2( 2.66667, 4 )
texture = ExtResource( 2 )
[node name="Attack_Area" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Attack_Area"]
position = Vector2( 69.8753, 0 )
shape = SubResource( 3 )