mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
29 lines
622 B
Plaintext
29 lines
622 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://player.gd" type="Script" id=1]
|
|
[ext_resource path="res://player.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
custom_solver_bias = 0.0
|
|
extents = Vector2( 7, 7 )
|
|
|
|
[node name="player" type="KinematicBody2D"]
|
|
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
collision/safe_margin = 0.08
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="sprite" type="Sprite" parent="."]
|
|
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
position = Vector2( -0.315559, 0.157784 )
|
|
shape = SubResource( 1 )
|
|
|
|
|