Search found 8161 matches
- Sun May 05, 2024 11:34 pm
- Forum: Scripting
- Topic: moho:UpdateUI()
- Replies: 4
- Views: 73
Re: moho:UpdateUI()
You can't call functions with self.moho outside of dolayout, as that only refers to the state of moho when the dialog is launched (there's no longer an actual object to be updated). You need to use the script helper for dialog functions that don't take moho as an argument: https://mohoscripting.com/...
- Sun May 05, 2024 11:01 pm
- Forum: Scripting
- Topic: moho:UpdateUI()
- Replies: 4
- Views: 73
Re: moho:UpdateUI()
If memory serves, I think it's because it sets up an infinite loop with the dialog's update widgets function.
It's been quite a while since I've run into though.
It's been quite a while since I've run into though.
- Sun May 05, 2024 7:55 pm
- Forum: General Moho Discussion
- Topic: How to put images on a vector box and image follows it?
- Replies: 12
- Views: 185
Re: How to put images on a vector box and image follows it?
I just found an image of a box online an skewed/stretched duplicates of it to fit each side. That's why frame zero looks so odd.
The vectors are all connected. Not folded up from being unwrapped.
The vectors are all connected. Not folded up from being unwrapped.
- Sun May 05, 2024 6:58 pm
- Forum: General Moho Discussion
- Topic: How to put images on a vector box and image follows it?
- Replies: 12
- Views: 185
Re: How to put images on a vector box and image follows it?
I cropped it and also reduced the size. Under 1 MB might be the magic number.
- Sun May 05, 2024 6:54 pm
- Forum: General Moho Discussion
- Topic: How to put images on a vector box and image follows it?
- Replies: 12
- Views: 185
- Sun May 05, 2024 6:45 pm
- Forum: General Moho Discussion
- Topic: How to put images on a vector box and image follows it?
- Replies: 12
- Views: 185
Re: How to put images on a vector box and image follows it?
You need to select "BBcode full linked" from the dropdown on imgBB to get the forum code.
EDIT: Ah, you found it. Odd that the gif isn't animated through. Might be too large.
EDIT: Ah, you found it. Odd that the gif isn't animated through. Might be too large.
- Sun May 05, 2024 4:39 pm
- Forum: General Moho Discussion
- Topic: How to put images on a vector box and image follows it?
- Replies: 12
- Views: 185
Re: How to put images on a vector box and image follows it?
Glad to help.
You have to host your image somewhere, like Dropbox, and then copy the share link here, in between [img ][/img ] tags.
I usually use https://imgbb.com/ to host my images nowadays, and the "BBcode full linked" you can just paste here, as it already has the img tags.
You have to host your image somewhere, like Dropbox, and then copy the share link here, in between [img ][/img ] tags.
I usually use https://imgbb.com/ to host my images nowadays, and the "BBcode full linked" you can just paste here, as it already has the img tags.
- Sun May 05, 2024 1:46 pm
- Forum: General Moho Discussion
- Topic: How to put images on a vector box and image follows it?
- Replies: 12
- Views: 185
Re: How to put images on a vector box and image follows it?
https://i.ibb.co/jMZzCnb/3D-box.gif https://drive.google.com/uc?export=download&id=1ASazq2u7AcXQOxgMsbWczvkamJoLR84H Image textures only move with bone influence, so you need to use quad meshes. Here I've used a single quad mesh that I've referenced for each side, so I could animate the points ...
- Sun May 05, 2024 12:55 am
- Forum: How Do I...?
- Topic: Parts of the Head keep shifting when moving the whole body
- Replies: 8
- Views: 214
Re: Parts of the Head keep shifting when moving the whole body
Really don't know without seeing a file. Moho has a high learning curve, because it does stuff differently. But once you learn it, I think most people find it fairly intuitive, since "fun to use" is a common experience. Working through all of the included tutorials really helps get the fun...
- Fri May 03, 2024 12:16 am
- Forum: How Do I...?
- Topic: Parts of the Head keep shifting when moving the whole body
- Replies: 8
- Views: 214
Re: Parts of the Head keep shifting when moving the whole body
Make sure those problem layers haven't been accidentally moved on the z-axis, using the transform layer tool. If so, reset that value.
- Wed May 01, 2024 11:27 pm
- Forum: Share Your Work
- Topic: Yautja meets the Creeper
- Replies: 2
- Views: 120
Re: Yautja meets the Creeper
Interesting mashup. And coincidentally, I'm watching Jeepers Creepers on cable right now.
Re: Update UI
Yeah, I have a note in the code about group layer selections. I believe that problem was introduced in a later version of Moho, after I initially wrote the script.
I'll have to see about incorporating your layer creation hack.
Thanks.
I'll have to see about incorporating your layer creation hack.
Thanks.
- Sun Apr 28, 2024 5:17 am
- Forum: Scripting
- Topic: LM.GUI.ScrollBar
- Replies: 1
- Views: 61
Re: LM.GUI.ScrollBar
That part of the API doesn't seem to work.
Re: Update UI
Here's the script: https://www.lostmarble.com/forum/viewtopic.php?t=34078 At line 596, in the HandleMessage function, I do this: if (msg == self.UPDATE or msg == self.ALT_UPDATE or msg == self.DELETE) then local frame = moho.frame if (frame == 0) then moho:SetCurFrame(1) else moho:SetCurFrame(0) end...
- Sat Apr 27, 2024 6:52 pm
- Forum: Scripting
- Topic: DoLayout event
- Replies: 3
- Views: 95
Re: DoLayout event
IsEnabled is triggered by every layer change, so you can also use that function.