added rough roadmap as TODOs

This commit is contained in:
Jonas 2025-03-24 22:38:50 +01:00
parent a86056afc5
commit 72ea3b861a
2 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,6 @@
extends Node2D
func _process(_delta: float) -> void:
pass

View File

@ -1,5 +1,17 @@
extends Node2D
#TODO add player at a tile coordinate from tile array.
#TODO player movement
#TODO player actions (movement and attack)
#TODO highlight possible tiles for actions
#TODO collisions and pathfinding
#TODO add "physiks" and "destroy" feature of tiles
#TODO add enemy with some kind of AI
#TODO refractor code to be more modular
#TODO get nice tileset and create first normal level
# camera stuff
@onready var camera = $Camera2D
@ -78,7 +90,7 @@ func create_debug_map_array():
"destroyable": false,
"visibility": false,
"unit": null,
"gravity": null
"gravity": null,
}
_debug_map[x][y][z] = tile_data
@ -352,6 +364,7 @@ func initialize_map_layers():
var debug_map = create_debug_map_array()
# Draw the map
func draw_visible_tiles():
# TODO change it so that tiles behind something is not drawn z+1 at same tile["x"] and tile["y"]
# clear all previously drawn tiles on each layer
for layer in isometric_map_layers:
layer.clear()