Sync

Posted by KadePcGames
will this work?
//left click event

 i = instance_create(mouse_x,mouse_y,obj_userblock)
gms_instance_sync(i, is_extended, "userblock" );

If not can i get an example for it?

Replies (5)

Last message on 14 Jul 2017

Size43 (Administrator) on 27 May 2017, 15:54:30
Probably, yes. Have you tried it?
KadePcGames (Topicstarter) on 3 Jun 2017, 00:19:58
yes amd it dinted work ;(
Size43 (Administrator) on 6 Jun 2017, 15:47:34
I need some more info than that to be able to help. What is it doing, and what did you expect to happen?
Ytsim on 6 Jul 2017, 23:26:19
From the look of it, he's trying to make a building game, but doesn't know how to sync the blocks properly. I'm having the same issue, but using a grid based world instead :/
Size43 (Administrator) on 14 Jul 2017, 16:29:32
Well I'd need some more info about the "it didn't work" part. For all I know "it didn't work" may mean that the game didn't compile and run at all, there was some kind of error while running the game, or maybe his computer exploded.