This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
Jessist/Scenes/Modules/Star.tscn
2022-06-18 13:05:48 +02:00

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"]