Looking for a journal logs/combat text tutorial

Hello,

Maybe I am just not using the right keywords because I did not find it.

I want to make a text box displaying information such as:

  • You dealt X damage to this monster
  • This monster dealt Y damage to you
  • You received item Z

Currently the way I am doing it is:

DamageDisplayText.text = ("You dealt " + damage + " damage to the enemy.");

Which is working but of course getting replaced whenever it is called while I want it to be displayed below instead. With some scrolling bar so it does not take too much space.

Do you recommend any tutorials or answer already given somewhere ?

Thank you

Something like this might work:

I haven’t really looked at the video, so I don’t know if it’s high quality or not. But it might give you an idea of what to search for.

1 Like