-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnemy1.tscn
46 lines (31 loc) · 1.1 KB
/
Enemy1.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Goomba.gd" type="Script" id=1]
[ext_resource path="res://Sprites/goomba.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 25.0946, 23.3492 )
[node name="Enemy1" type="KinematicBody2D"]
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
[node name="CollisionShape2D2" type="CollisionShape2D" parent="." index="0"]
position = Vector2( 127.668, 0 )
shape = SubResource( 1 )
[node name="Goomba" type="Area2D" parent="." index="1"]
position = Vector2( 128, 0 )
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
audio_bus_override = false
audio_bus_name = "Master"
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Goomba" index="0"]
position = Vector2( -0.331711, 0 )
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="Goomba" index="1"]
position = Vector2( -1.10973e-005, 0 )
scale = Vector2( 0.181818, 0.181818 )
texture = ExtResource( 2 )