Skip to content

proyecto26/Phaser-Workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Phaser CE Workshop using ES6

A workshop to create awesome games with Phaser Framework ๐ŸŽฎ

Demo: https://proyecto26.com/phaser-real-time

Phaser Real-time games!

Paht Finding and Isometric worls

git clone -b isometric https://github.com/proyecto26/Phaser-Workshop.git

Demo: https://mmermerkaya.github.io/phaser-isometric-demo/

Basic client server interaction

git clone -b client-server https://github.com/proyecto26/Phaser-Workshop.git

Demo: https://proyecto26.github.io/phaser-real-time/

Basic server update loop and client interaction

git clone -b server-client https://github.com/proyecto26/Phaser-Workshop.git

Server client prediction

SOON

Preparation

Real-time games

  • Client prediction: Inputs will be collected and sent to the server, and states (positions, frames, etc) can be updated while waiting for the messages to come back from the server.

  • Lag Compensation: The clients simulate (Interpolation) while the server rewinds the simulation and then sends out the confirmation message to the clients.

Intructions to run the projects

  • Client side:
cd client
npm start
  • Server side:
cd server
npm start

Resources

Credits

Supporting ๐Ÿป

I believe in Unicorns ๐Ÿฆ„ Support me, if you do too.

Donate Ethereum, ADA, BNB, SHIBA, USDT, DOGE:

Wallet address

Wallet address: 0x3F9fA8021B43ACe578C2352861Cf335449F33427

Please let us know your contributions! ๐Ÿ™

Happy coding ๐Ÿ’ฏ

Made with โค๏ธ