apples om nom
This commit is contained in:
parent
2c512d5764
commit
ba4ede05fa
6 changed files with 68 additions and 2 deletions
19
test.tscn
19
test.tscn
|
|
@ -1,14 +1,21 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://daqqurdrnk61h"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://daqqurdrnk61h"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bue4xxejdsmqh" path="res://snakeManager.gd" id="1_6uqi0"]
|
||||
[ext_resource type="PackedScene" uid="uid://bwoeu7ask0fck" path="res://prefabs/snake_segment.tscn" id="1_8uh7m"]
|
||||
[ext_resource type="Script" uid="uid://cvsonvlgpi43g" path="res://fieldManager.gd" id="1_ehkex"]
|
||||
[ext_resource type="Texture2D" uid="uid://b1sese4p8sck3" path="res://assets/smallMap.png" id="1_vbegm"]
|
||||
[ext_resource type="PackedScene" uid="uid://cusdydgg4b1bo" path="res://prefabs/braincell.tscn" id="2_6uqi0"]
|
||||
[ext_resource type="Script" uid="uid://b0djy8fmq4qjq" path="res://camera_2d.gd" id="5_ykrsh"]
|
||||
[ext_resource type="PackedScene" uid="uid://qpjwodeafyno" path="res://prefabs/apple.tscn" id="6_g14j6"]
|
||||
[ext_resource type="PackedScene" uid="uid://bl5py87o1qbgr" path="res://prefabs/wall.tscn" id="7_vbegm"]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ehkex"]
|
||||
radius = 50.0
|
||||
|
||||
[node name="Node2D" type="Node2D" node_paths=PackedStringArray("test_area")]
|
||||
script = ExtResource("1_ehkex")
|
||||
top_left = Vector2(-1600, -1600)
|
||||
test_area = NodePath("TestArea")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(-160, -160)
|
||||
|
|
@ -69,3 +76,11 @@ rotation = 1.5708
|
|||
[node name="Wall4" parent="." instance=ExtResource("7_vbegm")]
|
||||
position = Vector2(1600, -160)
|
||||
rotation = 1.5708
|
||||
|
||||
[node name="Marker2D" type="Marker2D" parent="."]
|
||||
position = Vector2(-1600, -1600)
|
||||
|
||||
[node name="TestArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="TestArea"]
|
||||
shape = SubResource("CircleShape2D_ehkex")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue