|
| 1 | +[gd_scene load_steps=8 format=3 uid="uid://bhcw3bsqrv71g"] |
| 2 | + |
| 3 | +[ext_resource type="Shader" path="res://cutout_character/assets/moving_background.gdshader" id="1_n7j86"] |
| 4 | +[ext_resource type="Texture2D" uid="uid://b3x32i7av8vb2" path="res://2d_lighting_normal_map/assets/sun_pattern.png" id="2_t7fda"] |
| 5 | +[ext_resource type="Texture2D" uid="uid://4qq352a1j6m4" path="res://2d_lighting_normal_map/assets/dog_albedo.png" id="3_1lvlp"] |
| 6 | +[ext_resource type="Texture2D" uid="uid://djebcop0tgdes" path="res://2d_lighting_normal_map/assets/dog_normal.png" id="4_x0lag"] |
| 7 | +[ext_resource type="Script" path="res://additional/snippets/110-first-class-functions-assign.gd" id="5_ldbeg"] |
| 8 | + |
| 9 | +[sub_resource type="CanvasTexture" id="CanvasTexture_jhywx"] |
| 10 | +diffuse_texture = ExtResource("3_1lvlp") |
| 11 | +normal_texture = ExtResource("4_x0lag") |
| 12 | +specular_shininess = 0.1 |
| 13 | +texture_filter = 4 |
| 14 | + |
| 15 | +[sub_resource type="ShaderMaterial" id="ShaderMaterial_x1hlk"] |
| 16 | +shader = ExtResource("1_n7j86") |
| 17 | +shader_parameter/bg_color = Color(0.12549, 0.121569, 0.180392, 1) |
| 18 | +shader_parameter/pattern_color = Color(0.192157, 0.211765, 0.321569, 1) |
| 19 | +shader_parameter/scale = 4.0 |
| 20 | +shader_parameter/ratio = 0.56 |
| 21 | +shader_parameter/direction = Vector2(0.025, 0.025) |
| 22 | +shader_parameter/pattern_sampler = ExtResource("2_t7fda") |
| 23 | + |
| 24 | +[node name="Node2D" type="Node2D"] |
| 25 | + |
| 26 | +[node name="Dog" type="Sprite2D" parent="."] |
| 27 | +position = Vector2(940, 548) |
| 28 | +scale = Vector2(1.17366, 1.17366) |
| 29 | +texture = SubResource("CanvasTexture_jhywx") |
| 30 | +offset = Vector2(0, -28) |
| 31 | +script = ExtResource("5_ldbeg") |
| 32 | + |
| 33 | +[node name="Background" type="CanvasLayer" parent="."] |
| 34 | +layer = -10 |
| 35 | + |
| 36 | +[node name="Background" type="ColorRect" parent="Background"] |
| 37 | +material = SubResource("ShaderMaterial_x1hlk") |
| 38 | +anchors_preset = 15 |
| 39 | +anchor_right = 1.0 |
| 40 | +anchor_bottom = 1.0 |
| 41 | +grow_horizontal = 2 |
| 42 | +grow_vertical = 2 |
| 43 | +metadata/_edit_lock_ = true |
0 commit comments