init
This commit is contained in:
21
scenes/star_fragment.tscn
Normal file
21
scenes/star_fragment.tscn
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://syx7whg8ye4j"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/star_fragment.gd" id="1_l6qpy"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdnapk5ubpkp5" path="res://assets/entities.png" id="2_tqeu4"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n3jj8"]
|
||||
atlas = ExtResource("2_tqeu4")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_xku4r"]
|
||||
radius = 12.0
|
||||
|
||||
[node name="StarFragment" type="CharacterBody2D" groups=["pickups"]]
|
||||
script = ExtResource("1_l6qpy")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_n3jj8")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, 1)
|
||||
shape = SubResource("CircleShape2D_xku4r")
|
||||
Reference in New Issue
Block a user