关卡联通关系/ 2.5d渲染拉伸临时方案

master
chendian 2 years ago
parent 0f2aebd967
commit 5888b376c7

@ -47,7 +47,7 @@ MetSys="*res://addons/MetroidvaniaSystem/Nodes/Singleton.tscn"
window/size/viewport_width=640
window/size/viewport_height=360
window/size/always_on_top=true
window/stretch/mode="canvas_items"
window/stretch/mode="viewport"
window/stretch/scale_mode="integer"
[editor_plugins]
@ -142,4 +142,6 @@ settings_file="res://setting/MetSysSettings.tres"
[rendering]
lights_and_shadows/directional_shadow/soft_shadow_filter_quality=4
textures/canvas_textures/default_texture_filter=0
textures/light_projectors/filter=1
lights_and_shadows/positional_shadow/atlas_quadrant_2_subdiv=4

File diff suppressed because one or more lines are too long

@ -1,16 +1,40 @@
[gd_scene load_steps=4 format=3 uid="uid://b3rp0a5do2mm6"]
[gd_scene load_steps=7 format=3 uid="uid://b3rp0a5do2mm6"]
[ext_resource type="ArrayMesh" uid="uid://caii2ypk4lb1k" path="res://resource/mesh_level/block_center.vox" id="1_8nl8s"]
[ext_resource type="ArrayMesh" uid="uid://c6g1c31dd86yp" path="res://resource/mesh_level/block_corner.vox" id="2_870el"]
[ext_resource type="ArrayMesh" uid="uid://d1awgblbh4vmq" path="res://resource/mesh_level/block_edge.vox" id="3_0q8sx"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_stlyj"]
data = PackedVector3Array(-0.32, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, -0.32, 0.32, -0.32, 0.32, 0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, 0.32, 0.32, -0.32, 0.32, -0.32, 0.32, -0.32, -0.32, 0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, -0.32, -0.32, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, -0.32, -0.32, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.32, -0.32, -0.32, 0.32, -0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.32, 0.32, -0.32, -0.32, 0.32, 0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, 0.32, -0.32, -0.32, 0.32, 0.32, -0.32)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_urjlt"]
data = PackedVector3Array(-0.32, 0.32, -0.32, -0.3, 0.32, -0.32, -0.3, 0.32, 0.32, -0.3, 0.32, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, -0.32, -0.3, 0.32, -0.3, -0.28, 0.32, -0.3, -0.28, 0.32, 0.32, -0.28, 0.32, 0.32, -0.3, 0.32, 0.32, -0.3, 0.32, -0.3, -0.3, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, 0.32, -0.3, 0.32, 0.32, -0.3, -0.3, 0.32, -0.3, -0.3, 0.32, -0.32, -0.28, 0.32, -0.28, 0.32, 0.32, -0.28, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.28, 0.32, 0.32, -0.28, 0.32, -0.28, -0.28, 0.32, -0.3, 0.32, 0.32, -0.3, 0.32, 0.32, -0.28, 0.32, 0.32, -0.28, -0.28, 0.32, -0.28, -0.28, 0.32, -0.3, -0.3, -0.32, 0.32, -0.3, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, 0.32, -0.3, -0.32, 0.32, -0.28, -0.32, 0.32, -0.28, -0.32, -0.3, -0.3, -0.32, -0.3, -0.3, -0.32, -0.3, -0.3, -0.32, 0.32, -0.28, -0.32, 0.32, 0.32, -0.32, -0.3, 0.32, -0.32, -0.32, -0.3, -0.32, -0.32, -0.3, -0.32, -0.32, -0.3, -0.32, -0.3, 0.32, -0.32, -0.3, 0.32, -0.32, 0.32, 0.32, -0.32, -0.28, -0.28, -0.32, -0.28, -0.28, -0.32, -0.28, -0.28, -0.32, 0.32, 0.32, -0.32, 0.32, 0.32, -0.32, -0.28, 0.32, -0.32, -0.3, -0.28, -0.32, -0.3, -0.28, -0.32, -0.3, -0.28, -0.32, -0.28, 0.32, -0.32, -0.28, -0.32, 0.32, -0.32, -0.32, 0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, -0.32, -0.32, 0.32, -0.32, 0.32, 0.32, -0.28, 0.32, -0.32, -0.28, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.28, 0.32, 0.32, -0.3, 0.32, -0.32, -0.3, 0.32, -0.32, -0.28, 0.32, -0.32, -0.28, 0.32, 0.32, -0.28, 0.32, 0.32, -0.3, 0.32, 0.32, -0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.3, 0.32, -0.32, -0.3, 0.32, 0.32, -0.3, 0.32, 0.32, -0.32, -0.32, -0.32, 0.32, -0.32, 0.32, 0.32, -0.3, 0.32, 0.32, -0.3, 0.32, 0.32, -0.3, -0.32, 0.32, -0.32, -0.32, 0.32, -0.3, -0.32, 0.32, -0.3, 0.32, 0.32, -0.28, 0.32, 0.32, -0.28, 0.32, 0.32, -0.28, -0.32, 0.32, -0.3, -0.32, 0.32, -0.28, -0.32, 0.32, -0.28, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.32, 0.32, -0.28, -0.32, 0.32, 0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, 0.32, -0.32, -0.32, 0.32, 0.32, -0.32)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wreew"]
data = PackedVector3Array(-0.32, 0.32, -0.32, -0.3, 0.32, -0.32, -0.3, 0.32, 0.32, -0.3, 0.32, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, -0.32, -0.3, 0.32, -0.32, -0.28, 0.32, -0.32, -0.28, 0.32, 0.32, -0.28, 0.32, 0.32, -0.3, 0.32, 0.32, -0.3, 0.32, -0.32, -0.28, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.28, 0.32, 0.32, -0.28, 0.32, -0.32, -0.3, -0.32, 0.32, -0.3, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, 0.32, -0.3, -0.32, 0.32, -0.28, -0.32, 0.32, -0.28, -0.32, -0.32, -0.3, -0.32, -0.32, -0.3, -0.32, -0.32, -0.3, -0.32, 0.32, -0.28, -0.32, 0.32, 0.32, -0.32, 0.32, 0.32, -0.32, -0.32, -0.28, -0.32, -0.32, -0.28, -0.32, -0.32, -0.28, -0.32, 0.32, 0.32, -0.32, 0.32, -0.32, 0.32, -0.32, -0.32, 0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, -0.32, -0.32, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, -0.32, -0.32, 0.32, -0.32, 0.32, 0.32, -0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.32, -0.32, -0.32, 0.32, -0.32, 0.32, 0.32, -0.3, 0.32, 0.32, -0.3, 0.32, 0.32, -0.3, -0.32, 0.32, -0.32, -0.32, 0.32, -0.3, -0.32, 0.32, -0.3, 0.32, 0.32, -0.28, 0.32, 0.32, -0.28, 0.32, 0.32, -0.28, -0.32, 0.32, -0.3, -0.32, 0.32, -0.28, -0.32, 0.32, -0.28, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, 0.32, -0.32, 0.32, -0.28, -0.32, 0.32, -0.3, 0.32, -0.32, -0.32, 0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.32, -0.3, -0.32, -0.32, -0.3, 0.32, -0.32, -0.28, 0.32, -0.32, -0.3, 0.32, -0.32, -0.3, -0.32, -0.32, -0.3, -0.32, -0.32, -0.28, -0.32, -0.32, -0.28, 0.32, -0.32, 0.32, 0.32, -0.32, -0.28, 0.32, -0.32, -0.28, -0.32, -0.32, -0.28, -0.32, -0.32, 0.32, -0.32, -0.32, 0.32, 0.32, -0.32)
[node name="MeshLibrary" type="Node3D"]
[node name="BlockCenter" type="MeshInstance3D" parent="."]
mesh = ExtResource("1_8nl8s")
[node name="StaticBody3D" type="StaticBody3D" parent="BlockCenter"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="BlockCenter/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_stlyj")
[node name="BlockCorner" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_870el")
[node name="StaticBody3D" type="StaticBody3D" parent="BlockCorner"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="BlockCorner/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_urjlt")
[node name="BlockEdge" type="MeshInstance3D" parent="."]
mesh = ExtResource("3_0q8sx")
[node name="StaticBody3D" type="StaticBody3D" parent="BlockEdge"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="BlockEdge/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_wreew")

@ -39,7 +39,7 @@ skill_float_speed = 0.1
[node name="View" type="AnimatedSprite3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1.414, 0, 0, 0, 1, 0, 0.376646, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.376646, 0)
layers = 524288
material_override = SubResource("ShaderMaterial_3u7mw")
lod_bias = 0.001

@ -1,13 +1,13 @@
[gd_scene load_steps=5 format=3 uid="uid://ba7pkdaq5y8nl"]
[gd_scene load_steps=4 format=3 uid="uid://ba7pkdaq5y8nl"]
[ext_resource type="PackedScene" uid="uid://ksxwg0alt2us" path="res://scene/character/character.tscn" id="1_pot50"]
[ext_resource type="Script" path="res://script/character/player/combo.gd" id="2_i44w8"]
[ext_resource type="Script" path="res://script/character/player/player_input.gd" id="3_n07go"]
[ext_resource type="PackedScene" uid="uid://do7abukgd54js" path="res://addons/MetroidvaniaSystem/Nodes/RoomInstance.tscn" id="4_y06jp"]
[node name="Character" instance=ExtResource("1_pot50")]
[node name="View" parent="." index="2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.693056, 0)
animation = &"long_air_attack01"
[node name="PlayerInput" type="Node3D" parent="." index="8"]
@ -17,5 +17,3 @@ script = ExtResource("3_n07go")
[node name="Combo" type="Node3D" parent="." index="9"]
unique_name_in_owner = true
script = ExtResource("2_i44w8")
[node name="RoomInstance" parent="." index="10" instance=ExtResource("4_y06jp")]

@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://eoydwrunmm5n"]
[gd_scene load_steps=9 format=3 uid="uid://eoydwrunmm5n"]
[ext_resource type="Script" path="res://script/manager/game_manager.gd" id="1_q2t80"]
[ext_resource type="Script" path="res://script/manager/level_manager.gd" id="2_ewhkj"]
@ -8,17 +8,31 @@
[ext_resource type="PackedScene" uid="uid://cc525u8auypjf" path="res://scene/ui/profile_screen.tscn" id="6_u1fxn"]
[ext_resource type="PackedScene" uid="uid://126wph4owvoy" path="res://scene/ui/hud_screen.tscn" id="7_gx646"]
[ext_resource type="Script" path="res://script/manager/effect_manager.gd" id="8_0jv87"]
[ext_resource type="Texture2D" uid="uid://bjv7f83tdgq17" path="res://render/texture/shape/explodeDecal.png" id="9_4x7bs"]
[node name="Root" type="Node3D"]
[node name="GameManager" type="Node3D" parent="."]
script = ExtResource("1_q2t80")
[node name="LevelManager" type="Node3D" parent="GameManager"]
[node name="Stage" type="SubViewportContainer" parent="GameManager"]
offset_top = -74.558
offset_right = 640.0
offset_bottom = 285.442
scale = Vector2(1, 1.414)
stretch = true
[node name="SubViewport" type="SubViewport" parent="GameManager/Stage"]
handle_input_locally = false
snap_2d_vertices_to_pixel = true
canvas_item_default_texture_filter = 0
positional_shadow_atlas_16_bits = false
size = Vector2i(640, 360)
render_target_update_mode = 4
[node name="LevelManager" type="Node3D" parent="GameManager/Stage/SubViewport"]
script = ExtResource("2_ewhkj")
[node name="CameraManager" type="Camera3D" parent="GameManager"]
[node name="CameraManager" type="Camera3D" parent="GameManager/Stage/SubViewport"]
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 4.01178, 2.85449)
projection = 1
current = true
@ -27,10 +41,10 @@ frustum_offset = Vector2(2, 0)
far = 20.0
script = ExtResource("4_yqiun")
[node name="CharacterManager" type="Node3D" parent="GameManager"]
[node name="CharacterManager" type="Node3D" parent="GameManager/Stage/SubViewport"]
script = ExtResource("4_oonkb")
[node name="EffectManager" type="Node3D" parent="GameManager"]
[node name="EffectManager" type="Node3D" parent="GameManager/Stage/SubViewport"]
script = ExtResource("8_0jv87")
[node name="UIManager" type="Node3D" parent="GameManager"]
@ -42,9 +56,4 @@ script = ExtResource("8_0jv87")
[node name="EditorTool" type="Node3D" parent="."]
script = ExtResource("5_n3qhi")
[node name="Decal" type="Decal" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.233297, 0.230601, 0)
size = Vector3(0.5, 0.36145, 0.5)
texture_albedo = ExtResource("9_4x7bs")
modulate = Color(0, 0, 0, 1)
cull_mask = 1
[connection signal="item_rect_changed" from="GameManager/Stage" to="GameManager/Stage" method="_on_item_rect_changed"]

@ -1,17 +1,18 @@
[gd_scene load_steps=3 format=3 uid="uid://viwd61u8u8h0"]
[ext_resource type="Script" path="res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd" id="1_nundc"]
[ext_resource type="PackedScene" uid="uid://do7abukgd54js" path="res://addons/MetroidvaniaSystem/Nodes/RoomInstance.tscn" id="1_c4hhn"]
[ext_resource type="MeshLibrary" uid="uid://bbya6804fmu42" path="res://resource/mesh_library/default.tres" id="2_qqvc4"]
[node name="Level" type="Node3D"]
[node name="RoomInstance" type="Node3D" parent="."]
script = ExtResource("1_nundc")
[node name="RoomInstance" parent="." instance=ExtResource("1_c4hhn")]
[node name="Light" type="Node3D" parent="."]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Light"]
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
shadow_enabled = true
shadow_opacity = 0.5
[node name="Ground" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.4, -1, 3.6)

@ -0,0 +1,27 @@
[gd_scene load_steps=3 format=3 uid="uid://cmyn7g0lp71uj"]
[ext_resource type="PackedScene" uid="uid://do7abukgd54js" path="res://addons/MetroidvaniaSystem/Nodes/RoomInstance.tscn" id="1_y5r6k"]
[ext_resource type="MeshLibrary" uid="uid://bbya6804fmu42" path="res://resource/mesh_library/default.tres" id="2_qmegy"]
[node name="Level" type="Node3D"]
[node name="RoomInstance" parent="." instance=ExtResource("1_y5r6k")]
[node name="Light" type="Node3D" parent="."]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Light"]
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
[node name="Ground" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.4, -1, 7.2)
use_collision = true
size = Vector3(12.8, 2, 14.4)
[node name="GridMap" type="GridMap" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.4)
mesh_library = ExtResource("2_qmegy")
cell_size = Vector3(0.64, 0.64, 0.64)
data = {
"cells": PackedInt32Array(0, 1, 655362, 0, 0, 0, 19, 1, 0, 19, 0, 0, 19, 2, 0, 19, 3, 0, 19, 7, 0, 19, 8, 0, 19, 9, 0, 19, 10, 0, 0, 2, 655362, 0, 3, 655362, 0, 9, 655362, 0, 5, 655362, 0, 4, 655362, 0, 10, 0, 0, 65535, 1376258, 1, 65535, 1376258, 2, 65535, 1376258, 3, 65535, 1376258, 4, 65535, 1376258, 5, 65535, 1376258, 6, 65535, 1376258, 7, 65535, 1376258, 8, 65535, 1376258, 9, 65535, 1376258, 12, 65535, 1376258, 13, 65535, 1376258, 14, 65535, 1376258, 15, 65535, 1376258, 16, 65535, 1376258, 17, 65535, 1376258, 18, 65535, 1376258, 19, 65535, 1376258, 19, 11, 2, 19, 12, 2, 19, 13, 2, 19, 14, 2, 19, 15, 2, 19, 16, 2, 19, 17, 2, 19, 18, 2, 19, 19, 2, 19, 20, 2, 19, 21, 2, 17, 21, 0, 18, 21, 0, 16, 21, 0, 15, 21, 0, 14, 21, 0, 13, 21, 0, 12, 21, 0, 7, 21, 0, 6, 21, 0, 5, 21, 0, 4, 21, 0, 3, 21, 0, 2, 21, 0, 1, 21, 0, 0, 21, 0, 0, 20, 0, 0, 19, 0, 0, 18, 0, 0, 17, 0, 0, 16, 0, 0, 15, 0, 0, 14, 0, 0, 13, 0, 65535, 13, 0, 0, 11, 0, 0, 12, 0)
}
metadata/_editor_floor_ = Vector3(0, 0, 0)

@ -2,7 +2,6 @@ extends Node3D
#基本信息
const pixel_size : float = 0.02
const sprite_scale : float = 1.414
#技能系统
const input_alive_time : float = 0.5

@ -0,0 +1,12 @@
extends SubViewportContainer
var camera_angle := deg_to_rad(45.0)
func on_resize():
$SubViewport.size.y = $SubViewport.size.y * cos(camera_angle)
func _ready():
on_resize()
func _on_item_rect_changed():
on_resize()

@ -4,6 +4,12 @@ extends Node3D
func get_resource_name(resource:Resource) -> String:
return resource.resource_path.get_file().trim_suffix('.tres') #todo 性能
func snap_vector3(value:Vector3) -> Vector3:
return Vector3(snap_float(value.x),snap_float(value.y),snap_float(value.z))
func snap_float(value:float) -> float:
return floor(value/Setting.pixel_size)*Setting.pixel_size
func vector_reduce(vector:Vector2,reduce:float) -> Vector2:
var len = vector.length()
if len == 0:

@ -13,14 +13,13 @@ func init(id:int,cfg:CharacterCfg,team:Enum.ETeam):
status.id = id
status.team = team
status.cfg = cfg
var half_height = Setting.pixel_size * Setting.sprite_scale * cfg.sprite_harf_height
var width = Setting.pixel_size * Setting.sprite_scale * cfg.sprite_width
var half_height = Setting.pixel_size * cfg.sprite_harf_height
var width = Setting.pixel_size * cfg.sprite_width
var body_scale = Vector3(width,half_height*2,width)
collision.position = Vector3(0,half_height,0)
collision.scale = body_scale
status.basic_offset = Vector3(0,half_height,0)
status.ui_offset = Vector3(0,half_height*2.2,0)
view.scale = Vector3(1,Setting.sprite_scale,1)
view.init(cfg.sprite_frames)
skill.init()
effect.init(cfg.type,body_scale)

@ -143,6 +143,7 @@ func update_flip():
func update_view():
position = status.basic_offset + status.shake_offset
global_position = Util.snap_vector3(global_position)
func _on_animation_finished():
update_trans(true)
@ -164,7 +165,7 @@ func clone(target:AnimatedSprite3D):
target.animation = animation
target.frame = frame
target.frame_progress = frame_progress
target.scale = scale
target.scale.x = scale.x
func play_animation(animation_name:String):
if animation_name == animation:

@ -11,12 +11,11 @@ func _ready():
func init():
MetSys.set_save_data()
goto_map(MetSys.get_full_room_path(starting_map))
MetSys.room_changed.connect(on_room_changed, CONNECT_DEFERRED)
MetSys.room_changed.connect(on_room_changed)
func goto_map(map_path: String):
var prev_map_position := Vector2i.MAX
if map:
# If some map is already loaded (which is true anytime other than the beginning), remember its position and free it.
prev_map_position = MetSys.get_current_room_instance().get_base_coords()
map.queue_free()
map = null
@ -25,11 +24,15 @@ func goto_map(map_path: String):
add_child(map)
MetSys.current_layer = MetSys.get_current_room_instance().get_layer()
var level_size = MetSys.get_current_room_instance().get_size()
print(level_size)
SignalManager.level_size_change.emit(level_size)
if prev_map_position != Vector2i.MAX:
var player = Global.character_mgr.get_player()
var pos_pre = player.pos()
var pos_change_xz = Vector2(MetSys.get_current_room_instance().get_base_coords() - prev_map_position) * MetSys.settings.in_game_cell_size
pos_pre.x -= pos_change_xz.x
pos_pre.z -= pos_change_xz.y
player.set_pos(pos_pre)
func on_room_changed(target_map: String):
if target_map.is_absolute_path():
goto_map(target_map)
else:
goto_map(MetSys.get_full_room_path(target_map))
goto_map(MetSys.get_full_room_path(target_map))

@ -28,6 +28,7 @@ func _process(delta):
func on_character_create(id:int,team:Enum.ETeam,pos:Vector3):
#if team == Enum.ETeam.Player:
# return
return
var new_headbar_meta = HeadbarMeta.new()
new_headbar_meta.pos = pos
var new_headbar = headbar_scene.instantiate()

@ -11,7 +11,7 @@
[2,0,0]
0,0,0,-1|11d4e3,,,,||
[0,-1,0]
0,0,0,0|11d4e3,,,,||/level0101.tscn
0,1,0,0|11d4e3,,,,||/level0101.tscn
[2,2,0]
0,0,0,0|11d4e3,,,,||
[-1,2,0]
@ -19,9 +19,9 @@
[1,2,0]
0,0,-1,0|||
[0,0,0]
0,-1,0,0|||
0,-1,0,1|||/level0102.tscn
[0,1,0]
0,0,0,-1|||
0,0,0,-1|||/level0102.tscn
[3,1,0]
0,0,0,0|c70000,,,,||
[-2,1,0]

Loading…
Cancel
Save