mirror of
https://git.tonybark.com/tonytins/legendsonline.git
synced 2025-06-25 23:04:43 -04:00
Minecraft-based player meshes
This commit is contained in:
parent
99c122a138
commit
9774f6de7f
15 changed files with 432 additions and 20 deletions
|
@ -1,20 +1,35 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://b0fl2hf2lbd0s"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://b0fl2hf2lbd0s"]
|
||||
|
||||
[ext_resource type="Script" path="res://source/GameScn.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cltqljwt37ib5" path="res://icon.png" id="2_24hj0"]
|
||||
[ext_resource type="PackedScene" uid="uid://baomgr7v1oi8q" path="res://scenes/PauseScn.tscn" id="3_gdh7b"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://bjpoyqf436huc" path="res://assets/zack.obj" id="3_itwju"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6ji7dkamlh7c" path="res://assets/zack.png" id="4_o6j42"]
|
||||
|
||||
[node name="GameScn" type="Node"]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vqte0"]
|
||||
albedo_texture = ExtResource("4_o6j42")
|
||||
|
||||
[node name="GameScn" type="Node3D"]
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(466, 192)
|
||||
texture = ExtResource("2_24hj0")
|
||||
|
||||
[node name="PauseScn" parent="." instance=ExtResource("3_gdh7b")]
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 3.0
|
||||
autostart = true
|
||||
|
||||
[node name="Skeleton3D" type="Skeleton3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.62414)
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Skeleton3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.62414)
|
||||
mesh = ExtResource("3_itwju")
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_vqte0")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.999964, 0.00853461, 0, -0.00853461, 0.999964, -2.05695, 2.32707, 2.94945)
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.998299, 0.0566293, 0.0138393, 0, 0.237398, -0.971413, -0.0582958, 0.969761, 0.236994, -27.2069, 8.89115, -21.9681)
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
|
|
3
client/scenes/Player.tscn
Normal file
3
client/scenes/Player.tscn
Normal file
|
@ -0,0 +1,3 @@
|
|||
[gd_scene format=3 uid="uid://dlred617a071v"]
|
||||
|
||||
[node name="Player" type="Node3D"]
|
Loading…
Add table
Add a link
Reference in a new issue