parent
b6f62633e6
commit
d302a56855
5 changed files with 21 additions and 29 deletions
@ -0,0 +1,10 @@ |
|||||||
|
[gd_scene load_steps=3 format=2] |
||||||
|
|
||||||
|
[ext_resource path="res://scene/Player.tscn" type="PackedScene" id=1] |
||||||
|
[ext_resource path="res://src/Player.cs" type="Script" id=3] |
||||||
|
|
||||||
|
[node name="Player" instance=ExtResource( 1 )] |
||||||
|
script = ExtResource( 3 ) |
||||||
|
|
||||||
|
[node name="Camera2D" type="Camera2D" parent="." index="0"] |
||||||
|
current = true |
@ -1,15 +0,0 @@ |
|||||||
[gd_scene load_steps=3 format=2] |
|
||||||
|
|
||||||
[ext_resource path="res://gfx/player.png" type="Texture" id=2] |
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id=1] |
|
||||||
radius = 8.0 |
|
||||||
|
|
||||||
[node name="OtherPlayer" type="KinematicBody2D"] |
|
||||||
collision_layer = 0 |
|
||||||
|
|
||||||
[node name="CircleShape" type="CollisionShape2D" parent="."] |
|
||||||
shape = SubResource( 1 ) |
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite" parent="."] |
|
||||||
texture = ExtResource( 2 ) |
|
Loading…
Reference in new issue