Added cards for objects + MISC

- Added flame animation
- Added cards for objects
- Added new background animation
- Added placeable walls

Co-Authored-By: deranonymos <deranonymos@users.noreply.github.com>
This commit is contained in:
2020-04-20 15:54:40 +02:00
parent 32e73895dc
commit fafd1956c6
390 changed files with 4727 additions and 2117 deletions

View File

@@ -38,7 +38,6 @@ func _reset_grids():
func _ready():
var walls = get_tree().current_scene.get_node("FloorTileMap")
offset = walls.global_position
#todo put in grid_lul
@@ -123,7 +122,7 @@ func _update_grid():
var node_kind = node.get_node("Kind")
var grid_corrds = _pixel_to_grid_coords(node.global_position)
if (_is_in_grid(grid_corrds)):
if(node_kind.general != Kind.FIELD and node_kind.general != Kind.WALL):
if(node_kind.general != Kind.FIELD): #and node_kind.general != Kind.WALL):
object_grid[grid_corrds.x][grid_corrds.y].push_back(node_kind.general)
prio_grid[grid_corrds.x][grid_corrds.y].push_back(node_kind.kind)