[plugin] Menu Aid

0 favourites
From the Asset Store
Inventory Aid
$4.90 USD
Create grid-based game inventories and items easily.
  • Menu Aid is designed to help in the hassle-free creation of typical vertical game menus. It can create whole menus from a simple definition and by binding other objects (text, spritefont, sprites) to it via actions.

    In an effort to wrap up some of my stuff relating to Construct 2, I got back to this plugin finally finishing it. There's a few neat additions and fixes, enjoy! However this topic is ages old now and can't be replied to anymore, so you can find the new topic in the regular addon section: https://www.construct.net/en/forum/construct-2/addons-29/plugin-menu-aid-172349

    New version 1.0

    Changelog:

    • Added append string for item properties
    • Added columns for menus
    • Added X offset for menus
    • Changed some descriptions
    • Fixed issues with number type properties
    • Fixed spawning items not triggering On Created

    Download plugin:

    https://pixelrebirth.itch.io/menuaid

  • Pesky flags.

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Encountered second <b> before first was closed with </b>

    Condition: bold_flag == false

    File: Controls\EventString.cpp

    Line: 205

    Function: void __cdecl EventString::FragmentString(void)

    Build: release 238 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort Retry Ignore

    ---------------------------

  • Pesky flags.

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Encountered second <b> before first was closed with </b>

    Condition: bold_flag == false

    File: Controls\EventString.cpp

    Line: 205

    Function: void __cdecl EventString::FragmentString(void)

    Build: release 238 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort Retry Ignore

    ---------------------------

    Oh snap!

    I'm still on the latest stable release and haven't encountered this error. Tried the latest beta just now and it greeted me with a different check failure even without my plugin installed (although a couple of different third party plugins).

    Did something significant change here? I wasn't exactly in touch lately with what's going on around here...

    EDIT: Appears C2 got a bit more anal about stuff lately . Looked three times over it, but couldn't find any error in the markup in edittime.js. For the moment I just removed any <b> tags and it appears to work fine now with the latest beta. Download the plugin again if necessary.

  • Looks like it's working now.

    The "bind" action is interesting.

    I wouldn't have thought you could reference objects that don't exist., but it does simplify things.

    Are there any plans for adding more to it?

    Nice job btw.

  • Looks like it's working now.

    Great!

    The "bind" action is interesting.

    I wouldn't have thought you could reference objects that don't exist., but it does simplify things.

    You can select object types and then spawn instances for it. Pretty handy stuff. I wasn't sure how to do basically any of this until I sat down and looked into it (and at a lot of other plugins).

    Are there any plans for adding more to it?

    There might be a few useful expressions missing. Apart from that I want to add some sort of offset map feature, so the elements of the menu can be spawned displaced if desired.

    Nice job btw.

    Thanks and thank you for the feedback!

  • While in the process of creating a bit of a fancier menu with this plugin, a few necessary additions became evident.

    New version 0.4

    Changelog:

    • fixed expression 'GetDist' not working
    • fixed some wrong descriptions
    • added action 'Set item text'
    • added action 'Set item prop. distance'
    • added action 'Claim last menu as'
    • added expression 'GetText'
  • Very interesting!! Thanks for this!

  • Have been messing around with a new menu example and working on the plugin at the same time.

    New version 0.5

    Changelog:

    • fixed some faulty behavior with the 'Unspawn menu' action
    • added action 'Select item (in menu)'
    • added action 'Bind text object to all existing items'
    • added action 'Bind sprite object to all exisiting items'
    • added expression 'GetNameBy'
    • added expression 'GetNameBySprite'
    • added expression 'GetIndexBy'
    • added expression 'GetIndexBySprite'
  • Hello there, i love your plugin! Thank you! But i get an error when i use the function "GetPropState". I found where the error is. At line 1091 you don't instance the variable with a "var" property name.

    Current:

    tmpIndex = this.itemHandle.indexOf(name);

    Correct:

    var tmpIndex = this.itemHandle.indexOf(name);

  • Hello there, i love your plugin! Thank you! But i get an error when i use the function "GetPropState". I found where the error is. At line 1091 you don't instance the variable with a "var" property name.

    Current:

    tmpIndex = this.itemHandle.indexOf(name);

    Correct:

    var tmpIndex = this.itemHandle.indexOf(name);

    Oh my god, I really do that a lot, hehe.

    Usually I stumble upon it myself at some point, but here I utterly failed.

    Thank you for reporting and checking out the plugin, appreciated!

  • Hey, i don't know how to use mouse or touch to select menu... How do i do it?

  • Hey, i don't know how to use mouse or touch to select menu... How do i do it?

    For that purpose the action 'Select item (in menu)' might be handy.

  • > Hey, i don't know how to use mouse or touch to select menu... How do i do it?

    >

    For that purpose the action 'Select item (in menu)' might be handy.

    But how do i get the index number if the mouse is in the third item, for example... ?

  • I got it! I use this:

    Thank you!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I got it! I use this:

    Thank you!

    Was just about to reply, but you figured it out. Well done!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)