CommandLineHeroes / hero-engine

Open-source HTML5 adventure game engine
MIT License
218 stars 66 forks source link

When hovering over objects, display an icon representing the action #44

Open mwcz opened 5 years ago

mwcz commented 5 years ago

For instance if an object has canlook, hovering over it should display an eye icon (for example) next to the mouse cursor (not replacing the mouse cursor).

Jared-Sprague commented 5 years ago

This is a great start thanks @LiquidityC, I think all that is left is making a set of icons for the following actions:

LiquidityC commented 5 years ago

I can have a look at that. I'll try and draw something similar to the current art style of the examples. Later on perhaps this is something that the game should be in control of?

mwcz commented 5 years ago

Yeah, I think so. The Engine could provide default cursor icons but the games should definitely be able to override them.