bullet hell, asteroid and reaction done,. i think ill drop space invaders , 40 minutes left

This commit is contained in:
Tabby 2025-05-17 17:20:23 +10:00
parent 82652730f2
commit c000461fd6
23 changed files with 377 additions and 23 deletions

View file

@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://chwuh2bbilfn1"]
[ext_resource type="Texture2D" uid="uid://b0sii6paqk3gm" path="res://sprites/asteroid.png" id="1_7d121"]
[ext_resource type="Script" uid="uid://dculqxasbgkte" path="res://games/asteroids/asteroid.gd" id="1_aye07"]
[sub_resource type="CircleShape2D" id="CircleShape2D_7d121"]
radius = 46.0435
[node name="Asteroid" type="Area2D" node_paths=PackedStringArray("sprite")]
collision_mask = 2
script = ExtResource("1_aye07")
sprite = NodePath("Sprite2D")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(0, -2)
scale = Vector2(0.3, 0.3)
texture = ExtResource("1_7d121")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_7d121")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]