Code Monkey home page Code Monkey logo

aaron5670 / pokemmo-online-realtime-multiplayer-game Goto Github PK

View Code? Open in Web Editor NEW
249.0 12.0 67.0 9.18 MB

🕹️ A simple realtime Pokémon MMO game build with Phaser 3, Colyseus.io & Webpack 4

License: Do What The F*ck You Want To Public License

HTML 0.26% JavaScript 73.54% PLSQL 26.21%
phaserjs phaser3 colyseus pokemon pokemon-game multiplayer multiplayer-game-server multiplayer-browser-game multiplayer-web-game game-development game-2d nodejs webpack realtime-pokemon-game phaser game

pokemmo-online-realtime-multiplayer-game's Issues

Nice Example

Hi,
a nice Example.
But, why not use Gamelogic Server-Side?
For Hacking, Cheating etc.

I have an idea

turn each map into its own room in that room object have all the players in that map in a array in that array should be player objects when someone joins that map have it add it to array then send each players x / y cords to each player that should solve your new map issue I can do this in python but dunno how it'll work in js dunno how objects work

Why not take it online...

As i could see, this game can be hosted on a server so that people can play it without going through that long installing process.
So would you please mind to host it on a server like heroku or something else similar... This will also be helpful for you because there can be many testers who would love trying this game out and can help you find bugs and even fix them...

Online Player Disappears When Switching Maps

In the current implementation of the game, when a player navigates to a different map and then returns to the main map, the online player disappears from the first map. This issue seems to be related to how the game handles map changes and updates the onlinePlayers object.

Steps to reproduce:

1.Start the game with multiple players.
2. Navigate one player to a different map.
3. Return the same player back to the main map.

After doing so the player who has changer their map and then has returned to the main map won't be able to see the multiplayer player again but the online player can see the first player back on the main map

Expected behavior:

The online player should be visible on the main map after returning from a different map to all players on that map.

Actual behavior:

The online player disappears from the main map after returning from a different map.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.