[gd_scene load_steps=11 format=2] [ext_resource path="res://ASSETS/light/light.png" type="Texture" id=1] [ext_resource path="res://ASSETS/light/vending_machine.png" type="Texture" id=2] [ext_resource path="res://ASSETS/light/maxi_schermo.png" type="Texture" id=4] [ext_resource path="res://ASSETS/light/cartellone.png" type="Texture" id=5] [ext_resource path="res://ASSETS/light/semaphore.png" type="Texture" id=6] [ext_resource path="res://ASSETS/light/crate.png" type="Texture" id=7] [ext_resource path="res://light.gd" type="Script" id=8] [sub_resource type="CircleShape2D" id=3] radius = 47.0 [sub_resource type="CanvasItemMaterial" id=6] light_mode = 1 [sub_resource type="SpriteFrames" id=2] animations = [ { "frames": [ ExtResource( 5 ) ], "loop": true, "name": "cartellone", "speed": 5.0 }, { "frames": [ ExtResource( 7 ) ], "loop": true, "name": "create", "speed": 5.0 }, { "frames": [ ExtResource( 4 ) ], "loop": true, "name": "screen", "speed": 5.0 }, { "frames": [ ExtResource( 6 ) ], "loop": true, "name": "semaphore", "speed": 5.0 }, { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "vending_machine", "speed": 5.0 } ] [node name="light" type="Area2D"] position = Vector2( 0, -23 ) collision_layer = 8 collision_mask = 8 script = ExtResource( 8 ) __meta__ = { "_edit_horizontal_guides_": [ ] } [node name="Light2D" type="Light2D" parent="."] scale = Vector2( 0.2, 0.2 ) texture = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 3 ) [node name="Sprite" type="AnimatedSprite" parent="."] material = SubResource( 6 ) position = Vector2( 0, -7 ) scale = Vector2( 1.0625, 1.25 ) frames = SubResource( 2 ) animation = "screen"