Advertisement Jump to content
Sign in to follow this  

[Java] Main Menu and Game Engine

This topic is 2681 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello there,

I'm going to make a game using the Lightweight Java Game Library. The issue however is that I'm not sure how to implement it. When the player starts the game I just want a basic Main Menu to show up with buttons leading to video/sound settings and other. I then want to initialize OpenGL with LWJGL when the player presses a button related to the engine (Singleplayer, Load Game, Multiplayer, etc.)

Would it be inefficient to make the OpenGL engine's parent a JPanel or the like, so that I can use JFrame?

I hope you understand the issue I'm having. I basically don't want to make unnecessary programming in OpenGL when there's a whole bunch of components I can make use of.

Any other tips are welcome as well of course!
Thank you.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!