12345678910111213141516171819202122232425262728293031323334353637 |
- [gd_scene load_steps=6 format=2]
- [ext_resource path="res://script/Candle.gd" type="Script" id=1]
- [ext_resource path="res://asset/candle_sheet.png" type="Texture" id=2]
- [ext_resource path="res://asset/candle_n.png" type="Texture" id=3]
- [ext_resource path="res://sfx/fire.ogg" type="AudioStream" id=4]
- [ext_resource path="res://asset/radial.png" type="Texture" id=5]
- [node name="Candle" type="KinematicBody2D"]
- collision_layer = 3
- collision/safe_margin = 0.1
- script = ExtResource( 1 )
- [node name="Body" type="Sprite" parent="."]
- texture = ExtResource( 2 )
- normal_map = ExtResource( 3 )
- region_enabled = true
- region_rect = Rect2( 0, 0, 32, 48 )
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
- polygon = PoolVector2Array( 5, 2, 12, 2, 11, 4, 5, 5, 3, 9, 7, 14, 7, 19, 5, 20, 6, 21, 9.2, 23.9, -8, 24, -5, 21, -4, 20, -6, 19, -6, 14, -2, 9, -4, 5, -10, 4, -11, 2, -4, 2, -4, -5, 5, -5 )
- [node name="RespawnPoint" type="Node2D" parent="."]
- [node name="Timer" type="Timer" parent="."]
- wait_time = 0.5
- [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
- stream = ExtResource( 4 )
- max_distance = 1000.0
- attenuation = 12.1257
- [node name="Light2D" type="Light2D" parent="."]
- texture = ExtResource( 5 )
- color = Color( 1, 0.866667, 0, 1 )
- [connection signal="timeout" from="Timer" to="." method="next_frame"]
|