mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 08:55:35 +00:00
Added new props
This commit is contained in:
parent
791444654a
commit
83ddef3e5a
4 changed files with 80 additions and 5 deletions
File diff suppressed because one or more lines are too long
64
Scenes/Props/Stacked_Box_Yellow.tscn
Normal file
64
Scenes/Props/Stacked_Box_Yellow.tscn
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://0xqdeirmsh0t"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_115cq"]
|
||||
[ext_resource type="PackedScene" uid="uid://c6k01tus0815r" path="res://Scenes/Props/Box_Yellow.tscn" id="2_115cq"]
|
||||
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_i6ds3"]
|
||||
[ext_resource type="Texture2D" uid="uid://ecw5m6h7sk82" path="res://Sprites/Box_Yellow.png" id="4_wc5si"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lkl01"]
|
||||
atlas = ExtResource("4_wc5si")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_onfrq"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lkl01")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
||||
size = Vector2(12, 10)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
||||
size = Vector2(11, 19)
|
||||
|
||||
[node name="Yellow Box" type="Area2D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_115cq")
|
||||
Health = 4.0
|
||||
ExplosionRadius = 0.0
|
||||
ExplosionDamage = 0.0
|
||||
DebrisScene = ExtResource("2_115cq")
|
||||
ExplosionParticles = ExtResource("3_i6ds3")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_onfrq")
|
||||
|
||||
[node name="AnimatedSprite2D2" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(0, -9)
|
||||
sprite_frames = SubResource("SpriteFrames_onfrq")
|
||||
|
||||
[node name="RigidBody2D" type="StaticBody2D" parent="."]
|
||||
visible = false
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
position = Vector2(0, -3)
|
||||
shape = SubResource("RectangleShape2D_ss2y0")
|
||||
|
||||
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
|
||||
visible = false
|
||||
radius = 8.36
|
||||
vertices = PackedVector2Array(-6, -7, 6, -7, 6, 7, -6, 7)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0.5, -3.5)
|
||||
shape = SubResource("RectangleShape2D_2ewfl")
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="TileSet" load_steps=95 format=3 uid="uid://6k28roiljylj"]
|
||||
[gd_resource type="TileSet" load_steps=96 format=3 uid="uid://6k28roiljylj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bty7p61v46chx" path="res://Resources/Textures/Tilemap_Canvas.tres" id="1_u4jco"]
|
||||
[ext_resource type="PackedScene" uid="uid://bj28qiai2x2ar" path="res://Scenes/Props/Barrel.tscn" id="2_cxg4b"]
|
||||
|
|
@ -23,6 +23,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://pcjp4du4mahg" path="res://Scenes/Props/Stacked_Box_Wood.tscn" id="12_hmcyg"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs1s0wrvtng0b" path="res://Scenes/Props/Stacked_Box_Red.tscn" id="14_7jj0l"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0823tt86vjcm" path="res://Scenes/Props/Stacked_Box_Blue.tscn" id="15_egwuh"]
|
||||
[ext_resource type="PackedScene" uid="uid://0xqdeirmsh0t" path="res://Scenes/Props/Stacked_Box_Yellow.tscn" id="16_6xcdi"]
|
||||
[ext_resource type="Texture2D" uid="uid://v310x6wx801b" path="res://Tilesets/Beams2.png" id="19_hupu0"]
|
||||
[ext_resource type="Texture2D" uid="uid://buq811bhduevx" path="res://ExternalMaterial/Decals/Decals.png" id="20_hfdld"]
|
||||
[ext_resource type="Texture2D" uid="uid://bku3l81bie67j" path="res://ExternalMaterial/Tubes/Tubes.png" id="21_tnjhd"]
|
||||
|
|
@ -1283,6 +1284,7 @@ scenes/18/scene = ExtResource("11_wdun3")
|
|||
scenes/19/scene = ExtResource("12_hmcyg")
|
||||
scenes/20/scene = ExtResource("14_7jj0l")
|
||||
scenes/21/scene = ExtResource("15_egwuh")
|
||||
scenes/22/scene = ExtResource("16_6xcdi")
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_tnjhd"]
|
||||
texture = ExtResource("20_hfdld")
|
||||
|
|
@ -2391,6 +2393,14 @@ texture = ExtResource("26_0p3v4")
|
|||
8:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_63v5g")
|
||||
9:0/0 = 0
|
||||
9:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_63v5g")
|
||||
10:0/0 = 0
|
||||
10:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:0/0 = 0
|
||||
11:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:0/0 = 0
|
||||
12:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:0/0 = 0
|
||||
13:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hfdld"]
|
||||
texture = ExtResource("27_0p3v4")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue