LD46/machines/Lathe.tscn

41 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=6 format=2]
[ext_resource path="res://machine.gd" type="Script" id=1]
[ext_resource path="res://assets/sprites/lathe.tres" type="Texture" id=2]
[ext_resource path="res://assets/machine.shader" type="Shader" id=3]
[ext_resource path="res://machines/text.gd" type="Script" id=4]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 3 )
shader_param/rps = 0.0
shader_param/bg_color = Vector3( 0.251, 0.251, 0.251 )
[node name="Lathe" type="StaticBody2D"]
script = ExtResource( 1 )
machine_type = 2
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -16, -8, -16, 8, 16, 8, 16, -8 )
__meta__ = {
"_edit_lock_": true
}
[node name="sprite" type="Sprite" parent="."]
material = SubResource( 1 )
texture = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="SuckArea" type="Area2D" parent="."]
script = ExtResource( 4 )
__meta__ = {
"_edit_lock_": true
}
[node name="Polygon2D" type="CollisionPolygon2D" parent="SuckArea"]
polygon = PoolVector2Array( -16, -12, 16, -12, 20, -8, 20, 8, 16, 12, -16, 12, -20, 8, -20, -8 )
__meta__ = {
"_edit_lock_": true
}