Colyseus Extension [Public Beta]

mdotedot

  • Posts: 1640
Colyseus Multiplayer Extension

Extension/Documentation/Examples: http://photoquesting.com/repo/html/Colyseus.php

Should work on Stencyl 4.x, but confirmed on 4.0.3 (Build 10561)

Confirmed publication to:
  • HTML5
  • Windows
  • Android
Should work:
  • Mac OSX
  • iOS
  • Linux

Will not work on Flash !


Examples


RAW Room Types:
RawRace

RawMove

Turn Based Types:
TicTacToe

HighCard

SetActive Player
Lock Room type:
Lock
Client As A Server (CaaS):
Pong

Physics

Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • Posts: 1640
More examples.


Template for online fighter/shooter


RPG :


The RPG works with the lock-based system. It has consumable inventory objects. And objects that are 'private' to your game session. So the key for example can be taken by everyone, the loot from the chest by just one player.


Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

LIBERADO

  • *
  • Posts: 2716
As always, excellent contribution.

Thank you very much, mdotedot.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

mdotedot

  • Posts: 1640
Thank you LIBERADO for the nice words.

Currently working on Endless Runner where you have to click on obstacles to keep going. You see other players transparent to get a feeling of how well you are doing.


And I'm planning more physics/collision based example games.

Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

mdotedot

  • Posts: 1640
Finished the example on Endless runner:


The demo can be played and downloaded from here: http://photoquesting.com/colyseus
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

catinas

  • Posts: 45
this is awesome i want to host server from my computer... if ill get in truble whould you help me

mdotedot

  • Posts: 1640
Hosting server from your computer can be done.
But you have to be able to adjust your router you got from your service provider to redirect ports to your computer.
This depends on the provider and the brand of the router,  so I'm not able to help you much with that.
You should have enough networking experience to make that adjustment.
If you are able and capable of port forward from your router to your computer, then you should start with this:
http://photoquesting.com/colyseus/Colyseus_Server.pdf
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

rodolfovs

  • *
  • Posts: 180
Very interesting! I will install the extension and start testing! Thanks!

Chris24XD

  • Posts: 44
So it's a <<multiplayer extension>> like. Nice!!!

squeeb

  • Posts: 1617
Wow!  About to get back into stencyl... ... again.  Ill have to try this out!