Browse Source

more code completion improvements

-calltip dissapears with more types of keypresses or when pressing ')'
-properly looks into autoloaded scripts or nodes with another script for
script functions/variables/etc.
Juan Linietsky 10 years ago
parent
commit
b0d285a546
2 changed files with 1 additions and 2 deletions
  1. 1 1
      2d/space_shooter/game_state.gd
  2. 0 1
      2d/space_shooter/rail.gd

+ 1 - 1
2d/space_shooter/game_state.gd

@@ -8,12 +8,12 @@ var max_points = 0
 func _ready():
 	var f = File.new()
 	#load high score
+	
 	if (f.open("user://highscore",File.READ)==OK):
 		
 		max_points=f.get_var()
 
 
-
 func game_over():
 	if (points>max_points):
 		max_points=points

+ 0 - 1
2d/space_shooter/rail.gd

@@ -14,7 +14,6 @@ var offset=0
 
 
 func _process(delta):
-	
 	offset+=delta*SPEED
 	set_pos(Vector2(offset,0))