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.
This commit is contained in:
Juan Linietsky
2015-06-27 15:52:39 -03:00
parent a67486a39e
commit 2b64f73b04
5 changed files with 487 additions and 90 deletions

View File

@ -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

View File

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