-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfuel.tscn
More file actions
54 lines (37 loc) · 1.18 KB
/
fuel.tscn
File metadata and controls
54 lines (37 loc) · 1.18 KB
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
[gd_scene load_steps=5 format=1]
[ext_resource path="res://fuel.gd" type="Script" id=1]
[ext_resource path="res://images/fuel.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 8, 6 )
[sub_resource type="CircleShape2D" id=2]
custom_solver_bias = 0.0
radius = 3.0
[node name="Fuel" type="KinematicBody2D"]
input/pickable = false
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
collision/layers = 32
collision/mask = 1
collision/margin = 0.08
script/script = ExtResource( 1 )
[node name="fuel_sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="fuel_shape" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0
[node name="fuel_area" type="Area2D" parent="."]
input/pickable = true
shapes/0/shape = SubResource( 2 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
[node name="area_shape" type="CollisionShape2D" parent="fuel_area"]
shape = SubResource( 2 )
trigger = false
_update_shape_index = 0