mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-06-16 15:05:12 +02:00
b4eff8de9d
- Rebake lightmaps in Global Illumination demo with supersampling to improve quality. - Increase SDFGI quality in the Global Illumination demo (slightly more demanding, but better matches the quality standards of 2026). All demos had Project > Tools > Upgrade Project Files ran on them with 4.6.stable (4.6.stable.mono for demos in the `mono/` folder).
26 lines
978 B
Plaintext
26 lines
978 B
Plaintext
[gd_scene format=3 uid="uid://bg05306gsbj6e"]
|
|
|
|
[ext_resource type="Script" uid="uid://kw7rxpi5mkho" path="res://enemy.gd" id="1"]
|
|
[ext_resource type="Texture2D" uid="uid://ddt46htt2sica" path="res://enemy_crab.png" id="2_7p8lv"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="2"]
|
|
size = Vector2(76, 76)
|
|
|
|
[node name="Enemy" type="Node2D" unique_id=181952487 groups=["enemy"]]
|
|
position = Vector2(64, 160)
|
|
script = ExtResource("1")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1189025307]
|
|
texture_filter = 1
|
|
texture_repeat = 1
|
|
scale = Vector2(4, 4)
|
|
texture = ExtResource("2_7p8lv")
|
|
|
|
[node name="AttackArea" type="Area2D" parent="." unique_id=1038426625]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea" unique_id=184879998]
|
|
shape = SubResource("2")
|
|
|
|
[connection signal="body_entered" from="AttackArea" to="." method="_on_attack_area_body_entered"]
|
|
[connection signal="body_exited" from="AttackArea" to="." method="_on_attack_area_body_exited"]
|