grajwan1906's Recent Forum Activity

  • I success to move but my rival (peer) can't move his player.. the host can move the player but the peer can't.

    His player stuck.

    What to do?

  • >

    >

    > The name of the game his "charles" and I want to move the player like in this game.

    >

    Then what you need to do is do a condition:

    Every Tick > Set Player Position X: Touch.X - Y: Touch.Y

    But if i do this the player jump tu the position and I want the player move to this positing

  • >

    > > I am unsure if what you want is the sprite to follow a path drawn by your finger, just following your finger or mimic a behavior where the sprite is "pinned" to the touch so it moves with your finger.

    > >

    > > To have it where you touch a place and the sprite moves towards it. Add the Pathfinding behavior to the sprite then use an action

    > > "On Touch" > "Find Path X: Touch.X - Y: Touch.Y"

    > > "On Path Found" > "Move Along the Path"

    > >

    > > To have it where the sprite moves all the time with your touch:

    > > "On Touch" > "Set Position X: Touch.X - Y: Touch.Y"

    > >

    > > Hope that helps.

    > >

    > I need something like in this game:

    > play.google.com/store/apps/deta ... rles&hl=en

    > If I do what you say it works?

    >

    I couldn't check the game as your link is edited out (a security measure in the forums). Can you at least mention the game's name so I can check it out?

    The name of the game his "charles" and I want to move the player like in this game.

  • It looks like you're using pathfinding behaviour?

    I think you have the time to locate the path set too short... every 0.1 seconds it is re-evaluating the path which will cause it not to move at all in most cases. You need to only look for a path every 1-2 seconds at least. Try that and see if it helps.

    ~Sol

    I change this but if I change this the player only if I tap and I want the player move when I touch (tap and hold), and this not fix the problem... I can move my player but the enemy can't his player stuck.

  • I make multiplayer game, im a player and every 1 second the game create a ball and the ball move to the player.

    The game work good but the peer can't move his player...

    How do i fix this?

    It is my event sheet:

  • I am unsure if what you want is the sprite to follow a path drawn by your finger, just following your finger or mimic a behavior where the sprite is "pinned" to the touch so it moves with your finger.

    To have it where you touch a place and the sprite moves towards it. Add the Pathfinding behavior to the sprite then use an action

    "On Touch" > "Find Path X: Touch.X - Y: Touch.Y"

    "On Path Found" > "Move Along the Path"

    To have it where the sprite moves all the time with your touch:

    "On Touch" > "Set Position X: Touch.X - Y: Touch.Y"

    Hope that helps.

    I need something like in this game:

    play.google.com/store/apps/deta ... rles&hl=en

    If I do what you say it works?

  • I will make a game and I need to move the player(sprite) to my touch positing(If I move my finger right the player move right)

    How do I move the player the same path my finger do?

  • Under Peer Group...You have the client input set to' Mouse 'rather than 'Touch'

    Also in the next group "common" you have done the same thing.... Using ' Mouse 'rather than 'Touch'

    does that help?

    The game work on the computer(I opened 2 browsers in the same time and the game work good) but I make the game in the android(.apk with phonegap) and the devices don't connect

    What to do??

  • Under Peer Group...You have the client input set to' Mouse 'rather than 'Touch'

    Also in the next group "common" you have done the same thing.... Using ' Mouse 'rather than 'Touch'

    does that help?

    Thank you the pong work great

  • A Few things I noticed...not sure if they matter..

    In your 'Signalling' Group...Your's differs from the Tutorial...As seen here

    https://www.scirra.com/images/articles/mppong-ev8b.png

    Your events differ considerably from the Tutorial Events ..it may cause problems

    Specifically when Setting 'Block.peerid ' yours is set up differently from the tutorial...You may want to check any errors The tutorial says to associate it with MyID not PeerID...

    You have both the host and the Peer set to the 'same ID' from what I can tell it should be two different ID's

    Also..that tutorial is for Mouse Controller..I am not sure if it works the same for Touch....I guess it should but there might be differences in the setup

    That's all I can see at the moment..

    I fixed but I can't move the paddle(block1)

  • Is your Rival Paddle a CLONE of the Player paddle...? if so ..it may be using the same event handlers in your events sheet..

    It sounds like you have same controls and /or touch recognition for each paddle...

    It is my events:

    but now i can't move the paddle (block1) and I use the pong-multiplayer tutorial

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I make a pong multiplayer game but after the game start when I touch the screen I moved my paddle and my rival paddle.

    how do I move only my paddle?

grajwan1906's avatar

grajwan1906

Member since 31 Jul, 2016

None one is following grajwan1906 yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies