/Airconsole-Unity-Template

A complete template you can use to make AirConsole games with Unity, controller included.

Primary LanguageC#

AirConsole Unity Template

A complete template you can use to make AirConsole games with Unity, controller included.

About

This is designed to be a framework or template you can use, copy, and modify to quickly get up and running with Unity and AirConsole. The AirConsole "screen" is a Unity project with some common needs implemented. The controller is an Ember Octane Typescript app with common controls and communication taken care of

Prerequisites

  • Unity (v? 2019+?)
  • Node.js + npm

Installation

Usage

  • cd packages/controller/
  • Modify the controller and use the live reload server: npm start
  • Build for usage in Unity:
    • npm run build
    • npm run build:prod for release
  • Builds will update the WebGLTemplate files in the unity project via script

Features

  • Show users as they join on screen
  • Controller
    • Title & message display
    • State/screen communication
    • Keyboard
    • Help button & modal
    • Sound/horn button
    • DPad
    • Press anywhere
    • Click and drag / angles
    • List selection

Screenshots

See the Screenshots Directory

Further Reading

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT