mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2025-10-21 19:30:35 +00:00
30 lines
796 B
Plaintext
30 lines
796 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://sprites/square.svg" type="Texture" id=1]
|
|
[ext_resource path="res://code/player.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 16, 16 )
|
|
|
|
[node name="player" type="KinematicBody2D" groups=[
|
|
"Net",
|
|
"Player",
|
|
]]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="square" type="Sprite" parent="."]
|
|
scale = Vector2( 2.5, 2.5 )
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
|
|
scale = Vector2( 2.5, 2.5 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Tween" type="Tween" parent="."]
|
|
|
|
[node name="network_tick_rate" type="Timer" parent="."]
|
|
wait_time = 0.03
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="network_tick_rate" to="." method="_on_network_tick_rate_timeout"]
|