Giter Site home page Giter Site logo

survivalshouter's Introduction

Survival Shouter

Survival Shouter is a modification of the popular Survival Shooter game demo by Unity Technologies (https://www.assetstore.unity3d.com/en/#!/content/40756).

How to play

You will have to download and install Unity 5 (https://unity3d.com/get-unity) and then open this folder as a Unity project. Then open Assets\_CompletedAssets\Scenes\Level 01 5.x.unity and hit the play button at the top of the Unity editor. Only Windows (both 32-bit and 64-bit) is currently supported.

You have to play within the Unity editor because the Unity player for standalone builds has problems with plugins that depend on other plugins. Therefore, prebuilt executables for this game are not provided until we find a workaround.

Survival "Shouter" adds "shouting" (ie, a speech recognition element) to the top-down shooting gameplay of the original. Most of the controls are the same as the original: you move with WASD, use the cursor to aim, and left-click to shoot (this version does not currently support mobile platforms). In addition, you can use the following voice commands to set a bomb:

  • "Bombs away!"
  • "Set bomb"
  • "Blow them up!"
  • "Boom!"
  • (or something else with the word "bomb", "blow", or "boom" in it)

Note: bombs hurt (a lot). We recommend you run away after setting one.

Technology

This game uses the speech recognition library pocketsphinx, which is a part of CMU Sphinx. splistener is our C++ plugin that manages the pocketsphinx backend and allows Unity to access the recognized speech data. The C# scripts that have been added for this version of the game are found in Assets/Scripts/Shouting. For more functional details, see the file specs.pdf.

Note: for this application, it makes sense to use keyword spotting mode (kws) instead of the full default language model (kws would try to recognize only the specified voice commands instead of full english grammar, making it more efficient for our purposes). A file keywords is in the Assets folder that can be used for kws. However, kws has been temporarily disabled because it has been found to cause splistener to crash. Until this issue is fixed, the default build uses the full english language model. If you want to try kws, replace the null in the second argument of spInitListener in the Awake() function of Assets/Scripts/Shouting/BombShout.cs with Application.dataPath + "/keywords" and then run the game.

Acknowledgments

The original Survival Shooter demo is Copyright (c) 2015 Unity Technologies.
PocketSphinx is Copyright (c) 1999-2008 Carnegie Mellon University.

This game also uses assets from Ball Pack, Copyright (c) 2011 YounGen Tech,
and Detonator Explosion Framework, Copyright (c) 2014 Ben Throop.

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.