fuck around with native script

This commit is contained in:
zoe 2022-05-02 00:20:37 +02:00
parent f0ea635b71
commit a95e7cd77b
5 changed files with 25 additions and 3 deletions

View file

@ -1,7 +1,7 @@
extends Node
var server = preload("res://native/StateServer.tscn").instance()
# Called when the node enters the scene tree for the first time.
func _ready():
add_child(server)
print(server.a)

View file

@ -15,7 +15,7 @@ mode = 1
tile_set = ExtResource( 1 )
cell_size = Vector2( 32, 16 )
format = 1
tile_data = PoolIntArray( -65538, 0, 131075, -65537, 0, 131073, -2, 0, 131073, -1, 0, 131075 )
tile_data = PoolIntArray( -65538, 0, 131075, -65537, 0, 131073, -131072, 0, 0, -2, 0, 131073, -1, 0, 131075, -65536, 0, 0, 0, 0, 0, 65536, 0, 0, 131072, 0, 0, 196608, 0, 0 )
[node name="Worldcam" type="Camera2D" parent="."]
current = true