Making the Map


Game map

HI, in this dev log I am going to talk about how I made the game map :


notes: the white box is what the camera shows but will move with the player.

the image above is the game map for the day cycle. the map is separated between the safe area(which the area within the rectangle of trees) and the area where the night cycle the enemies will spawn .to make this I used  4 Tile maps  the reason I used 4 tile maps is to separate the  background, intractable, destructible and  the plants. the background tile map is the the grass and the pathways and the lamp posts, basically anything that the play can't interact with .then there is the destructible objects tile map which is the highlighted object in the image below.


the reason this is a separate tile map is because I plan to make the player able to destroy theses objects(except the safe area border), this is so I can apply one script to this tile map. the intractable tile map consist of all object that the player can interact with that is needed for the game loop that won't change visually. the object on this tile map are the "house", "chest" and the "farming plots".  the house will be used to go between the two cycles day and night. the chest will be how you get to the store to buy seeds and upgrades. the farming plots are the only places where the player can plant seeds, I am unsure if they should be static or if the player should be able to place them so that why there only a simple 3x3 of them the games map at the moment. as for the plant tile map which currently has nothing on it but will later be where the plant of which the player plant will be.

animation

for animation I have the Players idle animation working and have made other animation for the  player moving in the four main direction: Up ,Down, left and right. however I am yet to implement those as I am only just learning on how to use the animator component in unity  but should be implemented by next dev log.

fighting mechanic

fighting mechanic is mostly done , I have gotten the player moving and when they collide with the a enemies it takes you to what will be the "Night Map"  and then the uses dexterity variable which both player and enemy has to determine turn order. player can currently only attack but as my last dev log I want to add the heal and possibly stun and block. at the moment the enemy can only attack. also should not I only have the code for this not the animation so it currently the player and enemy are still object.

notes

I am currently working on the finishing the player animation  and finishing the fighting mechanic as well as menus. also I tried making gifs to show the idle animation and fighting mechanic but was unable to get to work, hopefully they will be in the next dev log.

Leave a comment

Log in with itch.io to leave a comment.