forked from interstellar_development/freeftf
Milestone 8 preparations 1
This commit is contained in:
parent
8b97a6ee7e
commit
c9211b444e
26 changed files with 101 additions and 104 deletions
|
|
@ -69,11 +69,11 @@ func _physics_process(delta):
|
|||
position.y += 1
|
||||
|
||||
if Input.is_action_pressed("click") and $hammer.rotation_degrees.x > 0:
|
||||
$hammer.rotation_degrees.x -= 5
|
||||
$hammer.rotation_degrees.x -= 10
|
||||
for id in Game.player_list:
|
||||
Client.rpc_id(id,"sync_hammer",name, $hammer.rotation)
|
||||
elif $hammer.rotation_degrees.x < 90 and !Input.is_action_pressed("click"):
|
||||
$hammer.rotation_degrees.x += 5
|
||||
$hammer.rotation_degrees.x += 10
|
||||
for id in Game.player_list:
|
||||
Client.rpc_id(id,"sync_hammer",name, $hammer.rotation)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue