[gd_scene load_steps=5 format=2] [ext_resource path="res://Sprites/conveyor_belt.png" type="Texture" id=1] [ext_resource path="res://Scripts/ConveyorBelt.gd" type="Script" id=2] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 640, 40 ) [sub_resource type="TileSet" id=2] 0/name = "conveyor_belt.png 0" 0/texture = ExtResource( 1 ) 0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) 0/region = Rect2( 0, 0, 80, 80 ) 0/tile_mode = 0 0/occluder_offset = Vector2( 0, 0 ) 0/navigation_offset = Vector2( 0, 0 ) 0/shape_offset = Vector2( 0, 0 ) 0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 0/shape_one_way = false 0/shape_one_way_margin = 0.0 0/shapes = [ ] 0/z_index = 0 1/name = "conveyor_belt.png 1" 1/texture = ExtResource( 1 ) 1/tex_offset = Vector2( 0, 0 ) 1/modulate = Color( 1, 1, 1, 1 ) 1/region = Rect2( 80, 0, 80, 80 ) 1/tile_mode = 0 1/occluder_offset = Vector2( 0, 0 ) 1/navigation_offset = Vector2( 0, 0 ) 1/shape_offset = Vector2( 0, 0 ) 1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 1/shape_one_way = false 1/shape_one_way_margin = 0.0 1/shapes = [ ] 1/z_index = 0 2/name = "conveyor_belt.png 2" 2/texture = ExtResource( 1 ) 2/tex_offset = Vector2( 0, 0 ) 2/modulate = Color( 1, 1, 1, 1 ) 2/region = Rect2( 160, 0, 80, 80 ) 2/tile_mode = 0 2/occluder_offset = Vector2( 0, 0 ) 2/navigation_offset = Vector2( 0, 0 ) 2/shape_offset = Vector2( 0, 0 ) 2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 2/shape_one_way = false 2/shape_one_way_margin = 0.0 2/shapes = [ ] 2/z_index = 0 [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="."] tile_set = SubResource( 2 ) cell_size = Vector2( 40, 40 ) format = 1 tile_data = PoolIntArray( -16, 0, 0, -14, 1, 0, -12, 1, 0, -10, 1, 0, -8, 1, 0, -6, 1, 0, -4, 1, 0, -2, 1, 0, -65536, 1, 0, -65534, 1, 0, -65532, 1, 0, -65530, 1, 0, -65528, 1, 0, -65526, 1, 0, -65524, 1, 0, -65522, 2, 0 )