Dragon Creek Update 8/1/2020


I've been implementing dragon sleep this week. The code was surprisingly easy. I think because the player doesn't have to interact with the dragon for it to go asleep it makes it simpler to implement. The basic way it works is that whenever the dragon isn't idle it starts a timer for 1 hour of in-game time. When the timer reaches 0 it goes to sleep wherever it happens to be. If it gets interacted at any time during this timer, the timer restarts. 

I'm a bit slow when it comes to making dragon animations, so most of this week was drawing the animations for the dragons I do have. The good news is I think I only have to do flying animations and from there it is just code. 


I discovered an interesting bug that made translucent objects appear super dark. I accidentally made my shader draw translucent objects black before lighting so it was making a black colored light on top of them. Snow, rain, and some critters were looking bizarre. I found the one line of code and moved it further down. 


I felt absolutely lousy Thursday and Friday and spent most of those days asleep or trying to sleep. I must have ate something my body didn't agree with. To make matters worse,now my throat feels sore so I suspect I will be in bed with a cold for another few days. 


Oh well. Gives me time to think of combat systems. 

Leave a comment

Log in with itch.io to leave a comment.