25 lines
970 B
Text
25 lines
970 B
Text
[gd_scene load_steps=5 format=3 uid="uid://c4tcbum3gjuwf"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/boost.gd" id="1_dsr6r"]
|
|
[ext_resource type="Texture2D" uid="uid://dlly1tyauqodl" path="res://assets/sprites/boost_arrow.png" id="1_ogva3"]
|
|
[ext_resource type="AudioStream" uid="uid://chhyiookx3ilk" path="res://assets/sounds/power_up.wav" id="3_h4h5a"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_qh1nf"]
|
|
radius = 13.0
|
|
|
|
[node name="Boost" type="Area2D"]
|
|
collision_mask = 2
|
|
script = ExtResource("1_dsr6r")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.139634, 0.139634)
|
|
texture = ExtResource("1_ogva3")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
scale = Vector2(0.98759, 0.987433)
|
|
shape = SubResource("CircleShape2D_qh1nf")
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
|
stream = ExtResource("3_h4h5a")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|