From f17a87de2e90cce5b5cd936667a642242b0418e5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 25 Feb 2023 17:48:02 +0100 Subject: [PATCH] dead code --- Scenes/Button_Node2D.gd | 8 +------- Scenes/Screen_Menu.gd | 10 ---------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/Scenes/Button_Node2D.gd b/Scenes/Button_Node2D.gd index 9b15238..301255f 100755 --- a/Scenes/Button_Node2D.gd +++ b/Scenes/Button_Node2D.gd @@ -7,13 +7,7 @@ const texture_pressed = preload("res://Assets/skin_assets/button_normal.png") const texture_released = preload("res://Assets/skin_assets/button_pressed.png") -# Called when the node enters the scene tree for the first time. -func _ready(): - etat = false - pass # Replace with function body. - - -# Called every frame. 'delta' is the elapsed time since the previous frame. +# Called every frame. '_delta' is the elapsed time since the previous frame. func _process(_delta): if etat: match villain.get_frame(): diff --git a/Scenes/Screen_Menu.gd b/Scenes/Screen_Menu.gd index 7513b43..9e387f6 100755 --- a/Scenes/Screen_Menu.gd +++ b/Scenes/Screen_Menu.gd @@ -1,16 +1,6 @@ extends Control -# Called when the node enters the scene tree for the first time. -func _ready(): - pass # Replace with function body. - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -#func _process(delta): -# pass - - func _on_PlayButton_pressed(): print("ici") get_tree().change_scene("res://Scenes/Node2D.tscn")