first start on mirror ability
This commit is contained in:
commit
9b8caf97fb
24 changed files with 633 additions and 4 deletions
|
@ -9,6 +9,8 @@ radius = 41.0488
|
|||
|
||||
[node name="Goal" type="Area2D" node_paths=PackedStringArray("img", "img2")]
|
||||
scale = Vector2(0.5, 0.5)
|
||||
collision_layer = 0
|
||||
collision_mask = 4
|
||||
script = ExtResource("1_xjaxa")
|
||||
img = NodePath("GoalImg")
|
||||
img2 = NodePath("GoalBg")
|
||||
|
@ -23,3 +25,5 @@ texture = ExtResource("1_y0s3c")
|
|||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_fjcci")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
|
|
15
gmtk_2024/objects/MirrorOrb.tscn
Normal file
15
gmtk_2024/objects/MirrorOrb.tscn
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://cpa66thuxma15"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://hsp64ixwg2bb" path="res://temp_assets/goal.png" id="1_xnjup"]
|
||||
[ext_resource type="Texture2D" uid="uid://bs8mevd0fornj" path="res://temp_assets/goal_bg.png" id="2_iknpl"]
|
||||
|
||||
[node name="MirrorOrb" type="Area2D"]
|
||||
|
||||
[node name="Orb" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.4, 0.4)
|
||||
texture = ExtResource("1_xnjup")
|
||||
|
||||
[node name="Aura" type="Sprite2D" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.227451)
|
||||
z_index = -1
|
||||
texture = ExtResource("2_iknpl")
|
Loading…
Add table
Add a link
Reference in a new issue