Search found 8160 matches

by synthsin75
Sun May 05, 2024 11:01 pm
Forum: Scripting
Topic: moho:UpdateUI()
Replies: 2
Views: 27

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.
by synthsin75
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: 170

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.
by synthsin75
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: 170

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.
by synthsin75
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: 170

Re: How to put images on a vector box and image follows it?

Image

Yep, it's the file size. I took it over to EZgif, cropped it and reduced it to 75%. Reduced 1.78 MB down to 977 KB. Now imgBB is happy with it.

Nice results, BTW.
by synthsin75
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: 170

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.
by synthsin75
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: 170

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.
by synthsin75
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: 170

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 ...
by synthsin75
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: 209

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...
by synthsin75
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: 209

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.
by synthsin75
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.
by synthsin75
Sun Apr 28, 2024 5:20 am
Forum: Scripting
Topic: Update UI
Replies: 8
Views: 182

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.
by synthsin75
Sun Apr 28, 2024 5:17 am
Forum: Scripting
Topic: LM.GUI.ScrollBar
Replies: 1
Views: 60

Re: LM.GUI.ScrollBar

That part of the API doesn't seem to work.
by synthsin75
Sat Apr 27, 2024 9:05 pm
Forum: Scripting
Topic: Update UI
Replies: 8
Views: 182

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...
by synthsin75
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.
by synthsin75
Sat Apr 27, 2024 6:43 pm
Forum: Scripting
Topic: Timer
Replies: 1
Views: 70

Re: Timer

No, for that you'd need the script to launch an external script, like AutoHotkey (Windows).