Back
Close

TooltipModule

This module can be used to assign some data to an entity from the GraphicEntityModule. The data will be displayed in a tooltip when the mouse cursor hovers over the entity on screen.

You may change the assigned data of each entity once per game turn.

The majority of the text to display should be written into your copy of the tooltip module to reduce the amount of data the Referee must produce.

⚠ This example might require you modify it for proper use in your own game.

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants