1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-29 03:24:20 +00:00
looping-for-loops/Objects/ConveyorBelt/ConveyorBelt.tscn

128 lines
4.2 KiB
Text
Raw Normal View History

[gd_scene load_steps=6 format=2]
2020-10-03 17:03:53 +00:00
[ext_resource path="res://Tilesets/ConveyorBelt.tres" type="TileSet" id=1]
2020-10-04 14:35:24 +00:00
[ext_resource path="res://Objects/ConveyorBelt/ConveyorBelt.gd" type="Script" id=2]
[ext_resource path="res://Objects/ConveyorBelt/Gear.tscn" type="PackedScene" id=3]
[ext_resource path="res://Objects/ConveyorBelt/Gears.gd" type="Script" id=5]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 640, 20 )
[node name="ConveyorBelt" type="StaticBody2D"]
collision_layer = 4
collision_mask = 3
script = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="TileMap" type="TileMap" parent="."]
2020-10-03 17:03:53 +00:00
position = Vector2( 0, -20 )
tile_set = ExtResource( 1 )
cell_size = Vector2( 40, 40 )
2020-10-03 17:03:53 +00:00
cell_quadrant_size = 40
cell_tile_origin = 1
centered_textures = true
format = 1
tile_data = PoolIntArray( 65520, 0, 0, 65521, 0, 0, 65522, 0, 0, 65523, 0, 0, 65524, 0, 0, 65525, 0, 0, 65526, 0, 0, 65527, 0, 0, 65528, 0, 0, 65529, 0, 0, 65530, 0, 0, 65531, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 0, 0, 8, 0, 0, 9, 0, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 14, 0, 0, 15, 0, 0 )
[node name="Gears" type="Node2D" parent="."]
position = Vector2( -220, 0 )
script = ExtResource( 5 )
[node name="Gear" parent="Gears" instance=ExtResource( 3 )]
[node name="Gear2" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -360, 0 )
[node name="Gear3" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -320, 0 )
[node name="Gear4" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -280, 0 )
[node name="Gear5" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -240, 0 )
[node name="Gear6" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -200, 0 )
[node name="Gear7" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -160, 0 )
[node name="Gear8" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -120, 0 )
[node name="Gear9" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -80, 0 )
[node name="Gear10" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( -40, 0 )
[node name="Gear11" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 0, 0 )
[node name="Gear12" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 40, 0 )
[node name="Gear13" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 80, 0 )
[node name="Gear14" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 120, 0 )
[node name="Gear15" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 160, 0 )
[node name="Gear16" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 200, 0 )
[node name="Gear17" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 240, 0 )
[node name="Gear18" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 280, 0 )
[node name="Gear19" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 320, 0 )
[node name="Gear20" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 360, 0 )
[node name="Gear21" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 400, 0 )
[node name="Gear22" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 440, 0 )
[node name="Gear23" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 480, 0 )
[node name="Gear24" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 520, 0 )
[node name="Gear25" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 560, 0 )
[node name="Gear26" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 600, 0 )
[node name="Gear27" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 640, 0 )
[node name="Gear28" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 680, 0 )
[node name="Gear29" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 720, 0 )
[node name="Gear30" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 760, 0 )
[node name="Gear31" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 800, 0 )
[node name="Gear32" parent="Gears" instance=ExtResource( 3 )]
position = Vector2( 840, 0 )
2020-10-04 14:35:24 +00:00
[connection signal="cb_speed_changed" from="." to="Gears" method="_on_ConveyorBelt_cb_speed_changed"]