Jibble

Author Topic: MODULE: Pull Down Menus v1.3  (Read 4243 times)

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    • Kweepa worked on one or more games that won an AGS Award!
    •  
    • Kweepa worked on one or more games that was nominated for an AGS Award!
MODULE: Pull Down Menus v1.3
« on: 19 Jun 2006, 21:40 »
Pull Down Menus

Example:


Features:
* mac-style menus (drag and release)
* add menus
* add items to menus
* get callbacks from items
* enable and disable items
* toggle items
* show, hide, move and scale the menu bar
* optional icons and right-side text (eg shortcuts) for items
* selection flash
* optional borders and background images

Module for AGS 2.72:
http://www.kweepa.com/step/ags/tech/PullDownMenusModule.zip
Module for AGS 2.71:
http://www.kweepa.com/step/ags/tech/PullDownMenusModule271.zip

Demo game:
http://www.kweepa.com/step/ags/tech/PullDownMenusTest.zip
« Last Edit: 03 Oct 2007, 03:51 by SteveMcCrea »
Still waiting for Purity of the Surf II

Akumayo

  • Is Watching You
    • I can help with AGS tutoring
    • I can help with play testing
    • I can help with scripting
    • I can help with story design
    • I can help with voice acting
    • Akumayo worked on one or more games that won an AGS Award!
    •  
    • Akumayo worked on one or more games that was nominated for an AGS Award!
Re: MODULE: Pull Down Menus v1.3
« Reply #1 on: 20 Jun 2006, 03:59 »
Amazing stuff Steve.  Really good.  This could really cut down on some of the buttons on my GUI's.
"Power is not a means - it is an end."

Re: MODULE: Pull Down Menus v1.3
« Reply #2 on: 20 Jun 2006, 11:18 »
Sounds great, I'll add it to my site.

NsMn

  • HAIL CHAIRMAN MAIO, HAIL TO NINTENDISM!
    • I can help with AGS tutoring
    • I can help with backgrounds
    • I can help with play testing
    • I can help with proof reading
    • I can help with scripting
    • I can help with story design
    • I can help with translating
    • I can help with voice acting
Re: MODULE: Pull Down Menus v1.3
« Reply #3 on: 31 Oct 2009, 13:55 »
I know I'm bringing up a very old thread, but is there actually any readme for this module?

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    • Kweepa worked on one or more games that won an AGS Award!
    •  
    • Kweepa worked on one or more games that was nominated for an AGS Award!
Re: MODULE: Pull Down Menus v1.3
« Reply #4 on: 31 Oct 2009, 19:50 »
Unfortunately not.
There is a demo game though, with source.
As I recall it's pretty self-explanatory.

Let me know if there's something you can't do. (Or if it doesn't work with 3.0 for some reason.)
Still waiting for Purity of the Surf II

Joseph DiPerla

  • Joseph DiPerla, Adventure Game Creator Wannabe!
    • I can help with backgrounds
    • I can help with characters
    • I can help with play testing
    • I can help with story design
    • I can help with translating
    • I can help with voice acting
    • I can help with web design
Re: MODULE: Pull Down Menus v1.3
« Reply #5 on: 02 Nov 2009, 00:52 »
I havent tried it yet, but the last edit was in 2007. Would this Module still work with the current versions of AGS?
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    • Kweepa worked on one or more games that won an AGS Award!
    •  
    • Kweepa worked on one or more games that was nominated for an AGS Award!
Re: MODULE: Pull Down Menus v1.3
« Reply #6 on: 03 Nov 2009, 02:19 »
Tested and working with 3.2. You need to uncheck "Enforce Object-Based Scripting" in General settings.
Still waiting for Purity of the Surf II

Re: MODULE: Pull Down Menus v1.3
« Reply #7 on: 18 Sep 2012, 15:22 »
Alright. My prior post on this topic disappeared when the forums server crashed the other day.

I'm having trouble with the pull down menus code. I followed the example as best I could and defined my whole menu layout in the repeat_always function just like the demo. Then I wrote the character1_a function just like in the demo, but whenever I click on a menu item, it flashes like it's taking my click and then nothing happens. :(

Anyone have any clue what I might have done wrong? Please help.

Re: MODULE: Pull Down Menus v1.3
« Reply #8 on: 19 Sep 2012, 16:23 »
Well, it's nice to know that I can still solve my own coding problems. On occasion. ;)

I had all the right code in all the right places, but I forgot to import cMenuCallback and then reference the interaction function char1_a through him. Heh. Silly me.

Hopefully this helps someone else in the future. :)