Closed toomeyDev closed 2 years ago
eb276d6e9b4e7670a92459545d333efa17efaa9e Cell content handling added, still needs event/item/enemy type distinction, cell content can be accessed and modified with simple functions.
4846c717192e879f9aa7a1d72b455f6b0505b048 Map movement added, only cardinal directions but properly updates which cell is accessed by the player based on the coordinates of the player entity compared to the current map grid .
(IE starting at cell 0,0, moving right goes to cell 1,0 with different content and description values than the first cell)
Basic map functionality complete, closing #1. Needs further work to allow text-files to be parsed into valid maps rather than creating the maps via functions in-game.
Map is made up of cells (each cell should contain a list of possible events, items present, enemies or NPC entities which can be accessed when the player entity is present on a cell), maps should be able to be defined via coordinate (x,y) pairs.
Player needs to be able to adjust position through text commands such as "go north", "left" or "travel right".