Hello there.
I would like to add a usefull feature to my hack and slash game.
I would like a tooltip to show the player what’s the differences between two object/items.
For example the player has a sword +5 power in his hand and another sword +8 power in his inventory. (power is objects variable)
If the +8 sword is clicked i would like a tooltip showing :"+8 power (+3) "so the player know the gain/loss with new items.
In addition items can have multiple “bonus” like +power,+ dexterity, +vitality. So the tooltip must be able tho show multiple comparisons at once.
I don’t want a final answer but maybe some hints to help me because it seems it will be rather complicated to achieve
Thanks in advance and sorry for my poor english