.
This commit is contained in:
parent
4e50fedb50
commit
0958907539
@ -32,7 +32,7 @@ max_value = 200.0
|
|||||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
||||||
point_count = 3
|
point_count = 3
|
||||||
|
|
||||||
[sub_resource type="ViewportTexture" id="ViewportTexture_jbnx6"]
|
[sub_resource type="ViewportTexture" id="ViewportTexture_hfgjs"]
|
||||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
||||||
@ -41,7 +41,7 @@ blend_mode = 4
|
|||||||
no_depth_test = true
|
no_depth_test = true
|
||||||
diffuse_mode = 3
|
diffuse_mode = 3
|
||||||
specular_mode = 1
|
specular_mode = 1
|
||||||
albedo_texture = SubResource("ViewportTexture_jbnx6")
|
albedo_texture = SubResource("ViewportTexture_hfgjs")
|
||||||
texture_filter = 0
|
texture_filter = 0
|
||||||
texture_repeat = false
|
texture_repeat = false
|
||||||
billboard_mode = 1
|
billboard_mode = 1
|
||||||
|
|||||||
@ -33,7 +33,7 @@ max_value = 200.0
|
|||||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
||||||
point_count = 3
|
point_count = 3
|
||||||
|
|
||||||
[sub_resource type="ViewportTexture" id="ViewportTexture_e5vbb"]
|
[sub_resource type="ViewportTexture" id="ViewportTexture_l5xb2"]
|
||||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
||||||
@ -43,7 +43,7 @@ blend_mode = 4
|
|||||||
shading_mode = 0
|
shading_mode = 0
|
||||||
diffuse_mode = 3
|
diffuse_mode = 3
|
||||||
specular_mode = 1
|
specular_mode = 1
|
||||||
albedo_texture = SubResource("ViewportTexture_e5vbb")
|
albedo_texture = SubResource("ViewportTexture_l5xb2")
|
||||||
texture_filter = 0
|
texture_filter = 0
|
||||||
texture_repeat = false
|
texture_repeat = false
|
||||||
billboard_mode = 1
|
billboard_mode = 1
|
||||||
|
|||||||
@ -23,6 +23,7 @@ func _physics_process(delta: float) -> void:
|
|||||||
var i = int(Input.get_axis("move_left", "move_right"))
|
var i = int(Input.get_axis("move_left", "move_right"))
|
||||||
if i:
|
if i:
|
||||||
last_direction = Vector3(i, 1, 1)
|
last_direction = Vector3(i, 1, 1)
|
||||||
$MeshInstance3D.set_scale(last_direction)
|
var t: Material = $MeshInstance3D.material_override
|
||||||
|
t.uv1_scale = last_direction
|
||||||
|
|
||||||
move_and_slide()
|
move_and_slide()
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
[ext_resource type="Script" path="res://src/camera_3d.gd" id="2_cjtsr"]
|
[ext_resource type="Script" path="res://src/camera_3d.gd" id="2_cjtsr"]
|
||||||
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="4_bwb5d"]
|
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="4_bwb5d"]
|
||||||
|
|
||||||
[sub_resource type="ViewportTexture" id="ViewportTexture_qwn1y"]
|
[sub_resource type="ViewportTexture" id="ViewportTexture_nt42y"]
|
||||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5xxpu"]
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5xxpu"]
|
||||||
@ -15,7 +15,9 @@ viewport_path = NodePath("MeshInstance3D/SubViewport")
|
|||||||
next_pass = SubResource("ShaderMaterial_5xxpu")
|
next_pass = SubResource("ShaderMaterial_5xxpu")
|
||||||
transparency = 1
|
transparency = 1
|
||||||
diffuse_mode = 3
|
diffuse_mode = 3
|
||||||
albedo_texture = SubResource("ViewportTexture_qwn1y")
|
specular_mode = 1
|
||||||
|
albedo_texture = SubResource("ViewportTexture_nt42y")
|
||||||
|
billboard_mode = 1
|
||||||
|
|
||||||
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,7 @@ max_value = 200.0
|
|||||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
|
||||||
point_count = 3
|
point_count = 3
|
||||||
|
|
||||||
[sub_resource type="ViewportTexture" id="ViewportTexture_bk5lj"]
|
[sub_resource type="ViewportTexture" id="ViewportTexture_7ojb1"]
|
||||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
||||||
@ -41,11 +41,10 @@ next_pass = ExtResource("2_2icy7")
|
|||||||
transparency = 1
|
transparency = 1
|
||||||
diffuse_mode = 3
|
diffuse_mode = 3
|
||||||
specular_mode = 1
|
specular_mode = 1
|
||||||
albedo_texture = SubResource("ViewportTexture_bk5lj")
|
albedo_texture = SubResource("ViewportTexture_7ojb1")
|
||||||
billboard_mode = 1
|
billboard_mode = 1
|
||||||
|
|
||||||
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
||||||
lightmap_size_hint = Vector2i(7, 7)
|
|
||||||
size = Vector2(2, 2)
|
size = Vector2(2, 2)
|
||||||
|
|
||||||
[sub_resource type="SpineAnimationMix" id="SpineAnimationMix_piuq6"]
|
[sub_resource type="SpineAnimationMix" id="SpineAnimationMix_piuq6"]
|
||||||
|
|||||||
@ -54,14 +54,14 @@ size = Vector2(10, 5)
|
|||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_flcen"]
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_flcen"]
|
||||||
data = PackedVector3Array(5, 0, 5, -5, 0, 5, 5, 0, -5, -5, 0, 5, -5, 0, -5, 5, 0, -5)
|
data = PackedVector3Array(5, 0, 5, -5, 0, 5, 5, 0, -5, -5, 0, 5, -5, 0, -5, 5, 0, -5)
|
||||||
|
|
||||||
[sub_resource type="ViewportTexture" id="ViewportTexture_fj0e8"]
|
[sub_resource type="ViewportTexture" id="ViewportTexture_lyl4a"]
|
||||||
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mdr1l"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mdr1l"]
|
||||||
transparency = 2
|
transparency = 2
|
||||||
alpha_scissor_threshold = 0.5
|
alpha_scissor_threshold = 0.5
|
||||||
alpha_antialiasing_mode = 0
|
alpha_antialiasing_mode = 0
|
||||||
albedo_texture = SubResource("ViewportTexture_fj0e8")
|
albedo_texture = SubResource("ViewportTexture_lyl4a")
|
||||||
metallic_specular = 0.0
|
metallic_specular = 0.0
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lrfyr"]
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lrfyr"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user