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 / JSON Importer issues with reserved object names

Author
Message
TrezSoft
AGK Tool Maker
12
Years of Service
User Offline
Joined: 8th Nov 2012
Location: UK
Posted: 15th Jan 2018 11:41
Hi,

Finally getting some time to start working with AppGameKit again and found that we have a new JSON importer built in. Generally all good and working as expected but in some of my object types I have reserved words in use
for example i have a Body type object that has a Type of body, These JSON files are exported so I dont have control over the naming convention in use :

Type Body
Active As Integer
Angle As Float
AngularVelocity As Float
Type As Integer
EndType

I cant use the word Type for obvious reasons but how does the JSON importer handle this ? does it prefix the name with something else

Thanks

Stuart

Login to post a reply

Server time is: 2024-11-24 03:45:09
Your offset time is: 2024-11-24 03:45:09