mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-14 06:22:22 +02:00
Made grid more adaptable
Just gotta say... to make it possion-dependend is really stupid.
This commit is contained in:
@@ -38,7 +38,7 @@ func _reset_grids():
|
|||||||
|
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
var walls = get_tree().current_scene.get_child(1)
|
var walls = get_tree().current_scene.get_node("FloorTileMap")
|
||||||
offset = walls.global_position
|
offset = walls.global_position
|
||||||
#todo put in grid_lul
|
#todo put in grid_lul
|
||||||
for x in range(14):
|
for x in range(14):
|
||||||
|
|||||||
Reference in New Issue
Block a user