Hello world - Progress Bar (Loading...)
Vector2 m_Position = {100, 100}; Vector2 m_Size = {400, 20}; Vector2 m_ProgressBar_Size = m_Size; int m_Progress = 0; // Update m_Progress m_Progress_Rectangle.setPosition(m_Position); m_ProgressBar_Size.x = (m_Size.x / 100)*m_Progress; m_Progress_Rectangle.setSize( m_ProgressBar_Size ); print( "Loading...%d%" , m_Progress);