Friday, July 31, 2020

RPG: Hover Info Over Objects

Not too much to show on this RPG update. I am now adding mouse hover labels / hit point bars (when appropriate) to objects on the map.

Mouse over an item tells you what it is...


Mouse over the bed to tell you what happens when you interact with it (including health bar on the off chance you want to break your bed)...


If you mouse over a NPC, it tells you what happens when you interact with it...


If you mouse over an enemy, then you see its health (and nothing happens if you try to interact with it)...


I'm still not entirely sure how I want to handle labels and if they should include what happens when you click to interact, but the options are there now to tweak it.

Other than some minor code cleanup, that's the whole update this month!