Game Menu Problems

Hello,
I am TRYING to make a game menu. So far, I have four items:intro(movie), new game, load game, exit. I have a mouse cursor. When I click on the intro, the movie plays fine, but the movie also plays when I click the other items OR the other scenes(specifically, the new game screen) comes up when I click the intro menu item. :expressionless:

you’re going to have to show us what you did, or the .blend because you description of your problem isn’t very helpful

Hello

As usual, there’s different ways to solve your problem
Here’s one: give a property (bol/int?) with a value, to your items
and set your logic bricks in order that they will only
perform the desired action if that property it’s true/match

Is this clear??
Bye

Let me see if I can be more clear. Sorry.
I have four items, but I’ll give examples of two.

  1. Add property Integer Click 0
  2. Intro: property click 0 connected to and controller connected to property actuator click 1 and to set overlay scene (for the movie)
  3. Mouse left click sensor connected to same and controller.
  4. New Game.: I’ve done the same thing except changed the scene actuator to the scene that starts the game.

.blend file?

Ok, here are a few things:

an in-blender mouse cursor doesn’t line up with the system one. Show the system cursor by linking to a python script that contains:

import Rasterizer
Rasterizer.showMouse(1)

this is good practice in general (to set the cursor visibilty to what you want) because standalone runtimes seem to have the cursor visible by default, as does the plugin

also, for you intro (and all things that would leave the menu) instead of adding an overlay scene or anything, switch to that scene and then have that scene switch back. This means your framerate doesn’t go down by having to draw multiple scenes, but you may have to do some interesting things if you want the intro to sometimes go to the menu, sometimes go into the game.

so, now all you need is a couple mouse sensors (this may have been your originial problem)

mouse over, and mouse left button, connected to an and controller with all pulse modes on, connected to whatever you want the items to do.

if you want to be really spiffy you can do some color-changing things with the mouse over sensor, so that the sensor “lights up” or something when the cursor is put on it.

(I am saying probably most of this from memory, so if my statments have problems don’t hesitate to point them out, or ask)