1. is there any way to change the width of the chat?
2. when I place blocks on my game, the players wont see it if they join but if they are in it they see the blocks.
If you want a clearer question please respond to me.
Replies (16)
Last message on 22 Apr 2018
Size43
(Administrator)
on
28 Mar 2018, 19:20:12
Hi Size43,
I have the same problem but not with blocks , with objOtherPlayer, players who joined first can actually see players who join after them.
But when I join the game , I can't see players that are already in the game.
Size43
(Administrator)
on
30 Mar 2018, 16:09:12
Are you maybe destroying all objOtherPlayer objects? Or maybe the objOtherPlayer object is not marked as persistent?
Try adding a show_message to the create event of objOtherPlayer to see if the objects are created at all.
aswell I have another question can you change the width of the chat but the chat is in a view?
Size43
(Administrator)
on
1 Apr 2018, 13:07:18
But it isnt in the view? I tried it and it stays like a object there
Size43
(Administrator)
on
1 Apr 2018, 17:16:53
Just use view_xview and view_yview to move it to the right position.
Uhh, I tested that and is still stuck, is there anything else?
Size43
(Administrator)
on
2 Apr 2018, 15:33:42
Please post the code you're using.
enable = true
//gms_chat_bind_view(0,view_xview+view_yview+view_xview+view_wview+view_yview+view_hview,cp_top)
gms_chat_bind_pos(view_xview,view_yview,view_xview,view_yview)
//gms_show_set_position(view_xview, view_yview, view_xview+view_wview, view_yview+view_hview)
gms_chat_toggle(enable)
gms_chat_draw()
this is the create event since I use buttons to activate/disable the chat
Size43
(Administrator)
on
16 Apr 2018, 14:40:39
You'll need the gms_chat_bind_pos in the step event. Also note that the 3rd and 4th argument should be view_xview + view_xview and view_yview + view_hview.
what do I need to put in the 1th and 2th argument?
Size43
(Administrator)
on
22 Apr 2018, 14:32:43
The same thing as you have right now.
OH, I frogot that!! Right, Thanks man!
Im not using GML for the Blocks, I use the Game Maker Blocks and I have set Sync to Create & Destroy
Size43
(Administrator)
on
1 Apr 2018, 13:08:58
This is working as designed. If you want minecraft/terraria-like block syncing, check out the example in the download and the
world syncing tutorial