Remove systematic "Init(i)alization here" from _ready()

This commit is contained in:
Rémi Verschelde 2015-11-21 16:21:12 +01:00
parent 7589b2bf60
commit 6cfc3eec97
39 changed files with 0 additions and 39 deletions

View file

@ -14,5 +14,4 @@ func _process(delta):
func _ready():
# Initialization here
set_process(true)

View file

@ -16,5 +16,4 @@ func _process(delta):
func _ready():
# Initialization here
set_process(true)

View file

@ -71,7 +71,6 @@ func _fixed_process(delta):
func _ready():
# Initalization here
# Create a square filled with the 100% opaque fog
for x in range(x_min, x_max):
for y in range(y_min, y_max):

View file

@ -35,5 +35,4 @@ func _fixed_process(delta):
func _ready():
# Initalization here
set_fixed_process(true)

View file

@ -18,5 +18,4 @@ func _input(event):
func _ready():
# Initialization here
set_process_input(true)

View file

@ -35,5 +35,4 @@ func _fixed_process(delta):
func _ready():
# Initalization here
set_fixed_process(true)

View file

@ -35,5 +35,4 @@ func _fixed_process(delta):
func _ready():
# Initalization here
set_fixed_process(true)

View file

@ -81,6 +81,5 @@ func _fixed_process(delta):
func _ready():
# Initialization here
set_fixed_process(true)
set_process_input(true)

View file

@ -18,5 +18,4 @@ func _fixed_process(delta):
func _ready():
# Initialization here
set_fixed_process(true)

View file

@ -120,5 +120,4 @@ func _fixed_process(delta):
func _ready():
#Initalization here
set_fixed_process(true)

View file

@ -28,5 +28,4 @@ func _fixed_process(delta):
func _ready():
# Initalization here
set_fixed_process(true)

View file

@ -30,5 +30,4 @@ func _process(delta):
func _ready():
# Initialization here
set_process(true)

View file

@ -27,7 +27,6 @@ func _fixed_process(delta):
func _ready():
# Initialization here
if (use_idle):
set_process(true)
else:

View file

@ -50,5 +50,4 @@ func _input(event):
func _ready():
# Initialization here
set_process_input(true)

View file

@ -13,5 +13,4 @@ func disable():
func _ready():
# Initalization here
get_node("Timer").start()

View file

@ -79,6 +79,5 @@ func _integrate_forces(s):
func _ready():
# Initalization here
rc_left = get_node("raycast_left")
rc_right = get_node("raycast_right")

View file

@ -17,5 +17,4 @@ func _fixed_process(delta):
func _ready():
# Initalization here
set_fixed_process(true)

View file

@ -220,7 +220,6 @@ func _integrate_forces(s):
func _ready():
# Initalization here
enemy = ResourceLoader.load("res://enemy.xml")
# if !Globals.has_singleton("Facebook"):

View file

@ -62,7 +62,6 @@ func _process(delta):
func _ready():
# Initalization here
screen_size = get_viewport_rect().size # Get actual size
pad_size = get_node("left").get_texture().get_size()
set_process(true)

View file

@ -3,7 +3,6 @@ extends Control
func _ready():
# Initialization here
for c in get_node("pictures").get_children():
get_node("picture").add_item("PIC: " + c.get_name())
for c in get_node("effects").get_children():

View file

@ -42,7 +42,6 @@ func _process(delta):
func _ready():
# Initialization here
shape = Physics2DServer.shape_create(Physics2DServer.SHAPE_CIRCLE)
Physics2DServer.shape_set_data(shape, 8) # Radius

View file

@ -22,5 +22,4 @@ func _on_player_body_exit_shape(body_id, body, body_shape, area_shape):
func _ready():
# Initialization here
set_process_input(true)

View file

@ -15,7 +15,6 @@ func _process(delta):
func _ready():
# Initialization here
speed_y = rand_range(-Y_RANDOM, Y_RANDOM)

View file

@ -40,7 +40,6 @@ func destroy():
func _ready():
# Initialization here
set_fixed_process(true)

View file

@ -12,7 +12,6 @@ func _process(delta):
func _ready():
# Initialization here
set_process(true)

View file

@ -3,7 +3,6 @@ extends Control
func _ready():
# Initialization here
get_node("score").set_text("HIGH SCORE: " + str(get_node("/root/game_state").max_points))

View file

@ -16,5 +16,4 @@ func _process(delta):
func _ready():
# Initialization here
set_process(true)

View file

@ -52,7 +52,6 @@ func _process(delta):
func _ready():
# Initialization here
screen_size = get_viewport().get_rect().size
set_process(true)

View file

@ -12,7 +12,6 @@ func _process(delta):
func _ready():
# Initialization here
set_process(true)

View file

@ -188,7 +188,6 @@ func setup(w, h):
func _ready():
# Initalization here
setup(10, 20)
score_label = get_node("../score")

View file

@ -6,7 +6,6 @@ const MAX_BUBBLES = 10
func _ready():
# Initialization here
for i in range(MAX_BUBBLES):
var bubble = preload("res://lens.scn").instance()
add_child(bubble)

View file

@ -79,7 +79,6 @@ func _fixed_process(delta):
func _ready():
# Initalization here
set_fixed_process(true)

View file

@ -85,7 +85,6 @@ func _input(event):
func _ready():
# Initalization here
set_process_input(true)
m.set_line_width(3)
m.set_point_size(3)

View file

@ -208,5 +208,4 @@ func _integrate_forces(state):
func _ready():
# Initalization here
get_node("AnimationTreePlayer").set_active(true)

View file

@ -42,5 +42,4 @@ func _fixed_process(delta):
func _ready():
# Initalization here
set_fixed_process(true)

View file

@ -23,7 +23,6 @@ func _process(delta):
func _ready():
# Initalization here
get_node("chat").add_style_override("panel", get_stylebox("bg", "Tree"))
set_process(true)

View file

@ -61,7 +61,6 @@ func _process(delta):
func _ready():
# Initalization here
screen_size = get_viewport_rect().size # Get actual size
pad_size = get_node("left").get_texture().get_size()
set_process(true)

View file

@ -3,6 +3,5 @@ extends Spatial
func _ready():
# Initalization here
var tex = get_node("Viewport").get_render_target_texture()
get_node("Quad").get_material_override().set_texture(FixedMaterial.PARAM_DIFFUSE, tex)

View file

@ -33,6 +33,5 @@ func _on_area_input_event(camera, event, click_pos, click_normal, shape_idx):
func _ready():
# Initalization here
get_node("area/quad").get_material_override().set_texture(FixedMaterial.PARAM_DIFFUSE, get_node("viewport").get_render_target_texture())
set_process_input(true)