I noticed that one of my behaviors wasn't working when minified, so I'm trying to make it work when minified.
I'm trying to compare the name of an Families:
this.inst["type"].container[c].families[f]["name"] === familyname[/code:10vkg96t]
The objname is a string parameter passed to a function in the runtime.js
The problem is that the ["name"] value gets changed to some random string, so the value I pass in never equals the family name.
Is there some way to get this to work?
My goal is to be able to upload the game to the Arcade, but one of the requirements is that it must be minified.
Develop games in your browser. Powerful, performant & highly capable.
I made a behavior to return the Family name based on an index value you pass to it for the family array..
Kind of lame, but it works.
If anyone knows of a better way, let me know.