mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2026-03-22 00:26:23 +00:00
Combinding code
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user