mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 09:03:46 +00:00
Prisms and hit buttons
This commit is contained in:
parent
1a898cb7b8
commit
dbca78c0b7
8 changed files with 141 additions and 6 deletions
17
Scenes/Actors/prism.tscn
Normal file
17
Scenes/Actors/prism.tscn
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://pvpt2af54s1a"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://yf367y2o5oyh" path="res://Scripts/Actors/Prism.cs" id="1_gnsdu"]
|
||||
[ext_resource type="Texture2D" uid="uid://tm14o2xkomjb" path="res://Sprites/Icon.png" id="2_3vm23"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_3vm23"]
|
||||
|
||||
[node name="Prism" type="Area2D"]
|
||||
collision_layer = 16
|
||||
collision_mask = 136
|
||||
script = ExtResource("1_gnsdu")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_3vm23")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_3vm23")
|
||||
Loading…
Add table
Add a link
Reference in a new issue