Combinding code

This commit is contained in:
Kristofers Solo
2021-11-02 13:42:55 +02:00
parent 97c297f3b0
commit b8c3c30a3b
40 changed files with 897 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
extends KinematicBody2D
const JUMP_FORCE = 500
const GRAVITY = 500
const JUMP_FORCE = 750
const GRAVITY = 2000
const MAX_SPEED = 5000
const ACCELERATION = 10

View File

@@ -15,6 +15,7 @@ onready var tween = $Tween
func _ready():
get_tree().connect("network_peer_connected", self, "_network_peer_connected")
username_text_instance = Global.instance_node_at_location(username_text, PersistentNodes, global_position)
username_text_instance.player_following = self