Creating a main menu? (C++ or Java)

F5ac1a45582279323bf763e436ec822f
0
devingprice 101 Apr 15, 2012 at 00:41 gui c++ java

I’m looking to create a main menu in either C++ or Java (I’m assuming the method is similar enough that I can reapply it to the other). I want to make a menu for my program that is the first thing the user sees when they open the program. It doesn’t have to be complex; just buttons that start up the actual game, show a tutorial, go to options, and exit the program. And a background image would be nice.

I’m trying to learn both C++ and Java myself by making small applications and games, and while I can create the application part of the program, start-up menus are eluding me. Sorry if this is a basic question.

Thanks

1 Reply

Please log in or register to post a reply.

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 167 Apr 15, 2012 at 01:23

Are you asking about how to implement the logic for a menu, or about how to display the graphics for it? If the latter, what windowing system or graphics API are you using? Do you already have graphics working for the actual game?