Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
/ mre-gallerygame Public archive

Shooting gallery style game built on the MRE SDK

License

Notifications You must be signed in to change notification settings

AltspaceVR/mre-gallerygame

Repository files navigation

mre-gallerygame

Balloon darts gallery style game built on the MRE SDK to be played within the Altspace social platform.

Prerequisites

  • Install Git
  • Install Node.js 8.12 or newer, which includes NPM 6.4.1 or newer, from nodejs.org

Getting Started

The easiest way to start with the MRE SDK is to head over to the mre-gallerygame repo, and build a sample.

To see the APIs, jump to SDK documentation

How to Build & Run mre-gallerygame

From command prompt:

  • git clone https://github.com/AltspaceVR/mre-gallerygame
  • cd mre-gallerygame
  • npm install This will install all dependent packages.
  • npm run build This should not report any errors.
  • npm start

In AltspaceVR

  • Go to your personal home
  • Make sure you are signed in properly, not a guest
  • Activate the Space Editor
  • Click Basics group
  • Click on SDKApp
  • For the URL field, enter ws://localhost:3901
  • Enter a session ID (This step will eventually be optional. For now, put in any random value)
  • Click Confirm
  • If the app doesn't seem to load, click on the gear icon next the MRE object in to the present objects list, and make sure "Is Playing" is checked.
  • After the app has been placed, you will see the MRE Anchor (the white box with red/green/blue spikes on it), rendering on top of the MRE. You can use the anchor to move the MRE around. To hide the anchor, uncheck "Edit Mode".

Hosting in the Cloud

In order for other AltspaceVR users to see your SDK app running, it must be hosted in a way they can connect to it. To learn about cloud hosting and other solutions, checkout DEPLOYING.md in the SDK repo.

To learn more about the SDK, please read the MRE SDK readme.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Authors

Andrew Hinojosa

Acknowledgments

  • AltSpaceVR for the opportunity to work on this project.
  • Tyrell Gordon and Lingyi Qu for support and help.

About

Shooting gallery style game built on the MRE SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages