During the game, I am able to use functions like removeFromZone and slideToObject in the notifications to move elements around without issues. However, when I try to implement removeFromZone and slideToObject inside the initial js setup, the elements do not move to the other elements. For instance a call in the setup like zone_obj.removeFromZone(<zone_id>, false, <other_id>);
will result in <zone_id> element staying in the zone parent, but overlapping with the other markers. Calling this.slideToObject().play() or trying to directly place element with this.placeOnObjectPos(), do not work in the js setup function either.
So, I am stumped. In the js setup I can create stock, zone, etc. objects add objects to them without problems. I have triple checked the id s of elements are correct and found the elements with I want to move and their location in the chrome debugging element review.
Any ideas about moving items in the js setup as opposed to other states of the game? Thank you for any suggestions.
will result in <zone_id> element staying in the zone parent, but overlapping with the other markers. Calling this.slideToObject().play() or trying to directly place element with this.placeOnObjectPos(), do not work in the js setup function either.
So, I am stumped. In the js setup I can create stock, zone, etc. objects add objects to them without problems. I have triple checked the id s of elements are correct and found the elements with I want to move and their location in the chrome debugging element review.
Any ideas about moving items in the js setup as opposed to other states of the game? Thank you for any suggestions.