User posts rknopf
03 August 2015 17:58
Okay, great. That's what I ended up doing. Thanks!
When you say 'cached', I assume you mean the browser cache, not something B4W is doing, right? Won't this force B4W to re-parse the .json file every time I instantiate an object ( via m_data.load() ) from the file? Is there a more efficient way I should consider?
When you say 'cached', I assume you mean the browser cache, not something B4W is doing, right? Won't this force B4W to re-parse the .json file every time I instantiate an object ( via m_data.load() ) from the file? Is there a more efficient way I should consider?
02 August 2015 21:11
Just to follow up… am I over complicating this? Should I just load the avatar from a different .blend every time I want to create an instance like the 'Furnishing the Room' example (https://www.blend4web.com/en/article/63/) does ? That feels heavy, but perhaps I'm not understanding something.
02 August 2015 20:37
Hi, all.
I am working on a prototype of a multiplayer game while leaving the creative aspect to an artist. B4W seems to meet that requirement really well, thanks! However…
I can't figure out how to create an instance of an avatar for each player that logs in. I see that I can clone a mesh, but I can't clone the associated armature. Currently, I have a handful of avatars off screen, waiting to be pulled in when someone connects. Clearly that won't work when more people log in than I have placeholders.
How do you go about instantiating an existing object that includes non-mesh components? I'm sorry if this has been posted elsewhere!
Thanks.
I am working on a prototype of a multiplayer game while leaving the creative aspect to an artist. B4W seems to meet that requirement really well, thanks! However…
I can't figure out how to create an instance of an avatar for each player that logs in. I see that I can clone a mesh, but I can't clone the associated armature. Currently, I have a handful of avatars off screen, waiting to be pulled in when someone connects. Clearly that won't work when more people log in than I have placeholders.
How do you go about instantiating an existing object that includes non-mesh components? I'm sorry if this has been posted elsewhere!
Thanks.