Giter Club home page Giter Club logo

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

Simple realtime platform game build with Phaser.io

Simple realtime Pokemon game build with Phaser 3, Colyseus.io & Webpack 4.

PokeMMO

Features & ToDo

  • Multiple players can join the game
  • Maps are can be created/edited with Tiled Map Editor
  • Multiple levels/maps
  • Pokémons added
  • Can going inside building (In progress)

How to install

// Clone this repository
$ git clone https://github.com/aaron5670/PokeMMO-Online-Realtime-Multiplayer-Game.git

// Go to the client folder and install all modules
$ cd client && npm install

// Go to the server folder and install all modules
$ cd ../server && npm install

// Start the server
$ node server.js

// Open a new terminal and navigate to the client folder and start the webpack server
$ cd client && npm start

After successfully install go to http://localhost:8080

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

Contributors

aaron5670 avatar dependabot[bot] avatar zamrokk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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

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.

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...

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.