Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / How to make 'SaveObject()' work?

Author
Message
Mark Garrett
Reviewed AGK on Steam
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location: California, US
Posted: 14th Nov 2019 19:56 Edited at: 14th Nov 2019 21:30
Tried different ways, anyone know how?



Everything works o.k. except the 'SaveObject()' command
My Jet Plane picks up the Image just fine. Is a special UV image
But then after, I can't save the new Object because error message says only accepts 'obj' and 'dae' extension. But that is what I put. So, why I get the error message??
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 14th Nov 2019 20:15
Documentation says "Not yet functional. "
You could use memblocks to create a .obj file.
In fact i think there is a thread somewhere that does that
Santman
13
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 14th Nov 2019 20:23
Yeah, you can use makememblockfromobject and makefilefrommemblock to save them, which also results in much much faster loading for a bigger file size. Wint work with multiple meshes without some manual work though, and not at all for animation.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 17th Nov 2019 22:52
as previously stated its still yet to be implemented
but I got around that with some help if you creating objects from AppGameKit primitives
such as the cube you may find this thread helps https://forum.thegamecreators.com/thread/223545
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2024-11-22 10:08:19
Your offset time is: 2024-11-22 10:08:19