-
Notifications
You must be signed in to change notification settings - Fork 1
/
physicstest.tscn
34 lines (24 loc) · 1015 Bytes
/
physicstest.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://KinematicBody2Dtest.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
[sub_resource type="RectangleShape2D" id=2]
[node name="Node2D" type="Node2D"]
position = Vector2( 123.363, 73.5793 )
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
position = Vector2( 0, -1.42735 )
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="KinematicBody2D"]
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 20, 20 )
[node name="floor" type="StaticBody2D" parent="."]
position = Vector2( 0, 20 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="floor"]
shape = SubResource( 2 )
[node name="Sprite" type="Sprite" parent="floor"]
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 20, 20 )