Thank you, much appreciated.
hayasidist wrote: ↑Fri Jun 10, 2022 9:19 am
I'm optimistic that the new owners of Moho (headed up by its original creator) have a better approach than the previous owners to providing software that the user-base actually needs!
Different users have different needs and expectations of the software.
Professional animators are using Moho solely for 2d character animation as its the best software for that. They have a suit of other software they can leverage for all other apsects of animation and production where those software excel.
One person teams creating animations for social media, etc. don't always have that luxury or skill set, and are relying on Moho as a one stop animation solution all for their needs. They do not need the very best software in any one specific area, but they need something that is competent in a wide range of applications and has a simple, fast workflow they can leverage to produce animations quickly on their own.
I think at one stage Moho managed both, but over the years, with heavy competition on its heels, it has focused just on what it excels at - character animation. This worries me, I am not hopeful that things like the text engine, the particle system, sound and video handling, basic 3d etc. which are bread an butter needs for social media projects, will ever be updated. I had hoped that maybe through the API it might be possible to extend Moho where needed, but I see now that the API is more limited than I had imagined.
I think the new owners need to share with us their road map of their plans for Moho so then we all know where we stand.
yeah - I was halfway through replying when I had the idea about NewShapeProperties() which, had it worked, would've changed the answers... and I think you've now got all the answers, albeit scattered across posts. but:
1. Can we safely create a new style from Lua? - NO
2. Can we safely modify an existing style and save it as a new style from Lua? - NO
3. Can we safely modify an existing style in Lua and the modifications appear in the style pallette? Yes - but not all properties
4. Can we safely choose an existing style and use it in Lua for shapes created in Lua? Yes
I wasn't sure about 3), so I tried it and it works
Code: Select all
-- to change style in pallete from lua
local mystyle = moho.document:Style("my style")
local mycol = LM.rgb_color:new_local()
mycol.r = 0; mycol.g = 255; mycol.b = 0; mycol.a = 255
mystyle.fFillCol:SetValue(0, mycol)
Are there other known parts of the API that are known to be broken? A list would be very useful. Not so much broken, more "just not there". The ones I know about are: You can't set effect types - Gradient (all variants), Image, Crayon and the legacy effects; there is no ready access to the specific data relevant to each effect type; and you can't change (e.g.) the number of stops in a gradient.
Missing is not as bad as broken, at least we wont be banging our heads wondering why our code doen't work
What about the rest of the API, any know boken parts not related to styles?