?
Solved

Menu Screen

Posted on 2011-02-21
1
Medium Priority
?
981 Views
Last Modified: 2012-05-11
I am creating a game in gamebryo and I am trying to add a menu to it. In a class where I create the gams states I have added a state for the menu which I have added in the code ection below.

The double in this code below is the time the menu screen is displayed. I want to replace this with a key input so it will disapear when the user presses a key.

Below I have put the code of a key input in gamebyro just to show how to do it. I am just struggling to put this syntax together.


 pInputService->AddAction(
            "MOVE_FORWARD",
            kCAT_INVALID,
            NiAction::KEY_MASK | NiInputKeyboard::KEY_UP,
            ecrInput::InputService::ON_ACTIVATE | ecrInput::InputService::ON_DEACTIVATE);

pGameStateService->AddState(EE_NEW GameState(
		pGameStateService,
		SplashScreenStateID,
		"SplashState",
        egmSample::PAUSE_SCHEDULER |
        egmSample::HIDE_MAIN_RENDERER |
        egmSample::DISPLAY_TEXTURE ,
		4.0,
		LoadingStateID,
		"Menu.dds"));

Open in new window

0
Comment
Question by:tango2009
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 21

Accepted Solution

by:
developmentguru earned 2000 total points
ID: 34948939
Since Gamebryo appears to be a commercial product, and I am not sure I want to spend my test drive answering this question, I have to ask if you have looked through the tutorials here first:

http://www.gamebryo101.com/

I have no idea of the cost of using gamebryo.  If you can let me know that it is low cost for experimentation, perhaps I can dig into it more.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Make the most of your online learning experience.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question