notSpore/langtons-ant/grid.tscn

47 lines
1.5 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://b6xi32r3co6md"]
[ext_resource type="Script" uid="uid://by3d3t5ymxl3m" path="res://grid.gd" id="1_bghhw"]
[ext_resource type="Script" uid="uid://b6ll30b7xtwal" path="res://ant.gd" id="1_ebq2e"]
[ext_resource type="Texture2D" uid="uid://bnfy5vx72ux33" path="res://assets/ant.png" id="3_sle3t"]
[ext_resource type="Texture2D" uid="uid://d0v1qlkltasln" path="res://assets/tiles.png" id="4_fqc2p"]
[ext_resource type="Script" uid="uid://cqxfmo3hixad1" path="res://tile_map_layer.gd" id="5_fqc2p"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_g2qvd"]
texture = ExtResource("4_fqc2p")
texture_region_size = Vector2i(32, 32)
0:0/0 = 0
1:0/0 = 0
0:1/0 = 0
1:1/0 = 0
0:2/0 = 0
1:2/0 = 0
0:3/0 = 0
1:3/0 = 0
[sub_resource type="TileSet" id="TileSet_05i0m"]
tile_shape = 3
tile_size = Vector2i(32, 32)
sources/0 = SubResource("TileSetAtlasSource_g2qvd")
[node name="Grid" type="Node2D" node_paths=PackedStringArray("ant", "tiles")]
script = ExtResource("1_bghhw")
speed = 60.0
ant = NodePath("ant")
tiles = NodePath("TileMapLayer")
[node name="TileMapLayer" type="TileMapLayer" parent="."]
tile_set = SubResource("TileSet_05i0m")
collision_enabled = false
script = ExtResource("5_fqc2p")
[node name="Camera2D" type="Camera2D" parent="TileMapLayer"]
position = Vector2(0, -8)
scale = Vector2(0.8, 0.8)
[node name="ant" type="Sprite2D" parent="."]
position = Vector2(-15.999998, 14.999998)
scale = Vector2(0.8, 0.8)
texture = ExtResource("3_sle3t")
vframes = 6
script = ExtResource("1_ebq2e")