context menu added
player can find food and eat it
This commit is contained in:
@@ -36,7 +36,7 @@ func _process(delta: float) -> void:
|
||||
#print(self.position.dot(ownRigidBody.position))
|
||||
|
||||
func _input(event: InputEvent) -> void: # zoom control
|
||||
if(event.is_action("camera_zoom")):
|
||||
if(event.is_action("camera_zoom") and !Global.is_context_menu_active):
|
||||
if (event.as_text() == "Mouse Wheel Up"):
|
||||
#self.position = self.position.lerp(Vector3.ZERO,global_delta * 5.0)
|
||||
zoom_pos += global_delta * 45.0
|
||||
|
||||
Reference in New Issue
Block a user