feat: complete native client rendering parity updates
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
@tool
|
||||
extends SceneTree
|
||||
|
||||
func _init() -> void:
|
||||
var tw = Metin2World.new()
|
||||
tw.set("assets_root", "pack://")
|
||||
tw.set("map_path", "metin2_map_a1")
|
||||
tw.set("auto_load", false)
|
||||
tw.call("set_focus_tile", Vector2i(2, 2))
|
||||
if tw.call("load_map"):
|
||||
for y in range(68200, 66000, -100):
|
||||
var h = float(tw.call("sample_height", 59700.0 / 100.0, float(y) / 100.0)) * 100.0
|
||||
print("y = %d -> height = %.2f" % [y, h])
|
||||
quit(0)
|
||||
Reference in New Issue
Block a user