Files
CultManor/game/platform/abstract_platform.tscn
T
2026-06-10 22:48:44 +03:00

43 lines
1.5 KiB
Plaintext

[gd_scene format=3 uid="uid://guvijso3k6eq"]
[ext_resource type="Script" uid="uid://kjy0t56tgpxs" path="res://game/platform/abstract_platform.gd" id="1_426vp"]
[ext_resource type="Texture2D" uid="uid://cpcuokqv8u2xa" path="res://images/level/platform.png" id="2_31xwx"]
[ext_resource type="Shader" uid="uid://d4hm3vjx1rhsf" path="res://game/shaders/platform.gdshader" id="2_jsq8n"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2ivtb"]
resource_local_to_scene = true
shader = ExtResource("2_jsq8n")
shader_parameter/tile_size = 8.0
shader_parameter/platform_width = 24.0
shader_parameter/atlas = ExtResource("2_31xwx")
shader_parameter/seed = 0.038039055
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jsq8n"]
resource_local_to_scene = true
size = Vector2(16, 8)
[node name="AbstractPlatform" type="Node2D" unique_id=1226827206]
script = ExtResource("1_426vp")
[node name="PlatformRect" type="ColorRect" parent="." unique_id=646284480]
material = SubResource("ShaderMaterial_2ivtb")
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -8.0
offset_top = -4.0
offset_right = 8.0
offset_bottom = 4.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
[node name="IconSprite" type="AnimatedSprite2D" parent="." unique_id=287774650]
[node name="AnimatableBody2D" type="AnimatableBody2D" parent="." unique_id=908936954]
[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatableBody2D" unique_id=175449124]
shape = SubResource("RectangleShape2D_jsq8n")