mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 09:21:16 +00:00
Camera fix and broken
This commit is contained in:
parent
91fcd73688
commit
dd9c666995
10 changed files with 202 additions and 139 deletions
43
Scenes/Actors/BrokenCamera.tscn
Normal file
43
Scenes/Actors/BrokenCamera.tscn
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://bai06iwuli4nj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cpuffmksk41n4" path="res://Sprites/Actors/Camera.png" id="1_d5e54"]
|
||||
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="2_dr41q"]
|
||||
[ext_resource type="Script" uid="uid://c4molirtle8a0" path="res://Scripts/Components/AutodeleteParticle.cs" id="3_fvpk1"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://b2opim6hbj1ir" path="res://Resources/Sprites/explosion_sprite_animation.tres" id="4_dr41q"]
|
||||
[ext_resource type="AudioStream" uid="uid://ds84e0m5l4i5d" path="res://SFX/404752__owlstorm__retro-video-game-sfx-explode-3.wav" id="5_fvpk1"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_05any"]
|
||||
atlas = ExtResource("1_d5e54")
|
||||
region = Rect2(80, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_sdgd5"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_05any")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="BrokenCamera" type="Node2D"]
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_sdgd5")
|
||||
|
||||
[node name="Explosion" parent="." instance=ExtResource("2_dr41q")]
|
||||
script = ExtResource("3_fvpk1")
|
||||
LifeTime = 5.0
|
||||
AutoStart = true
|
||||
|
||||
[node name="Explosion2" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = ExtResource("4_dr41q")
|
||||
autoplay = "default"
|
||||
frame = 8
|
||||
frame_progress = 1.0
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("5_fvpk1")
|
||||
autoplay = true
|
||||
max_distance = 100.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue