Jump to content
Search Community

Card game

Onizuki test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Sorry, I really don't know what to suggest. There are many variables to consider when building a multi-player game. We really have to focus our efforts on supporting the GreenSock tools in here.

 

However, you should study what Blake did with this demo:

 

http://codepen.io/osublake/pen/gPeeJN

 

Open that same link in 2 separate browser windows. Add magnets and drag them around. Your actions will be mirrored in the other window in realtime. 

  • Like 2
Link to comment
Share on other sites

Nice card demo, Carl!

 

I used Firebase for that magnet demo. It's definitely one of the easiest ways to create a mulitplayer game without using a server. It's really just a database, but changes are synced across all connected clients in real-time, so you can use it to make multiplayer games.

 

Check out some of stuff you can do with Firebase. There's a multiplayer version of tetris you can learn from.

https://www.firebase.com/docs/web/examples.html

  • Like 3
Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...