Comet now has one of four different sprites

This commit is contained in:
2024-05-16 14:37:49 -04:00
parent 4f025868e6
commit 5ad6c6d3b1
11 changed files with 116 additions and 4 deletions

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=13 format=3 uid="uid://bsonrs8vhtly8"]
[ext_resource type="Texture2D" uid="uid://54mfrkbp1kcg" path="res://assets/img/comet.png" id="1_6q67h"]
[ext_resource type="Script" path="res://scripts/comet.gd" id="1_33qxe"]
[ext_resource type="Shader" path="res://assets/shaders/PixelExplosion.gdshader" id="2_2l5nu"]
[ext_resource type="Texture2D" uid="uid://b8swdgkngg7a3" path="res://assets/img/comet2.png" id="3_7qdji"]
[ext_resource type="AudioStream" uid="uid://eb71wdy8dy4x" path="res://assets/sfx/explosion.wav" id="3_awuk4"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_wa814"]
@ -114,10 +114,11 @@ script = ExtResource("1_33qxe")
[node name="Sprite2D" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_6s6e6")
texture = ExtResource("1_6q67h")
texture = ExtResource("3_7qdji")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array(19, -27, 22, -25, 25, -24, 27, -21, 31, -17, 32, -3, 32, 27, 27, 30, -8, 29, -17, 28, -25, 26, -32, 22, -32, 18, -23, 8, -20, 7, -21, 2, -29, -17, -29, -26, -27, -29, -25, -32, -14, -32, 0, -30)
position = Vector2(0, -1.5)
polygon = PackedVector2Array(17, -29.5, 30, -19.5, 31, 2.5, 32, 28.5, 18, 33.5, -25, 32.5, -29, 25.5, -31, -18.5, -22, -26.5)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {