What did the five finger say to the face? SLAP!
This commit is contained in:
		@@ -73,7 +73,8 @@ func _physics_process(delta):
 | 
				
			|||||||
		direction += transform.basis.x
 | 
							direction += transform.basis.x
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	# Slappening
 | 
						# Slappening
 | 
				
			||||||
	if Input.is_action_just_pressed("slap"):
 | 
						if Input.is_action_pressed("slap"):
 | 
				
			||||||
 | 
							if slap < 0.01:
 | 
				
			||||||
			chargeSlap = true;
 | 
								chargeSlap = true;
 | 
				
			||||||
	elif Input.is_action_just_released("slap"): 
 | 
						elif Input.is_action_just_released("slap"): 
 | 
				
			||||||
		chargeSlap = false;
 | 
							chargeSlap = false;
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								Start.gd
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Start.gd
									
									
									
									
									
								
							@@ -12,7 +12,6 @@ func _ready():
 | 
				
			|||||||
	QuitDesktop.margin_bottom -= 44
 | 
						QuitDesktop.margin_bottom -= 44
 | 
				
			||||||
	Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
 | 
						Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
func _on_Quit_to_Desktop_Button_pressed():
 | 
					func _on_Quit_to_Desktop_Button_pressed():
 | 
				
			||||||
	get_tree().quit()
 | 
						get_tree().quit()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -34,7 +33,5 @@ func openMenu():
 | 
				
			|||||||
	get_tree().paused = true
 | 
						get_tree().paused = true
 | 
				
			||||||
	Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
 | 
						Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
func _on_Quit_Game_pressed():
 | 
					func _on_Quit_Game_pressed():
 | 
				
			||||||
	get_tree().reload_current_scene()
 | 
						get_tree().reload_current_scene()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user