This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Actors/Objects/Engine/Engine.tscn

41 lines
1.2 KiB
Text
Raw Normal View History

2020-07-07 11:01:12 +00:00
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Actors/Components/ActivationRange.gd" type="Script" id=1]
[ext_resource path="res://Actors/Objects/Engine/Engine.gd" type="Script" id=2]
[ext_resource path="res://Graphics/tgstation/engine-big.png" type="Texture" id=3]
[ext_resource path="res://Graphics/light_shadow_light.png" type="Texture" id=4]
2020-07-07 18:42:22 +00:00
[sub_resource type="RectangleShape2D" id=1]
2020-07-07 11:01:12 +00:00
extents = Vector2( 48, 48 )
2020-07-07 18:42:22 +00:00
[sub_resource type="RectangleShape2D" id=2]
2020-07-07 11:01:12 +00:00
extents = Vector2( 72, 72 )
[node name="Engine" type="StaticBody2D"]
script = ExtResource( 2 )
2020-07-07 18:42:22 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 48, 48 )
shape = SubResource( 1 )
2020-07-07 11:01:12 +00:00
[node name="engine" type="Sprite" parent="."]
texture = ExtResource( 3 )
centered = false
region_enabled = true
region_rect = Rect2( 0, 0, 96, 96 )
[node name="Light2D" type="Light2D" parent="."]
position = Vector2( 48, 48 )
texture = ExtResource( 4 )
offset = Vector2( 0, 50 )
texture_scale = 2.0
energy = 0.002
[node name="ActivationRange" type="Area2D" parent="."]
visible = false
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="ActivationRange"]
position = Vector2( 48, 56 )
2020-07-07 18:42:22 +00:00
shape = SubResource( 2 )