Adding cursor support to the mini menu extension!

Oh! I see your problem. The thing is, the mini menu extension already has a feature where it will scroll if the text is larger than the menu, but it doesn’t have code to detect if the text goes off the screen. What you need to do is use that “set (myMenu) width () height ()” block to restrict the menu size to inside the screen, then the text will not fit inside the menu, and it will auto-scroll when you hover over the item!

2 Likes

Ok. Thank you!

1 Like

Help. why is it doing this?
Weird bug

2 Likes

I believe the issue is that it has more than one column

1 Like

I see someone finally noticed that when I made this extension I totally forgot that Mimi menu supports horizontal menus! I’ll see what I can cook up when I have time. For now, uhhh, hang tight I guess.

1 Like

would be cool if you added a boolean <(variable name)menu closed>

Hey, @WoofWoof, just wondering if you’re still figuring out the one column issue, I’d love to use this extension but can’t because of this. No rush of course, if needed I can just flatten everything down to one column

1 Like

I believe I took another stab at it after that message, but didn’t get very far. I suppose I’ll try again…

I did more than just try, I succeeded! New version should work properly. If you find edge cases I’ve not accounted for, please send me a project link and an explanation of what’s wrong so I can easily fix it!

Updated demo (whooo!):

(yes, I know the old link updated)

4 Likes

Forgot to say this, but thank you for the extension update. It really helped with many of my projects.
But I do have another question: Is there a way to make moving the mouse simulate ‘on selection changed’ because the basic ‘Set menu position to mouse location’ doesn’t act as a selection changed. It’s a small thing but just a little inconvenient for one of my games.
You obviously don’t have to, it’s just a minor thing honestly.

1 Like

Oh, yeah, without actually looking at any code, I can tell you that this will probably be fairly easy. I’ll let you know when it has been updated!

1 Like

It is done! You’ll have to go into JavaScript to update the extension, so remember to make a copy of your project before that just in case!

2 Likes

How have i not seen this?? This is seems really useful for mouse-based games, so you dont have to switch from mouse to the dpad controls, wich feels off. Thanks!

1 Like

also since you forked richard mini menu this shouldn’t be too hard to add I think could you use selectedImage as a parameter in these blocks

2 Likes

I didn’t fork the mini menu extension! When you install mine, Richard’s is automatically downloaded with it. Then I use some hacky workarounds to make the extension work.