Code Monkey home page Code Monkey logo

purplflow's Introduction

Table of Contents


purplFLOW

PurplFLOW is a VR action shooter game inspired by SUPERHOT made for the js13kGames competition with the A-Frame library for WebVR developed by Mozilla®. The Glitch project of purplFLOW is available here, where you can play and remix the game into your own version.

Mozilla® is a registered trademark of the Mozilla Foundation.


How to play

  1. Open up purplFLOW on your phone, tablet or computer in the latest up-to-date version of either Chrome or Firefox (though VR might not be possible on a tablet!). Alternatively, you can download the latest release of purplFLOW, unzip it and open index.html located inside the game/ folder (don't know if you need to update?)
  2. Get your VR headset and set it up (need help?)

Google Cardboard

  1. Pair a gamepad or controller through Bluetooth with your device for a better experience (optional) (how?)
  2. Enter VR mode by touching the VR headset icon in the bottom right corner of your device's screen
  3. Plug your phone in the VR headset (need help setting it up?)
  4. Put your headset on and have fun!

Controls

Look around using your headset and shoot by tapping on the screen, or on a button, if available (if you pair a controller, you can move around and shoot with it!).

Google Daydream

  1. Enter VR mode by touching the VR headset icon in the bottom right corner of your device's screen
  2. Plug your phone in the VR headset (need help setting it up?)
  3. Put your headset on and have fun!

Controls

Move and shoot using the Daydream controller; look around using your headset.

Samsung Gear VR

  1. Enter VR mode by touching the VR headset icon in the bottom right corner of your device's screen
  2. Plug your phone in the VR headset (need help setting it up?)
  3. Put your headset on and have fun!

Controls

Move and shoot using the Gear VR controller and look around using your headset.

HTC Vive

  1. Connect your HTC Vive to your PC or laptop (need help setting it up?)
  2. Enter VR mode by touching the VR headset icon in the bottom right corner of your device's screen
  3. Put your headset on and have fun!

Controls

If you've set up the position tracking cameras, you can move and crouch freely with your body; otherwise, you can still move using your HTC Vive controllers. You can also shoot with them and you can look around using your headset.

Oculus Rift

  1. Connect your Oculus Rift to your PC or laptop (need help setting it up?)
  2. Enter VR mode by touching the VR headset icon in the bottom right corner of your device's screen
  3. Put your headset on and have fun!

Controls

If you've set up the position tracking cameras, you can move and crouch freely with your body, otherwise, you can still move using your Oculus Rift controllers. You can also shoot with them and you can look around using your headset.

No VR

Don't worry, even if you don't have VR or a compatible headset, you can still play purplFLOW without a VR experience. On a desktop PC or laptop, you can use your keyboard and mouse to move, look around and shoot (with W, A, S, D keys, mouse and left mouse button). On mobile, if your phone or tablet has a gyroscope, you can look around by rotating the phone to have the whole 360° experience; otherwise, you can still move your view with your finger, and shoot by tapping on the screen.

Pair a controller

  1. Go to your device's settings
  2. Enable Bluetooth
  3. Activate the controller's pairing mode (need help? [YouTube tutorial])
  4. Select your controller from the available devices list
  5. Now you have a paired controller!

Don't have a Bluetooth-enabled controller? If it has USB, you can still connect it to your device through USB with a Micro/Mini USB to USB cable and a special USB Port to Micro USB/USB Type C adapter, depending on your controller's and your device's ports. You can use a simple charger cable and find an adapter at a retail store or online.

Back to the Google Cardboard Setup


Contributing

Found a bug? Spotted an error? Have an idea on how to improve the game? Want a feature added to purplFLOW? Feel free to open an issue here. Make sure to fill it with detailed info (i.e. how to reproduce the bug, what color you want the unicorns to be, whatever else you feel is necessary). Feedback and questions are welcome at [email protected].


Releases

The release versions of this game comply with Semantic Versioning. Releases with the -alpha prefix denote versions which are highly experimental and feature incomplete. Releases with the -beta prefix denote feature complete versions which may contain bugs. Development for purplFLOW continues after the submission deadline of the js13kGames competition in the default master branch. To see the original submitted version of this game, visit the js13k branch of this repo, get the first release or go to the game's entry page on the js13kGames website. Commit titles and descriptions are written in past tense to avoid confusion and simplify release changelogs.


Help

If you still have trouble setting up your VR environment, or don't know what to do, visit https://webvr.info. If all else fails, or you have trouble playing purplFLOW, please contact me at [email protected] for support. I'll be happy to help! Consider opening an issue if the problem you have persists on multiple browsers or devices.


Notice

VR is an immersive experience that can be intense at times. Take frequent breaks and interact with the real world to prevent symptoms of prolonged use like dizziness, blurred vision, disorientation, or lightheadedness. Make sure you've read the safety warnings for your VR headset and that your surroundings are clear of potential dangers and obstacles when entering VR. Be aware that objects inside VR don't exist in the real world, so don't try to sit or place objects on them.

If, at any point, you notice a bug in VR which raises health risks (such as flashing images), please stop playing purplFLOW and contact me immediately. If you have a history of seizures or epilepsy, consult your doctor before playing purplFLOW or entering VR. If you experience a seizure or epilepsy inside VR, please stop using your VR headset and see a doctor. VR is not intended for use by children under 13. A comfortable virtual reality experience requires an unimpaired sense of motion and balance. Please stop using your VR headset if you experience any seizures, loss of awareness, eye strain, eye or muscle twitching, involuntary movements, altered, blurred, doubled or abnormal vision, dizziness, disorientation, impaired balance, impaired hand-eye coordination, panic or anxiety attacks, excessive sweating, increased salivation, nausea, lightheadedness, discomfort or pain in the head or eyes, drowsiness, fatigue or other serious symptoms and consult your doctor. If symptoms of virtual reality exposure persist long after use, please see a doctor. The owner of purplFLOW is not responsible for improper or prolonged use of your VR headset, and any consequences that may result from it.

"purplFLOW" means the game purplFLOW, and all of the content available and presented in this repository at https://github.com/primedcore/purplFLOW/.

Any of the trademarks, wordmarks, service marks, collective marks, design rights or similar rights that are mentioned, used or cited in this educational and informative material are the property of their respective owners. purplFLOW is neither endorsed by nor affiliated with any of the sites linked above or their owners, or any of the holders of any aforementioned rights. The sites linked above are referred to for educational and informative purposes only, and no guarantee is provided regarding them or their contents as they are not operated by the owner of purplFLOW, and may be changed or modified at any time by their respective owners without any notice. As such, purplFLOW, and the owner of purplFLOW cannot be held responsible for content or consequences of any kind that the user or visitor of the sites linked above may face regarding visiting or use of the aforementioned sites.

Back to top

purplflow's People

Contributors

primedcore avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.