Skip to content

Commit

Permalink
more code completion improvements
Browse files Browse the repository at this point in the history
-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.
  • Loading branch information
reduz committed Jun 27, 2015
1 parent a67486a commit 2b64f73
Show file tree
Hide file tree
Showing 5 changed files with 482 additions and 85 deletions.
2 changes: 1 addition & 1 deletion demos/2d/space_shooter/game_state.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion demos/2d/space_shooter/rail.gd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var offset=0


func _process(delta):

offset+=delta*SPEED
set_pos(Vector2(offset,0))

Expand Down
Loading

0 comments on commit 2b64f73

Please sign in to comment.