mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 21:43:46 +00:00
Refactored locations
This commit is contained in:
parent
e334ac6343
commit
b7defbb209
16 changed files with 65 additions and 28 deletions
39
Scenes/Props/MediumLiquidTank.tscn
Normal file
39
Scenes/Props/MediumLiquidTank.tscn
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://7cpk3c3d8cl7"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_laidj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dqx1di84tkfft" path="res://Sprites/MediumLiquidTanks.png" id="1_mv1jg"]
|
||||
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="2_1wfyv"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
|
||||
atlas = ExtResource("1_mv1jg")
|
||||
region = Rect2(64, 96, 32, 32)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
||||
size = Vector2(28, 24)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b7nn4"]
|
||||
size = Vector2(24, 14)
|
||||
|
||||
[node name="LargeTank" type="Area2D"]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_laidj")
|
||||
Health = 2.0
|
||||
ExplosionParticles = ExtResource("2_1wfyv")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_i3nxh")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
shape = SubResource("RectangleShape2D_0nhpj")
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
gravity_scale = 0.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
position = Vector2(0, -3)
|
||||
shape = SubResource("RectangleShape2D_b7nn4")
|
||||
Loading…
Add table
Add a link
Reference in a new issue