CodinGame / codingame-game-engine

CodinGame Engine
https://www.codingame.com
MIT License
112 stars 41 forks source link

Added a new community module : Display on hover module #61

Closed Butanium closed 2 years ago

Butanium commented 2 years ago

DisplayOnHoverModule

Contributed by Butanium.

This module allows you to display entities when the mouse is over an entity. It's the same as the TooltipModule, but with custom entities instead of text.

Showcase

Here is a usage example : ezgif com-gif-maker (1)

Butanium commented 2 years ago

Another usage example can be found here : https://www.codingame.com/ide/demo/942348bcfe05203cc138861f617ac1e7fd45c9

He used this to display player's hand when the mouse is over a player avatar

Butanium commented 2 years ago

No hurry to merge this, I'm going to add some more features to the module.

Butanium commented 2 years ago

Renaming the branch closed the pull request, sorry