Make Sprite Move with Mouse in Multiplayer

Get help using Construct 2

Post » Sun Jul 30, 2017 11:29 pm

I'm currently making a multiplayer game where the player character flies when you drag the mouse. I've gotten this behavior to work with the Host's instance of the player character, but I can't seem to get it to work with the peers' character instances.

What happens to the peer character: When you drag the mouse, the peer's character will shoot up into the upper left-hand corner and won't move after that.

Pictures of my code:
I can't attach the full .capx because it's quite large, but if needed I'll isolate the parts that are shown here and send it.

I'm sure it has something to do with how the inputs for the peers are collected, and how the host moves the peers. I was just following a tutorial (they used 8-directional motion where I tried to use set position) and that might be the problem.

Any solutions will be much much appreciated!
Posts: 4
Reputation: 233

Return to How do I....?

Who is online

Users browsing this forum: anhduc3108, fbarraza28 and 5 guests