This repository has been archived on 2025-01-17. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
blood-and-mortar/objects/weapons/projectiles/brick.tscn

27 lines
1.2 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://dlnu4b8eydxui"]
[ext_resource type="PackedScene" uid="uid://ccyfbp8cypnyy" path="res://objects/weapons/projectiles/pickup.tscn" id="1_4sas3"]
[ext_resource type="Texture2D" uid="uid://bd3mcp3gds2vg" path="res://textures/projectiles/brick.png" id="2_evkjl"]
[ext_resource type="Shader" path="res://assets/shaders/outline.gdshader" id="2_irmt4"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_gpkcl"]
resource_local_to_scene = true
shader = ExtResource("2_irmt4")
shader_parameter/outline_enabled = false
shader_parameter/outline_color = Color(0.358343, 0.568333, 0.699081, 1)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7kw5j"]
size = Vector2(6, 4)
[node name="Brick" instance=ExtResource("1_4sas3")]
material = SubResource("ShaderMaterial_gpkcl")
[node name="Sprite2D" type="Sprite2D" parent="." index="0"]
use_parent_material = true
texture = ExtResource("2_evkjl")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
shape = SubResource("RectangleShape2D_7kw5j")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Pickup" index="0"]
shape = SubResource("RectangleShape2D_7kw5j")