19 lines
607 B
Text
19 lines
607 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Images/Gameplay/Star.png" type="Texture" id=1]
|
|
[ext_resource path="res://Scripts/StarScript.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 16, 16 )
|
|
|
|
[node name="Star" type="Sprite"]
|
|
scale = Vector2( 1.75, 1.75 )
|
|
texture = ExtResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="PlayerHitZone" type="Area2D" parent="."]
|
|
|
|
[node name="Shape" type="CollisionShape2D" parent="PlayerHitZone"]
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="body_entered" from="PlayerHitZone" to="." method="playerHitZoneEntered"]
|