mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 16:41:15 +00:00
Activables
This commit is contained in:
parent
abff2ea59e
commit
bfe42b460b
9 changed files with 142 additions and 7 deletions
|
|
@ -1,7 +1,9 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://uaf5r6cd71hu"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://uaf5r6cd71hu"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_7ckvo"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2rvjbllnogx4" path="res://Sprites/LargeTank.png" id="1_7h6ee"]
|
||||
[ext_resource type="PackedScene" uid="uid://c53lpgcvld227" path="res://Scenes/Detritus.tscn" id="2_wpybp"]
|
||||
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_2db64"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
|
||||
atlas = ExtResource("1_7h6ee")
|
||||
|
|
@ -10,11 +12,16 @@ region = Rect2(0, 0, 64, 64)
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
||||
size = Vector2(61, 61)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_s3n6b"]
|
||||
size = Vector2(60, 57)
|
||||
|
||||
[node name="LargeTank" type="Area2D"]
|
||||
collision_layer = 65
|
||||
collision_mask = 11
|
||||
script = ExtResource("1_7ckvo")
|
||||
Health = 4.0
|
||||
DebrisScene = ExtResource("2_wpybp")
|
||||
ExplosionParticles = ExtResource("3_2db64")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_i3nxh")
|
||||
|
|
@ -23,3 +30,9 @@ texture = SubResource("AtlasTexture_i3nxh")
|
|||
visible = false
|
||||
position = Vector2(0.5, -0.5)
|
||||
shape = SubResource("RectangleShape2D_0nhpj")
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
position = Vector2(0, 1.5)
|
||||
shape = SubResource("RectangleShape2D_s3n6b")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue