It has been a while since I posted the first devlog so sorry that this one is a few days late. This week I worked a lot on the map and making somewhat of a combat system. I started off by creating a new auto-tile which I can use for adding shadow all over my map. I also created a few more shrubbery tiles to help fill the empty space. Talking about the map, I also started making a basic layout for what the forest area will look like. It will have 6 main areas all with smaller secret areas and winding paths connecting them. It gives me a lot of space to create unique enemies for the player to battle.
Another big thing I worked on was the beginning of the stats system. I don't remember if I explained this in the previous devlog but my RPG will be focused entirely on combat and to get stronger, the main way is by gaining stats. There won't be levels just ways to obtain any of 5 stats. These include strength, endurance, psychic, elemental and elemental resistance. I made a script that I can put on anything to give it health and all of these stats. The stat system also handles the killing of enemies and playing a death particle when this happens. It also has a function that can be called by the main enemy script to despawn the enemy when the player is too far away.
This past week I also decided to get the basics of a dialogue system down so I started working on signs. I made a sign which I can place and it will check if the player is in range, then the player can use space to interact with it. When interacting with a sign, the player can't move or use abilities. I can edit the dialogue using a script and it allows me to add several lines of dialogue, change the image displayed, and the name of who is saying it.
The final big thing I worked on was a new enemy, the goblin. Goblins are the first totem enemy in the game which will add a new variety of combat. A totem enemy is something that isn't made of natural things like plants of rocks, this means the angry flower is a normal enemy and the goblin isn't. Totem enemies are regularly summoned by their totem type so a goblin totem will spawn all of the goblin types (there will be 3 types of goblin). The sprite for this totem isn't done yet so I haven't set up this spawning type currently. I spent quite a while working on making the goblin be somewhat smart with it's pathfinding so that took a few days however it should now be much faster for me to create enemies!