/ImGui-Text-Marquee

An easy way to make a text marquee using ImGui.

Primary LanguageCMIT LicenseMIT

ImGui-Marquee-Text

An easy way to make a text marquee using ImGui. I got the inspiration to make this from seeing Ruit's old menus, which had this style of marquee.

I used ImGui::GetFrameCount() to check the amount of frames the ImGui menu has rendered. Every 30 frames it will move the text automatically, in-turn creating a "marquee". I personally think it makes your mobile mod menus look quite good :)

If you don't want to use ImGui::GetFrameCount(), you can also use an engine-based function, such as get_time (UnityEngine.Time) for Unity-based games. But, I wanted something that was universal for all games, hence why I'm using ImGui::GetFrameCount() instead.

I've shown an example of what it looks like in an application below (look at the bottom of the screen). Other than that, have fun!

2022-03-02.18-17-23.mp4