Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Simple Clickable buttons
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
EdwardP  
View profile  
 More options Sep 7 2012, 12:10 pm
From: EdwardP <verashac...@gmail.com>
Date: Fri, 7 Sep 2012 09:10:32 -0700 (PDT)
Local: Fri, Sep 7 2012 12:10 pm
Subject: Simple Clickable buttons
I'd like to add some simple buttons to trigger a game state change
("New Game", "Options" - that sort of thing) and I am considering the
best way to implement these? A WidgetManager and a Widget for each
button looks very promising but unfortunately I have gone down an
input management route that is independent of OSWindow events - I've
used OIS to get joystick support (because I thought this might be
going from G3D at some point). This works very well, with objects just
checking current and cached states of the input devices directly as
part of the game loop. However do you think I have, as a result,
really blown it with widgets or would there be a way to still leverage
some functionality from them?

I need to be able to change button selection-highlights with things
other than the mouse (an XBox360 gamepad and/or keyboard,
specifically) but also know if a mouse click has hit a particular
button so that I can deal with a variety of possible input devices
with the one UI.

Any suggestions or advice gratefully received, as always.

E


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Corey Taylor  
View profile  
 More options Sep 14 2012, 8:02 pm
From: Corey Taylor <corey.taylor...@gmail.com>
Date: Fri, 14 Sep 2012 20:02:04 -0400
Local: Fri, Sep 14 2012 8:02 pm
Subject: Re: [G3D] Simple Clickable buttons

I didn't have time to reply before and am not going to go into detail, but
if you really want to use the G3D GUI, you can render it yourself and
perform state changes based on other input events.

Take a look at the list of functions in GuiTheme.

corey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »