Coder Social home page Coder Social logo

fungus-qte-command's Introduction

Fungus-QTE-Command

Add an QTE command to fungus games

  • Fungus Game is a Unity3D plugin to make the cut-scenes type developing much more easier.
  • QTE(quick time event) is a system that the player needs to press the button within a predefined time in order to trigger certain event.

This is a command plugin which you can use along with fungus to do your own QTE scene.

This command plugin includes the following public variables which you can use to define your own QTE scene:

  • Block when failed: When the QTE failed, it will go to this block
  • Block when success: When the QTE success, it will go to this block
  • QTE Button: You can choose which button should the player press
  • Count Timer: How long should the QTE lasts?
  • Delay Timer: How long should we wait before the event starts?
  • Flow chart: The flowchart for where all the former blocks reside.
  • Button Display: A GameObject which will shrink through time when QTE

When the QTE begins, the command will display the GameObject from the Button Display on the screen, then the player needs to press the button of the QTE Button within the Count Timer. The size of the button will be decreased over time, in the end it will fully disappear from sight. The player should press the button before it disappears.

The code base is from here. I extend it to fungus and add several features which will be needed in the common QTE scenes.

fungus-qte-command's People

Contributors

albert-gao avatar

Stargazers

 avatar  avatar  avatar  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.