Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Custom Menu

Author
Message
blueFire
13
Years of Service
User Offline
Joined: 23rd Jan 2011
Location: North Carolina
Posted: 17th Dec 2011 02:50
When a player right clicks on an item I want to create a custom menu at the cursor location allowing the player to make a choice. I also need something that will fire an event (telling me what the choice was) when the player makes their choice.

How would I go about doing this?

Jason
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 17th Dec 2011 08:28
Use a sprite for the menu background and look at the "virtual button" commands.

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 17th Dec 2011 23:04
Personally I don't like the virtual button commands. they are quite restrictive. I would spend a little more time making custom buttons that you can resize, reposition and control.

3d point in space
15
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 19th Dec 2011 18:22
I dont know why you need a menu in a game. I find them too small sometimes using your finger to select something. You need to make things big enough to actually use it, but not too big.

Go through yourself at a wall.
blueFire
13
Years of Service
User Offline
Joined: 23rd Jan 2011
Location: North Carolina
Posted: 20th Dec 2011 01:19
The devices I am targeting will have large enough screens that I can make the menu large enough to use it. I am going to use it to get player input.

Jason

Login to post a reply

Server time is: 2024-11-22 20:37:56
Your offset time is: 2024-11-22 20:37:56