more work on inventory
This commit is contained in:
@@ -227,9 +227,6 @@ func _physics_process(delta):
|
||||
# $Networking.flipped_h = player_sprite.flip_h
|
||||
# $Networking.sync_frame_coords = player_sprite.get_frame_coords()
|
||||
|
||||
|
||||
|
||||
|
||||
func move_player(c_velocity: Vector2):
|
||||
# rpc(&'update_movement', velocity)
|
||||
var collided = move_and_collide(c_velocity)
|
||||
@@ -240,3 +237,6 @@ func move_player(c_velocity: Vector2):
|
||||
# var normal = collision.get_normal()
|
||||
# collider.apply_central_impulse(-collision.get_normal() * push_power)
|
||||
player_hit.is_player_hit = false
|
||||
|
||||
func set_context_label(text: String):
|
||||
$CanvasLayer/ContextLabel.set_text(text)
|
||||
|
Reference in New Issue
Block a user