mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-13 17:55:55 +00:00
Mapping
This commit is contained in:
parent
19843bd05b
commit
63ddb418a3
5 changed files with 84 additions and 5 deletions
35
Scenes/Props/BigTank.tscn
Normal file
35
Scenes/Props/BigTank.tscn
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://b0k2grrc8xp1l"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_xmxyc"]
|
||||
[ext_resource type="PackedScene" uid="uid://c53lpgcvld227" path="res://Scenes/Detritus.tscn" id="2_2ajyr"]
|
||||
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_cvv71"]
|
||||
[ext_resource type="Texture2D" uid="uid://csivp4uxfmard" path="res://Sprites/Props/BigTank.png" id="4_tvvum"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
||||
size = Vector2(32, 36)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_s3n6b"]
|
||||
size = Vector2(32, 36)
|
||||
|
||||
[node name="BigTank" type="Area2D"]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_xmxyc")
|
||||
Health = 16.0
|
||||
DebrisScene = ExtResource("2_2ajyr")
|
||||
ExplosionParticles = ExtResource("3_cvv71")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("4_tvvum")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -1)
|
||||
shape = SubResource("RectangleShape2D_0nhpj")
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
position = Vector2(0, -1)
|
||||
shape = SubResource("RectangleShape2D_s3n6b")
|
||||
Loading…
Add table
Add a link
Reference in a new issue