Skip to main content
Tweeted twitter.com/#!/StackGameDev/status/451631379726737408
deleted 167 characters in body; edited title
Source Link
user1430
user1430

C++ - Creating\Handling SDL Menu To Start Game How can I implement a main menu?

I have been following the tutorials at http://lazyfoo.net/tutorials/SDL/index.php and although they are all very well written and I have learned more than I would have on my own, I am blind tonot sure how I could implement these tutorials, or where to go, to build about building a basic main menu that has the normal, New Game, Settings "new game, Exit" "settings" and "exit" options.

New Game would navigate through a few additional menus to setup the game.

How would I handle such a menu inside of a normal game loop and are there any decent examples of "basic" games like Chess or Checkers?

C++ - Creating\Handling SDL Menu To Start Game

I have been following the tutorials at http://lazyfoo.net/tutorials/SDL/index.php and although they are all very well written and I have learned more than I would have on my own, I am blind to how I could implement these tutorials, or where to go, to build a basic menu that has the normal, New Game, Settings, Exit options.

New Game would navigate through a few additional menus to setup the game.

How would I handle a menu inside of a game loop and are there any decent examples of "basic" games like Chess or Checkers?

How can I implement a main menu?

I have been following the tutorials at http://lazyfoo.net/tutorials/SDL/index.php and although they are all very well written and I have learned more than I would have on my own, I am not sure how to go about building a basic main menu that has the normal "new game," "settings" and "exit" options.

How would I handle such a menu inside of a normal game loop?

Source Link
Elias
  • 173
  • 1
  • 1
  • 5

C++ - Creating\Handling SDL Menu To Start Game

I have been following the tutorials at http://lazyfoo.net/tutorials/SDL/index.php and although they are all very well written and I have learned more than I would have on my own, I am blind to how I could implement these tutorials, or where to go, to build a basic menu that has the normal, New Game, Settings, Exit options.

New Game would navigate through a few additional menus to setup the game.

How would I handle a menu inside of a game loop and are there any decent examples of "basic" games like Chess or Checkers?