CanvasButton

Plugins CanvasButton

Hello everyone.

This may be a version that disappoints everyone, because this is not a major version update, but a FOV following function that I added two months ago, and this function is not perfect.

Since I came back last month I've encountered two very tricky things that prevent me from taking the time to maintain and develop this plugin at the moment.

After this tricky thing is dealt with, I will start developing a new version of canvasbutton again.




Intro:

This is a simple UI plugin can generate a 2D interface button in the screen.


Usage:

1. Add plugin(CanvasButton.cslist) in Empty Atom

1705850033820.png



2. Set ButtonAction name and click Generate Button

1705850127002.png



3. Then there will open trigger panel, and set custom event in

1705850219489.png



Congratulation! You generate a simple button in you screen ?


Version 3.2:
Add FOV following function (not perfect)
1.gif



Version 3.1:
Support button living 3D-word and switched freely
1.gif



Version 3.0:
Above in this version, the plugin offer more funtion like:
1. Add VR support
2. Add ToggleButton support
1.gif


3. Add DelayButton support
1.gif


4. Add Slider support
1.gif


5. Add buttons sorted function
1.gif


6. Add copy button function (Look at section 3 above)


Version 2.1:
1. Cancel open panel when creating button.

1705850528221.gif




2. Button sort direction horizontally default and reflash.

1705850689771.gif




3. Position and Geometry

1705850821188.gif



4. Rename and Delete

1705850934743.gif



5. Colored

1705851090819.gif



6. Spacing in buttons

1705851175987.gif



7. Event atom name trace

1705851454446.gif



8. Toggle Buttons(can be trigger by other) and Remove all buttons

1705851697371.gif




Have enjoy ?.



Recommand:
  • It can trigger other event or script. For example, triggering a timeline or state machine to respond or play.​
  • It can triggered by other event​
  • It can show/hide by other plugins(such as SimpleKeybind by JaxZoa)​


1705575170716.png


1705576101407.png


And in last:
Because i have never written c# code before, thank you @MacGruber @Feel @geesp0t for your free sharing and contribution that allows me to reference and study.

credit: @MacGruber

English in not my native language, Forgive my bad english?
  • 1705574438550.png
    1705574438550.png
    33.4 KB · Views: 0
  • 1705574605003.png
    1705574605003.png
    27.8 KB · Views: 0
  • 1.gif
    1.gif
    729.9 KB · Views: 0
Author
chenrong
Downloads
170,168
Views
170,168
Favorites
2
Packages
1
Total Size
0.02 MB
Version
3.2
First release
Last update
Rating
5.00 star(s) 10 ratings

More resources from chenrong

  • VariableTrace
    Plugins VariableTrace
    This is a simple plugin can get other plugin float parameter and trigger to other event

Latest updates

  1. CanvasButton v3.2

    Add FOV following function
  2. CanvasButton v3.1

    Add feature: Allow button living on 3D-world Add feature: Open event when create slider Fixed...
  3. CanvasButton v3.0

    1. Add VR support 2. Add ToggleButton support 3. Add DelayButton support 4. Add Slider support...

Latest reviews

Nice plugin! Thanks for sharing :)
The cover girl is beautiful, can we have a chance to get her?
Upvote 0
Thanks ChenRong, this is probably one of the most useful plugins for VAM.

I was creating UI buttons at scale = 0.05 and placing them in front of the camera. XO ... this is a way better solution!
Upvote 0
I'm still just getting started, but already I can tell this is amazing. I've taken one scene that was flooded with in-world UIButtons and replaced it with a handful of these CanvasButton menus, which easily toggle contextually.

I haven't yet tried it out in VR, so I'm not sure how that works, but I see that it's supposed to be supported. How well that works for me may be a deciding factor whether I keep using this, but so far it's very promising.

As I mentioned in the Discussion area, my only main feedback so far is that I'd love support for UIButtonImage, to allow for condensed small buttons with just an icon, rather than solely relying on full text descriptions.
C
chenrong
Hi

I'm not deep VR player so I just test in VR(quest2) and it's work

Yes, I also think image button is very great experience in scene. But I have some things that need to be dealt with recently, and the new version may take a while to be developed
Upvote 0
As funny as it sounds to get worked up over UI, this is super exciting! Been hoping someone would make a simple to use plugin like this one to create a 2D UI Menu. Great work so far!
C
chenrong
Resize the align UI is very very boring and uninteresting thing by my think. Glad everyone can used this plugin together?
Upvote 0
This is an amazing plugin, except you can't set the color of the buttons individually! I hope you make this feature work in this plugin, thank you!
C
chenrong
Hi yno. Yes it's can't set color individually in this version. Next version I'll rebulid pluginUI and enhance function in every button like set position/geometry/colors
Upvote 0
A simple and user-friendly yet highly flexible UI plugin with great potential. Hope to see it continuously improved.
C
chenrong
Thank you for your affirmation!

This plugin is used in my scene very frequency when I need to debug or trigger something.
I will update when I have a new idea or apparent bug. If you have some wonderful idea, It's happy to disccussion
Upvote 0
Finally someone is working on a 2D user interface plugin again! This is the biggest thing VAM is missing in my opinion. A canvas interface like this is the biggest problem when trying to create an actual adult game with an enjoyable user experience in VAM.

I'd love to integrate such a plugin into SuperVAMDeepthroat and future scenes of mine. Here's what this plugin needs for it: Sliders & Toggle support, saving groups of buttons / layouts with their trigger functions as a config file, being able to load these files with a scene trigger to update the button layout through user input, a VR mode where the button layout is rendered on a canvas the user can grab and drag around.

I know thats a lot of work but these would make any scene creator want to use this in my opinion. Excited to see where this goes!
C
chenrong
Thank you for reply and this suggestion!

Slider and ToggleButton is useful function and I decide used in my future scene exactly ?.
It's in my todo list.
believe CanvasButton will more convenience to control in the near future.
Upvote 1
This is very good! No more messing with VAM UI to waste time to manually set up and align buttons. With the plugin it's very easy and fast to do. Hopefully we'll get maybe UI sliders or toggles in the future, but this already must have if you do any buttons for your scene, imo.
C
chenrong
Thanks!

Slider is important function to change event convenience. I will put it on my todo list.
Next minor version will fixed bug like button color not save on the disk. I'm too careless?
Upvote 0
D
very nice!
C
chenrong
Thanks ?
Upvote 0
This is great! Very simple. I hate when the buttons get blocked by something and maybe I can see them but can't click them (which actually happens a lot). I tried it in VR but didn't see the buttons. Maybe it doesn't make sense to have 2D buttons in VR?? If not, what if you revert to traditional 3D positional buttons while in VR? Either way, great desktop addition. Thanks.
C
chenrong
Yes, I'm tired in find button every time so I research and write this plugin. In this version not support in VR, I have no idea in 3D translate, maybe I find some method later I will update this plugin.
Upvote 0
Back
Top Bottom