Skip to content

Commit

Permalink
Add title to main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
svntax committed Jun 27, 2016
1 parent fa88116 commit 7f9df3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified Scenes/main_menu.scn
Binary file not shown.
6 changes: 4 additions & 2 deletions Scripts/terrain_gen.gd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
extends Node2D

var TILE_SIZE = 32
var TERRAIN_WIDTH = 60
var TERRAIN_HEIGHT = 38
var TERRAIN_WIDTH = 64
var TERRAIN_HEIGHT = 64
var INITIAL_CHANCE = 0.4
var ENEMY_SPAWN_CHANCE = 0.5

Expand Down Expand Up @@ -58,6 +58,8 @@ func _draw():
var w = TERRAIN_WIDTH * TILE_SIZE - (TILE_SIZE / 2)
var h = TERRAIN_HEIGHT * TILE_SIZE - (TILE_SIZE / 2)
draw_rect(Rect2(0, 0, w, h), Color(255, 255, 255))

#drawTerrain()

func getWidth():
return TERRAIN_WIDTH
Expand Down

0 comments on commit 7f9df3a

Please sign in to comment.