Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8813941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:59:10+00:00 2026-06-14T03:59:10+00:00

I am developing a game in OpenGL/GLUT and I need to open a new

  • 0

I am developing a game in OpenGL/GLUT and I need to open a new window to show the score when the game is won.

In order to do this, i will call glutCreateWindow() and register the callbacks after calling mainEventLoop().

Is there a problem with this ? How should I do it properly ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:59:11+00:00Added an answer on June 14, 2026 at 3:59 am

    Is there a problem with this?

    Yes.

    Why don’t you simply draw the results in the same window as the game?

    Why are you using GLUT in the first place? It’s not a very good framework for games. Better use GLFW or SDL.

    How should I do it properly ?

    By adding a small GUI system to your engine, that allows you to overlay the screen with stats (like a HUD) and a score screen.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to OpenGL ES and developing a simple 2D game. However, I'm confused
I'm developing a game for android and this is my first experience with OpenGL.
I am developing an iOS game that will need to render 500-800 particles at
this is my question. I'm developing a game on iPhone with OpenGL ES. I
I am developing a game for iPhone using OpenGL ES 1.1. In this game,
I am developing a new game for Android. In this I am using Android
I am developing iOS game and need custom animation so I am using this
I'm currently developing a small OpenGL game for the Android platform and I wonder
I'm currently developing an OpenGL ES game for the iPhone and iPod touch. I
I'm developing an OpenGL-ES game of life program for the iPhone and I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.