Skip to content

An easy way to make a text marquee using ImGui.

License

Notifications You must be signed in to change notification settings

LGLTeam/ImGui-Text-Marquee

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An easy way to make a text marquee using ImGui.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 78.3%
  • C++ 21.7%