Permalink
Browse files

Reverted error correction.

  • Loading branch information...
empyreanx committed Jun 6, 2015
1 parent 98c04ac commit 9686fd58a283cce93510ce0e8de5dc2d71069e61
Showing with 38 additions and 79 deletions.
  1. +0 −31 box.gd
  2. +22 −5 box.xml
  3. +0 −1 defaults.cfg
  4. +0 −11 demo.gd
  5. +16 −31 demo.xml
View
31 box.gd
@@ -9,16 +9,9 @@ const SCALE_FACTOR = 25
var dragging = false
var host = true;
var packet_peer = null
var sprite = null
var weight = 0.0
func _ready():
sprite = load("sprite.xml").instance()
sprite.set_pos(get_pos())
sprite.set_rot(get_rot())
get_node("/root/demo/sprites").add_child(sprite)
set_process_input(true)
set_fixed_process(true)
func _input_event(viewport, event, shape_idx):
if (event.type == InputEvent.MOUSE_BUTTON and event.pressed):
@@ -44,10 +37,6 @@ func _input(event):
stop_drag()
broadcast(["event", "stop_drag", get_name()])
func _fixed_process(delta):
sprite.set_pos(lerp_pos(sprite.get_pos(), get_pos(), weight))
sprite.set_rot(slerp_rot(sprite.get_rot(), get_rot(), 1.0 - weight))
func start_drag():
set_gravity_scale(0)
set_linear_velocity(Vector2(0,0))
@@ -64,23 +53,3 @@ func broadcast(packet):
get_node("/root/demo").broadcast(packet)
else:
packet_peer.put_var(packet)
# Linearly interpolate vector
func lerp_pos(p1, p2, weight):
return p1 * weight + p2 * (1 - weight)
# Spherically linear interpolation of rotation
func slerp_rot(r1, r2, weight):
var v1 = Vector2(cos(r1), sin(r1))
var v2 = Vector2(cos(r2), sin(r2))
var v = slerp(v1, v2, weight)
return atan2(v.y, v.x)
# Spherical linear interpolation of two 2D vectors
func slerp(v1, v2, weight):
var cos_angle = v1.dot(v2)
var angle = acos(cos_angle)
var angle_weight = angle * weight
var v3 = (v2 - (v1.dot(v2) * v1)).normalized()
return v1 * cos(angle_weight) + v3 * sin(angle_weight)
View
27 box.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<resource_file type="PackedScene" subresource_count="3" version="1.1" version_name="Godot Engine v1.1.stable.custom_build">
<resource_file type="PackedScene" subresource_count="4" version="1.1" version_name="Godot Engine v1.1.stable.custom_build">
<ext_resource path="res://box.gd" type="Script"></ext_resource>
<ext_resource path="res://icon.png" type="Texture"></ext_resource>
<resource type="RectangleShape2D" path="local://1">
<real name="custom_solver_bias"> 0 </real>
<vector2 name="extents"> 10, 10 </vector2>
@@ -13,7 +14,7 @@
<string> "conns" </string>
<int_array len="0"> </int_array>
<string> "names" </string>
<string_array len="40">
<string_array len="53">
<string> "box" </string>
<string> "RigidBody2D" </string>
<string> "_import_path" </string>
@@ -50,17 +51,30 @@
<string> "damp_override/angular" </string>
<string> "script/script" </string>
<string> "__meta__" </string>
<string> "sprite" </string>
<string> "Sprite" </string>
<string> "texture" </string>
<string> "centered" </string>
<string> "offset" </string>
<string> "flip_h" </string>
<string> "flip_v" </string>
<string> "vframes" </string>
<string> "hframes" </string>
<string> "frame" </string>
<string> "modulate" </string>
<string> "region" </string>
<string> "region_rect" </string>
<string> "collision" </string>
<string> "CollisionShape2D" </string>
<string> "shape" </string>
<string> "trigger" </string>
</string_array>
<string> "node_count" </string>
<int> 2 </int>
<int> 3 </int>
<string> "nodes" </string>
<int_array len="106"> -1, -1, 1, 0, -1, 34, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 7, 11, 1, 12, 1, 13, 3, 14, 8, 15, 9, 16, 10, 17, 3, 18, 3, 19, 7, 20, 2, 21, 2, 22, 5, 23, 2, 24, 10, 25, 7, 26, 7, 27, 10, 28, 10, 29, 1, 30, 4, 31, 5, 32, 11, 33, 11, 34, 12, 35, 13, 0, 0, 0, 37, 36, -1, 12, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 14, 8, 5, 9, 15, 10, 7, 11, 1, 38, 8, 39, 10, 0 </int_array>
<int_array len="155"> -1, -1, 1, 0, -1, 34, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 7, 11, 1, 12, 1, 13, 3, 14, 8, 15, 9, 16, 10, 17, 3, 18, 3, 19, 7, 20, 2, 21, 2, 22, 5, 23, 2, 24, 10, 25, 7, 26, 7, 27, 10, 28, 10, 29, 1, 30, 4, 31, 5, 32, 11, 33, 11, 34, 12, 35, 13, 0, 0, 0, 37, 36, -1, 21, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 7, 11, 1, 38, 14, 39, 1, 40, 4, 41, 10, 42, 10, 43, 3, 44, 3, 45, 7, 46, 15, 47, 10, 48, 16, 0, 0, 0, 50, 49, -1, 12, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 17, 8, 5, 9, 18, 10, 7, 11, 1, 51, 8, 52, 10, 0 </int_array>
<string> "variants" </string>
<array len="16" shared="false">
<array len="19" shared="false">
<node_path> "" </node_path>
<bool> True </bool>
<real> 1 </real>
@@ -214,6 +228,9 @@
<int> 0 </int>
</dictionary>
</dictionary>
<resource resource_type="Texture" path="res://icon.png"> </resource>
<color> 1, 1, 1, 1 </color>
<rect2> 0, 0, 0, 0 </rect2>
<vector2> 0.199575, 0.185632 </vector2>
<vector2> 3.20152, 3.20152 </vector2>
</array>
View
@@ -1,5 +1,4 @@
[defaults]
network_fps=40
weight=0.1
ip="127.0.0.1"
port=3000
View
11 demo.gd
@@ -8,7 +8,6 @@ var ready = false
var start = null
var connect = null
var network_fps = null
var weight = null
var port = null
var ip = null
@@ -29,17 +28,13 @@ func _ready():
port = get_node("controls/port")
ip = get_node("controls/ip")
network_fps = get_node("controls/network_fps")
weight = get_node("controls/weight")
boxes = get_node("boxes").get_children()
set_packet_peer_boxes(packet_peer)
load_defaults()
for box in boxes:
box.weight = weight.get_val()
for arg in OS.get_cmdline_args():
if (arg == "-server"):
start_server()
@@ -54,7 +49,6 @@ func load_defaults():
ip.set_text(config_file.get_value("defaults", "ip"))
port.set_value(config_file.get_value("defaults", "port"))
network_fps.set_value(config_file.get_value("defaults", "network_fps"))
weight.set_value(config_file.get_value("defaults", "weight"))
# Toggle starting/stoping a server
func _on_start_pressed():
@@ -136,11 +130,6 @@ func _process(delta):
elif (packet[0] == "event"):
handle_event(packet)
func _on_weight_value_changed(value):
if (boxes != null):
for box in boxes:
box.weight = value
# Start/stop functions for client/server
func start_client():
# Select a port for the client
View
@@ -25,11 +25,11 @@
<main_resource>
<dictionary name="_bundled" shared="false">
<string> "conn_count" </string>
<int> 3 </int>
<int> 2 </int>
<string> "conns" </string>
<int_array len="18"> 9, 0, 102, 101, 2, 0, 11, 0, 104, 103, 2, 0, 13, 0, 104, 105, 2, 0 </int_array>
<int_array len="12"> 9, 0, 99, 98, 2, 0, 11, 0, 99, 100, 2, 0 </int_array>
<string> "names" </string>
<string_array len="106">
<string_array len="101">
<string> "demo" </string>
<string> "Node" </string>
<string> "_import_path" </string>
@@ -82,8 +82,6 @@
<string> "secret" </string>
<string> "network_fps_label" </string>
<string> "network_fps" </string>
<string> "weight_label" </string>
<string> "weight" </string>
<string> "empty_label1" </string>
<string> "start" </string>
<string> "Button" </string>
@@ -102,7 +100,6 @@
<string> "transform/pos" </string>
<string> "box2" </string>
<string> "box3" </string>
<string> "sprites" </string>
<string> "walls" </string>
<string> "bottom_wall" </string>
<string> "StaticBody2D" </string>
@@ -131,18 +128,16 @@
<string> "left_collision" </string>
<string> "right_wall" </string>
<string> "right_collision" </string>
<string> "_on_weight_value_changed" </string>
<string> "value_changed" </string>
<string> "_on_start_pressed" </string>
<string> "pressed" </string>
<string> "_on_connect_pressed" </string>
</string_array>
<string> "node_count" </string>
<int> 28 </int>
<int> 25 </int>
<string> "nodes" </string>
<int_array len="1202"> -1, -1, 1, 0, -1, 3, 2, 0, 3, 1, 4, 2, 0, 0, 0, 6, 5, -1, 17, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 11, 6, 12, 7, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 8, 19, 9, 20, 9, 21, 4, 22, 9, 0, 1, 0, 24, 23, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 10, 11, 11, 12, 12, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 14, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 40, 39, -1, 27, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 11, 6, 12, 18, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 19, 20, 9, 21, 4, 26, 20, 27, 21, 28, 4, 29, 13, 30, 20, 31, 8, 32, 8, 42, 3, 43, 22, 44, 22, 0, 1, 0, 24, 45, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 23, 11, 11, 12, 24, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 25, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 47, 46, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 26, 11, 6, 12, 27, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 33, 28, 48, 15, 42, 3, 49, 8, 0, 1, 0, 24, 50, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 29, 11, 11, 12, 30, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 31, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 40, 51, -1, 28, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 32, 11, 6, 12, 33, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 26, 13, 27, 34, 28, 4, 29, 13, 30, 35, 31, 8, 32, 8, 42, 3, 43, 22, 44, 22, 0, 1, 0, 24, 52, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 17, 11, 11, 12, 36, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 37, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 40, 53, -1, 28, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 38, 11, 6, 12, 39, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 26, 13, 27, 4, 28, 40, 29, 13, 30, 41, 31, 8, 32, 8, 42, 3, 43, 22, 44, 22, 0, 1, 0, 24, 54, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 42, 11, 11, 12, 43, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 22, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 56, 55, -1, 27, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 44, 11, 6, 12, 45, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 57, 8, 58, 8, 59, 8, 60, 8, 33, 46, 61, 47, 62, 8, 63, 8, 34, 5, 0, 1, 0, 24, 64, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 48, 11, 11, 12, 49, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 22, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 56, 65, -1, 27, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 50, 11, 6, 12, 51, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 57, 8, 58, 8, 59, 8, 60, 8, 33, 52, 61, 47, 62, 8, 63, 8, 34, 5, 0, 0, 0, 1, 66, -1, 2, 2, 0, 4, 53, 0, 14, 0, 68, 67, 54, 3, 2, 0, 69, 55, 4, 56, 0, 14, 0, 68, 70, 54, 3, 2, 0, 69, 57, 4, 58, 0, 14, 0, 68, 71, 54, 3, 2, 0, 69, 59, 4, 60, 0, 0, 0, 1, 72, -1, 1, 2, 0, 0, 0, 0, 1, 73, -1, 2, 2, 0, 4, 61, 0, 19, 0, 75, 74, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 69, 62, 76, 13, 77, 63, 78, 15, 79, 3, 80, 8, 81, 5, 82, 64, 83, 65, 84, 8, 85, 5, 86, 5, 87, 66, 88, 13, 89, 4, 90, 13, 4, 67, 0, 20, 0, 92, 91, -1, 12, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 69, 68, 76, 13, 77, 69, 78, 15, 79, 3, 93, 64, 94, 8, 0, 19, 0, 75, 95, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 69, 70, 76, 13, 77, 71, 78, 15, 79, 3, 80, 8, 81, 5, 82, 72, 83, 73, 84, 8, 85, 5, 86, 5, 87, 66, 88, 13, 89, 4, 90, 13, 4, 74, 0, 22, 0, 92, 96, -1, 12, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 69, 75, 76, 13, 77, 76, 78, 15, 79, 3, 93, 72, 94, 8, 0, 19, 0, 75, 97, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 69, 66, 76, 13, 77, 71, 78, 15, 79, 3, 80, 8, 81, 5, 82, 77, 83, 78, 84, 8, 85, 5, 86, 5, 87, 66, 88, 13, 89, 4, 90, 13, 4, 79, 0, 24, 0, 92, 98, -1, 12, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 69, 80, 76, 13, 77, 81, 78, 15, 79, 3, 93, 77, 94, 8, 0, 19, 0, 75, 99, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 69, 66, 76, 13, 77, 71, 78, 15, 79, 3, 80, 8, 81, 5, 82, 82, 83, 83, 84, 8, 85, 5, 86, 5, 87, 66, 88, 13, 89, 4, 90, 13, 4, 84, 0, 26, 0, 92, 100, -1, 12, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 69, 85, 76, 13, 77, 86, 78, 15, 79, 3, 93, 82, 94, 8, 0 </int_array>
<int_array len="1063"> -1, -1, 1, 0, -1, 3, 2, 0, 3, 1, 4, 2, 0, 0, 0, 6, 5, -1, 17, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 11, 6, 12, 7, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 8, 19, 9, 20, 9, 21, 4, 22, 9, 0, 1, 0, 24, 23, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 10, 11, 11, 12, 12, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 14, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 40, 39, -1, 27, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 11, 6, 12, 18, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 19, 20, 9, 21, 4, 26, 20, 27, 21, 28, 4, 29, 13, 30, 20, 31, 8, 32, 8, 42, 3, 43, 22, 44, 22, 0, 1, 0, 24, 45, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 23, 11, 11, 12, 24, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 25, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 47, 46, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 26, 11, 6, 12, 27, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 33, 28, 48, 15, 42, 3, 49, 8, 0, 1, 0, 24, 50, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 29, 11, 11, 12, 30, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 31, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 40, 51, -1, 28, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 32, 11, 6, 12, 33, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 26, 13, 27, 34, 28, 4, 29, 13, 30, 35, 31, 8, 32, 8, 42, 3, 43, 22, 44, 22, 0, 1, 0, 24, 52, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 36, 11, 11, 12, 37, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 22, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 54, 53, -1, 27, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 38, 11, 6, 12, 39, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 55, 8, 56, 8, 57, 8, 58, 8, 33, 40, 59, 41, 60, 8, 61, 8, 34, 5, 0, 1, 0, 24, 62, -1, 29, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 25, 42, 11, 11, 12, 43, 13, 0, 14, 0, 15, 0, 16, 0, 17, 3, 18, 3, 19, 9, 21, 4, 26, 13, 27, 4, 28, 4, 29, 4, 30, 13, 31, 8, 32, 8, 33, 22, 34, 15, 35, 15, 36, 8, 37, 8, 38, 16, 0, 1, 0, 54, 63, -1, 27, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 41, 17, 25, 44, 11, 6, 12, 45, 13, 0, 14, 0, 15, 0, 16, 0, 17, 8, 18, 3, 19, 9, 20, 9, 21, 4, 55, 8, 56, 8, 57, 8, 58, 8, 33, 46, 59, 41, 60, 8, 61, 8, 34, 5, 0, 0, 0, 1, 64, -1, 1, 2, 0, 0, 12, 0, 66, 65, 47, 3, 2, 0, 67, 48, 4, 49, 0, 12, 0, 66, 68, 47, 3, 2, 0, 67, 50, 4, 51, 0, 12, 0, 66, 69, 47, 3, 2, 0, 67, 52, 4, 53, 0, 0, 0, 1, 70, -1, 2, 2, 0, 4, 54, 0, 16, 0, 72, 71, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 67, 55, 73, 13, 74, 56, 75, 15, 76, 3, 77, 8, 78, 5, 79, 57, 80, 58, 81, 8, 82, 5, 83, 5, 84, 59, 85, 13, 86, 4, 87, 13, 4, 60, 0, 17, 0, 89, 88, -1, 12, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 67, 61, 73, 13, 74, 62, 75, 15, 76, 3, 90, 57, 91, 8, 0, 16, 0, 72, 92, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 67, 63, 73, 13, 74, 64, 75, 15, 76, 3, 77, 8, 78, 5, 79, 65, 80, 66, 81, 8, 82, 5, 83, 5, 84, 59, 85, 13, 86, 4, 87, 13, 4, 67, 0, 19, 0, 89, 93, -1, 12, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 67, 68, 73, 13, 74, 69, 75, 15, 76, 3, 90, 65, 91, 8, 0, 16, 0, 72, 94, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 67, 59, 73, 13, 74, 64, 75, 15, 76, 3, 77, 8, 78, 5, 79, 70, 80, 71, 81, 8, 82, 5, 83, 5, 84, 59, 85, 13, 86, 4, 87, 13, 4, 72, 0, 21, 0, 89, 95, -1, 12, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 67, 73, 73, 13, 74, 74, 75, 15, 76, 3, 90, 70, 91, 8, 0, 16, 0, 72, 96, -1, 22, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 67, 59, 73, 13, 74, 64, 75, 15, 76, 3, 77, 8, 78, 5, 79, 75, 80, 76, 81, 8, 82, 5, 83, 5, 84, 59, 85, 13, 86, 4, 87, 13, 4, 77, 0, 23, 0, 89, 97, -1, 12, 2, 0, 7, 3, 8, 4, 9, 4, 10, 5, 67, 78, 73, 13, 74, 79, 75, 15, 76, 3, 90, 75, 91, 8, 0 </int_array>
<string> "variants" </string>
<array len="87" shared="false">
<array len="80" shared="false">
<node_path> "" </node_path>
<resource resource_type="Script" path="res://demo.gd"> </resource>
<dictionary shared="false">
@@ -153,7 +148,7 @@
<string> "2D" </string>
<dictionary shared="false">
<string> "ofs" </string>
<vector2> -432.909, -134.791 </vector2>
<vector2> -653.615, -588.921 </vector2>
<string> "snap_grid" </string>
<bool> False </bool>
<string> "snap_offset" </string>
@@ -173,7 +168,7 @@
<string> "snap_step" </string>
<vector2> 10, 10 </vector2>
<string> "zoom" </string>
<real> 1.227738 </real>
<real> 0.598737 </real>
</dictionary>
<string> "3D" </string>
<dictionary shared="false">
@@ -270,7 +265,7 @@
<string> "Script" </string>
<dictionary shared="false">
<string> "current" </string>
<int> 0 </int>
<int> 1 </int>
<string> "sources" </string>
<array len="2" shared="false">
<string> "res://box.gd" </string>
@@ -319,26 +314,16 @@
<real> 77 </real>
<real> 100 </real>
<real> 40 </real>
<real> 99 </real>
<string> "LERP Weight" </string>
<real> 85 </real>
<real> 98 </real>
<real> 81 </real>
<real> 104 </real>
<real> 0.01 </real>
<real> 0.1 </real>
<real> 112 </real>
<real> 125 </real>
<real> 108 </real>
<real> 129 </real>
<real> 102 </real>
<string> "Start Server" </string>
<resource name=""></resource> <real> 137 </real>
<real> 150 </real>
<real> 133 </real>
<real> 154 </real>
<resource name=""></resource> <real> 110 </real>
<real> 123 </real>
<real> 106 </real>
<real> 127 </real>
<string> "Connect" </string>
<dictionary shared="false">
<string> "_editor_collapsed" </string>
<bool> True </bool>
</dictionary>
<resource resource_type="PackedScene" path="res://box.xml"> </resource>
<vector2> 262.505, 123.178 </vector2>
<dictionary shared="false">

0 comments on commit 9686fd5

Please sign in to comment.