• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Legacy GM instance_copy() in HTML5

nerogames

Member
I know GMS1.4 is deprecated and its HTML5 module is probably full of bugs no one will ever adress anymore. Just looking for a solution/work around.

I found out, in HTML5, all the instances created by instance_copy() act as the same instance (triggering event on one triggers the same event on others, their alarms are decremented multiple times per frame etc.)
What I need is independent copies.
I use instance_copy() because I need to duplicate various kinds of objects, and copying different sets of variables would be cumbersome. Any better workaround?
 
Top