Jump to content

Search the Community

Showing results for tags 'node js'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hello guys! I'm having a big, big bug and I cannot see if it's just my code or a phaser attribute that I'm missing (I'm sure is my code hehe). This is a tic tac toe game, with a multiplayer mode. So you can send your movement to the other player and he can watch the new piece being added in real time. And also, after there are 6 pieces in the board, both players can drag them to keep playing (turn based of course). My problem is: player 1 starts, and only he can see the piece being dragged over the board (I mean: you move the piece in the mouse and the piece is visibly being moved to the new place, I'm talking about the animation itself) But that doesn't happen with player two, he wont see the image being moved event when the drag actually works (cause the values show me that the piece was moved to the new position and this move is emitted to player one, which can see the piece in the new position). So, my question: which part of the framework allows you to see the piece being moved to another place (dragged with the mouse) and how can you activate or deactivate that with phaser (I guess I have deactivated this somehow when player 2 plays). To explain myself better and my problem, let's see this example: http://phaser.io/examples/v2/input/drag now we assume that when I click and drag that image (the keyboard) I cannot see it being moved, but if I release the mouse button somewhere else, it will appear in the new place. If you need to see my code please ask, though is pretty long and messy (I didn't started this game, and is my first with Phaser) and I'm not sure that you need it to help me with this, but if you do, please let me know. Thanks in advance! Edit1: I created a bitbucket repo with the portion of the game: https://bitbucket.org/diegodigital/tictactoe-multiplayer/src
×
×
  • Create New...