36 lines
811 B
Plaintext
36 lines
811 B
Plaintext
|
[gd_scene load_steps=4 format=1]
|
||
|
|
||
|
[ext_resource path="res://Box.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://box.png" type="Texture" id=2]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id=1]
|
||
|
|
||
|
custom_solver_bias = 0.0
|
||
|
extents = Vector2( 24.7036, 30.1941 )
|
||
|
|
||
|
[node name="Box" type="StaticBody2D"]
|
||
|
|
||
|
input/pickable = false
|
||
|
shapes/0/shape = SubResource( 1 )
|
||
|
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||
|
shapes/0/trigger = false
|
||
|
collision/layers = 1
|
||
|
collision/mask = 1
|
||
|
constant_linear_velocity = Vector2( 0, 0 )
|
||
|
constant_angular_velocity = 0.0
|
||
|
friction = 1.0
|
||
|
bounce = 0.0
|
||
|
script/script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Sprite" type="Sprite" parent="."]
|
||
|
|
||
|
texture = ExtResource( 2 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
|
||
|
shape = SubResource( 1 )
|
||
|
trigger = false
|
||
|
_update_shape_index = 0
|
||
|
|
||
|
|