Skip to content

metaversecloud-com/multiplayer-iframe-game-example

 
 

Repository files navigation

spaaace

Spaaace

An online HTML5 multiplayer space shooter built with Lance game server

Play now!

MetaverseCloud SDK

This integrates the MetaverseCloud SDK, which makes it possible to use it within topia.io worlds.

Key features:

  • Room created based on assetId in query param. So can have multiple games in single world and they are each their own game
  • Only visitors in a private zone where the asset has an embedded link to this game will be able to join.
  • If a visitor is in the world, but not in the private zone - they can spectate. This also means can set privateZone to 10 to limit game participants to 10... but others can spectate.
  • If someone goes to the game URL that is not embedded as an iFrame within the world, it won't let them spectate or join.
  • Your 'ship' gets your in-world username.

To Run on Heroku

Make sure you have added the environmental variables to Config Vars in Heroku

About

An online HTML5 multiplayer space shooter built with Lance

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.0%
  • Shell 1.0%